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

    Hi,

    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.

    Regards,

    Leonardo

    #79243

    Hello? Any answers?

    #79244

    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>

    Regards,

    Mya

    #79245

    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?

    #79246

    Hello

    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.

    Regards,

    Devin

    #79247

    Perfect!

    Many thanks!

    #79248

    Glad Devin could help!

    Regards,

    Mya

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

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