If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
  • #13436


    This is a fantastic theme. I love it and this is the second time I’m using it, first for one customer, than now for my own consulting company. http://www.estrategiamais.com.br.

    Question: How may I translate the “comments” word that appears in the portfolio item together with the date and below the portfolio item title?

    As in my previous job I get rid of the comments in portfolio items, now I don’t know how to do it.

    Waiting for your answer.




    Hello? Any answers?


    Hi leocantoeme,

    You would edit the line below in the template single.php.

    <span class='author'><?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?></span>




    Hi Mya,

    Thank you, but I couldn’t find this line on single.php in Upscale. The only line referring to comments in the single.php is:

    //wordpress function that loads the comments template “comments.php”

    comments_template( ‘/includes/comments.php’);

    Then I went to the comments.php, and translated it all, but the problem remains.

    May you help me?



    It was a bit more tricky to track down since it actually uses the same code as a post in Upscale. You’ll need to open up includes>loop-index.php and search for:

    <span class='comment-container'><?php comments_popup_link("<strong>0</strong> ".__('Comments','avia_framework'), "<strong>1</strong> ".__('Comment' ,'avia_framework'),

    Its at about line 45. Change the ‘Comment’ and ‘Comments’ to what you would like.





    Many thanks!


    Glad Devin could help!



Viewing 7 posts - 1 through 7 (of 7 total)

The topic ‘Translate the "comments" word in portfolio items’ is closed to new replies.