• EatFree

    (@eatfree)


    Hi!

    My url is https://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!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Michael

    (@alchymyth)

    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>

    https://codex.www.ads-software.com/Function_Reference/comments_popup_link

    you might need to do the same in archive.php

    Thread Starter EatFree

    (@eatfree)

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

    Michael

    (@alchymyth)

    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 …

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘No Comments under Post Title’ is closed to new replies.