Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Comments, trackbacks & pings (http://forum.bytesforall.com/forumdisplay.php?f=19)
-   -   [SOLVED] Footer Homepage - comments (http://forum.bytesforall.com/showthread.php?t=8715)

shirley1 Aug 5, 2010 07:54 AM

[SOLVED] Footer Homepage - comments
 
2 Attachment(s)
Hi

I have atahualpa 3.5.3 and wordpress 3.1(french). My blog is in french.

In my home page , I can see the number of comments. But I want to modify the word «comment» (see homepage image file). In the settings of Atahualpa, in ATO--» Post & Pages ---» Edit Post & Pages info items--» footer homepage , I don't see any option to modify this word. ( see footer image file).

I think I have to change it in the code. I've already made somes modificatiosn in the file comments.php and bfa_custom_comments.php, but i don't know where I need to modify in order to have the word «comment» in french.

Thanks.

lmilesw Aug 5, 2010 10:40 AM

If you look up further on the same page where the code you show is you will see the following.

When using this item, provide 4 text strings for the 4 possible comment states:
  • Replace 'No Comments' with your link text for posts that have no comments yet
  • Replace '1 comment' with your text for posts with 1 comment
  • Replace '% comments' with your text for posts with 2 or more comments. The % (percent) character will be replaced with the comment count. Use that character in your own text, too, unless you do not want to display the comment count.
  • Replace 'Comments closed' with your text for posts where comments are closed. Replace 'Comments closed' with 'dontshow' to display nothing if comments are closed (instead of displaying something like 'Comments closed')

Example: %comments('Leave your comment', 'One comment so far', '% people had their say - chime in!', 'Sorry, but comments are closed')%
Example 2: %comments('Comments', 'Comments (1)', 'Comments (%)', 'dontshow')%

shirley1 Aug 5, 2010 11:55 AM

Thanks.!
It works. I thought % comments was a php parameter. I am not a programmer. sorry.
You can close this ticket.


All times are GMT -6. The time now is 03:50 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.