Word Press Blog 0 Comments

12 replies
Can anyone tell me how to change the "0 Comments" to "Leave A Comment" in Word Press?
#blog #comments #press #word
  • Profile picture of the author TheArticleWriter
    In your theme folder, you should find a file called comments.php. You need to edit this. Do you know php programming language?

    Christine.
    {{ DiscussionBoard.errors[3065027].message }}
    • Profile picture of the author bobjack
      Christine,

      Thanks for the reply, and sorry for the delay in responding to you. No I don't but my girl friend does. The theme is a standard WP theme called frost. Any further suggestions?

      Bob
      {{ DiscussionBoard.errors[3079545].message }}
  • Profile picture of the author TheArticleWriter
    So get your gf to ftp the file comments.php from the folder called theme, onto a computer. She can then have a look at it and should find a place there where she can change the text. If she gets stuck, send me the file and I will have a look. It is different for each theme, so I can't just tell you to change line "whatever".

    Good luck!
    {{ DiscussionBoard.errors[3080681].message }}
    • Profile picture of the author bobjack
      I downloaded the file for her, plus several others she thought was needed. She could not figure it out, she said I needed a WP programmer since she could not find where the function was called from, and changing what we saw had no effect in the comment.php file. I will send you the file tonight, at work now...

      There was another comment after yours, not sure it helps or not. Thanks Bob
      {{ DiscussionBoard.errors[3114115].message }}
  • Profile picture of the author Peter01
    If you use something like Disqus for comments this would be really easy
    {{ DiscussionBoard.errors[3084016].message }}
  • Profile picture of the author SteveJohnson
    You'll need to look in the comments.php file for a call to the function 'comments_number'. It will look something like this:

    PHP Code:
    Comments on This Post (<?php comments_number('none''1''%' );?>)
    Obviously the wording will be different - the important part is to search for that function call. The function takes 3 arguments ( the parts in the parentheses ). The first is the text to be displayed for no comments, then 1 comment, then multiple comments. The % sign in the above example tells the function to output the actual number.

    Anyway, the 'none' argument is the one you'll need to change (yours will say '0 Comments').
    Signature

    The 2nd Amendment, 1789 - The Original Homeland Security.

    Gun control means never having to say, "I missed you."

    {{ DiscussionBoard.errors[3084839].message }}
  • Profile picture of the author FabianSmith
    Nice info i also implement for my blog ......
    {{ DiscussionBoard.errors[3112445].message }}
    • Profile picture of the author bobjack
      Did you get it to work, if so, tell me the code changes and where found. I'm getting lost in all the templates. Thanks
      {{ DiscussionBoard.errors[3114145].message }}
  • Profile picture of the author zeeshi570
    You can change it in comments.php. if you can't find it send me a PM i will help you.
    {{ DiscussionBoard.errors[3117301].message }}
    • Profile picture of the author bobjack
      I was able to change in in the comments.php but with the changed file it still did not work.

      I kind of gave up on it, not knowing how all the templates interact. Zeeshan and Christine offered to help change the file if sent, but I was able to make the changes as suggested by everybody that responded, but still no cigar. Any further suggestions?

      Thanks to everyone that has responded so far.

      Bob
      {{ DiscussionBoard.errors[3211804].message }}
  • Profile picture of the author Summer1
    It depends on your theme files, every theme has different code, and there may be alot of free theme called frost. if you provide the file, people may be able to help easier.
    Signature

    {{ DiscussionBoard.errors[3211853].message }}
  • Profile picture of the author rosesmark
    Originally Posted by bobjack View Post

    Can anyone tell me how to change the "0 Comments" to "Leave A Comment" in Word Press?

    This link would help you out.I hope

    http://zemalf.com/1293/replacing-no-comments/
    {{ DiscussionBoard.errors[3982310].message }}

Trending Topics