Forums

[resolved] How To Delete "Be The First To Comment" Box (4 posts)

  1. pastella
    Member
    Posted 2 years ago #

    Hi
    I am using WordPress 2.8.6 and the "simple x" theme from WPshoppe.

    I don't want "Comments" to be active, so in each post I have unchecked the box. The problem is that when I go to my website and look at the posts, there is a box at the beginning of each post which says "Be The First To Comment". I don't know how to delete this.

    I've gone into the Editor page but looking at all the HTML on the "comments" section, I'm not sure what to delete.

    Can anyone help?

    I would appreciate it.

    Thanks

    Stella

  2. BPartch
    Member
    Posted 2 years ago #

    You can delete the call to the comments.php file in all the files where it exists, (single, page...) or you can open comments.php and remove it.

  3. vtxyzzy
    Member
    Posted 2 years ago #

    Try this; put this line as the last line of style.css:

    .comments-popup { display: none}

    and in index.php, archive.php, and search.php, change:

    <?php comments_popup_link('Be the first to comment', '1 Comment', '% Comments'); ?>

    to:

    <?php comments_popup_link('Be the first to comment', '1 Comment', '% Comments','comments-popup'); ?>

  4. pastella
    Member
    Posted 2 years ago #

    To BPartch Thanks for your help and I tried it. I got confused, so tried vtxyzzy's instructions.

    Thanks again though.

    To vtxyyzzy

    Thanks. I didn't have to change archive.php or search.php.
    But it's worked. Thankyou.

Topic Closed

This topic has been closed to new replies.

About this Topic