Wordpress!!!!! Simple I hope?

6 replies
Hi everyone

I was wondering could anybody please tell me how to change the wording where it says...

"0 comments" after a post?

I cant find anywhere to edit it?
I would like it to say something else until there is a comment and then it would be fine for it to say........."6 comments" or how ever many.

any ideas please?

thanks in advance
Kym
#hope #simple #wordpress
  • Profile picture of the author TheRichJerksNet
    You can edit the files directly

    /wp-content/themes/THEMENAME/comments.php
    /wp-content/themes/THEMENAME/comments-popup.php

    James
    {{ DiscussionBoard.errors[191648].message }}
  • Profile picture of the author Kym Robinson
    Ok - thanks james!
    Im not real techie but I'll give it a try!

    Thanks for your help
    Kym
    {{ DiscussionBoard.errors[191791].message }}
  • Profile picture of the author TiffanyLambert
    Hey Kym!

    Just as an fyi I know Craig Desorcy has free WordPresss help at Blog Tutorials: Wordpress Guides Ask Blog Question Here for WordPress - he answers questions, etc. It's great!
    tiff
    {{ DiscussionBoard.errors[191949].message }}
  • Profile picture of the author Dan Grossman
    To change it on the homepage, edit index.php within the theme folder. To change it on the single post pages, edit single.php. To change it on the category pages, edit category.php. To change it on archive pages, edit archive.php. To change it on static pages, edit page.php.

    The code looks like this:
    PHP Code:
    <?php comments_popup_link('0 Comments''1 Comment''% Comments'''''); ?>
    You'd change it to something like this:
    PHP Code:
    <?php comments_popup_link('No Comments Yet!''1 Comment''% Comments'''''); ?>
    Or whatever text you want.

    WordPress is very, very fully documented by its community:
    Template Tags/comments popup link WordPress Codex
    Signature
    Improvely: Built to track, test and optimize your marketing.

    {{ DiscussionBoard.errors[192125].message }}
  • Profile picture of the author Kym Robinson
    Ok - now we are talkin!

    Thanks James - but checked it out and twas too scarey!

    Thanks Tiff - nice to see you!
    I have bookmarked that site for future reference!

    Thanks so much Dan - I have printed your detailed advice and am going there now to see what I can do!

    Thanks heaps - Kym
    {{ DiscussionBoard.errors[192276].message }}
  • Profile picture of the author Kym Robinson
    Dan - youre the man!

    you explained it just how I needed to hear it!

    that worked a treat and in 5 minutes flat I have it done!

    THANKYOU very much mate!
    Kym
    {{ DiscussionBoard.errors[192310].message }}

Trending Topics