Support » Theme: Nisarg » Found something wrong in Template-Tags.Php on Line 135

  • Resolved sunsetc


    Version used: nisarg.1.2.5
    Warning: Printf(): Too Few Arguments In /……./Themes/Nisarg/Inc/Template-Tags.Php On Line 135.

    		printf(' <i class="fa fa-comments-o"></i><span class="screen-reader-text">%1$s </span> ',_x( 'Comments', 'Used before post author name.', 'nisarg' ));
    		comments_popup_link( __('0 Comment','nisarg'), __('1 comment','nisarg'), __('% comments','nisarg'), 'comments-link', '');

    While we changed the code to

    It works now.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Theme Author Falguni Desai


    Thanks @sunsetc for reporting this issue. Instead of
    it should be
    printf("%s",$entry_meta); or print($entry_meta);.
    Since it was warning it always worked for me and i never found this warning in my theme check. Which version of PHP are you using ?

    Sorry for the inconvenience. In my next version i will correct this warning issue.

    Thread Starter sunsetc


    Thank you:)
    PHP Version 5.6.19.

    I ran into it as well. PHP 5.3.29

    Excellent job on the theme!

    Hi Nisrag,

    i dont want tags to appear at all on the bottom of my posts. how can I delete this? I cant find tags anywhere in templates? Im new to wordpress and very un-computer savvy so please explain in as much detail as possible where I need to go to fix this problem.

    Second question…. the space between the lines of writing is so big. Where can I change this to narrow it and what would you suggest as a suitable amount?

    Third, I would like the side widget area to be wider and the content within to fit the new width. How can I change this area. Again, I’m not savvy in this area so please as much detail as possible.

    Love the look and style of the theme though. well done.


Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Found something wrong in Template-Tags.Php on Line 135’ is closed to new replies.