WordPress.org

Ready to get started?Download WordPress

Forums

How remove the words "comments off" from the bottom of each blog? (4 posts)

  1. netvicar
    Member
    Posted 9 years ago #

    How do I remove the words "comments off" from the bottom of each blog I post? It's distracting to see that phrase on every blog, especially since I don't allow comments at all.

    I figure there is a line or two in index.php that need to be deleted or commented out but not certain which lines they are :-(

    Any help would be great appreciated.

    Thanks!

    Andre
    p.s. My blog is at http://www.economicbooster.com/blog You can see the words "comments off" on every entry there :-(

  2. lawtai
    Member
    Posted 9 years ago #

    go into your index.php file and delete the line

    <?php comments_template(); ?>

    or
    <?php comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)')); ?>

    whichever you have.

  3. iand
    Member
    Posted 9 years ago #

    You can use the smart comments plugin too: http://troidus.com/2004/09/15/smart-comments-plugin/ . It doesn't show the comment link if they are turned off.

  4. netvicar
    Member
    Posted 9 years ago #

    Thank you very very much! Removing <?php comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)')); ?>

    from index.php did the trick just nicely. Now I'm off to narchives to find out how to do the same there i.e. remove the words/phrases...

    "Comments"
    "No comments yet."
    "Leave a comment"
    "Sorry, the comment form is closed at this time."

    ...from the bottom of each blog entry (this seems caused by narchives, not wordpress).

    Thanks again!

    Andre

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.