• Searched the web for hours, and did a lot of .php changes, but still there’s “Comments Off” on my home page…How do I delete it?

    The trick I come across a lot, is to delete this line:

    <?php comments_popup_link(‘No Comments ?’, ‘1 Comment ?’, ‘% Comments ?’); ?>

    But this doesn’t work. ..I’m using the Sharpfolio2 theme..

    THX in advance!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Check for folio-format.php in your Sharpfolio theme folder and remove the following code to remove all links to comments on the home page:

    <p class="comment-link">
    <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?>
    </p>

    It should do the trick as index.php (your home page) loads that file to display the recent posts.

    Also, if you want to keep the link to comments when you allow a comment, change the code to this instead of deleting it:

    <p class="comment-link">
    <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »',''); ?>
    </p>

    More info on comments_popup_link here.

    Thread Starter mixedmediamike

    (@mixedmediamike)

    @mtw28 THX A LOT!!! It did the trick!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘“Comments Off” : can’t get rid of it’ is closed to new replies.