WordPress.org

Ready to get started?Download WordPress

Forums

Removing "Comments are off" (6 posts)

  1. konradhartmann
    Member
    Posted 5 years ago #

    I do not allow comments on my site. Every post says "Comments are off" in the date line (between the post title and the body). Is there an easy way to get rid of that? It is unnecessary and unattractive. Thanks!

    My site is http://www.FastMovieReviews.com

  2. MichaelH
    Member
    Posted 5 years ago #

    If you are using the WordPress Default theme you would delete the following code from wp-content/themes/default/index.php to remove the comments stuff:

    <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?>

  3. buddha trance
    Member
    Posted 5 years ago #

    To remove it permanently, go to your theme's index.php and remove
    <?php comments_popup_link('No comments yet', '1 comment', '% comments', 'comments-link', 'Comments are off'); ?>

  4. buddha trance
    Member
    Posted 5 years ago #

    Sorry Michael, we were replying at the same time!

  5. MichaelH
    Member
    Posted 5 years ago #

    No problem buddha trance, answer away and don't worry about it.

    For future reference, this FAQ:
    How do I get rid of the "No Comments" message displayed with every post?

  6. konradhartmann
    Member
    Posted 5 years ago #

    Thanks very much to both of you for taking time to help. I am fairly new to WordPress, but am very happy so far with its capabilities.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.