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
Translate the "comments" word in portfolio items
7 posts from 3 voices-
Posted 11 months ago #
-
Hello? Any answers?
Posted 11 months ago # -
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,
MyaPosted 11 months ago # -
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?Posted 11 months ago # -
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
Posted 11 months ago # -
Perfect!
Many thanks!Posted 11 months ago # -
Glad Devin could help!
Regards,
MyaPosted 11 months ago #
Topic Closed
This topic has been closed to new replies.














