• Hi all,

    I am building my test blog at https://www.bartlett-family.net/chrisbartlett/blog2/

    I changed some php code in the themes/default/index.php file so that the blog now reads “No Comments on ENTRY NAME” by using this code:

    <p class="postmetadata">Posted in <?php the_category(', ') ?> <strong>|</strong> <?php edit_post_link('Edit','','<strong>|</strong>'); ?> <?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?> on "<?php the_title(); ?>"

    You can see it on the page. My question is… How do I wrap that ENTIRE thing in an anchor? As it is, only “X Comments” is actually a link. I want the whole thing to be a link. The anchor code is obviously not in the index.php file itself. Where is it?

    Thanks!

    Chris

Viewing 1 replies (of 1 total)
  • Thread Starter WorldBuilder

    (@worldbuilder)

    Nevermind, I figured it out. Had to remove an echo’d anchor in the comment-functions.php file in wp-includes.

    Chris

Viewing 1 replies (of 1 total)
  • The topic ‘Change “Comments”’ is closed to new replies.