Forums

No Comments under Post Title (4 posts)

  1. EatFree
    Member
    Posted 3 months ago #

    Hi!

    My url is http://www.eatfreeblog.com. I have a "No Comments" under each blog post. How can I change that to "Comment"? I have no coding knowledge, so I would appreciate a detailed explanation. Thanks!

  2. alchymyth
    The Sweeper
    Posted 3 months ago #

    edit index.php, and find:

    <p class="postmetadata"><?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?> | <?php the_tags('Tags: ', ', ', ''); ?> <?php edit_post_link('(Edit)', '', ' '); ?>  </p>

    change to:

    <p class="postmetadata"><?php comments_popup_link('Comment', '1 Comment', '% Comments'); ?> | <?php the_tags('Tags: ', ', ', ''); ?> <?php edit_post_link('(Edit)', '', ' '); ?>  </p>

    http://codex.wordpress.org/Function_Reference/comments_popup_link

    you might need to do the same in archive.php

  3. EatFree
    Member
    Posted 3 months ago #

    thanks so much, it worked! any reason you mentioned archive? just wondering (i don't display my archive on my sidebar now.)

  4. alchymyth
    The Sweeper
    Posted 3 months ago #

    no special reason - just that some sites want to have the archives (months, years, categories, etc) show in the same way as the front page ...

Reply

You must log in to post.

About this Topic

Tags