WordPress.org

Support

Support » How-To and Troubleshooting » Delete "Leave a Reply"

Delete "Leave a Reply"

  • I’m a newbie to WordPress, and I prefer to use it as a CMS, rather than a blog. How do I turn off/delete the “Leave a Reply” box at the bottom of my pages???
    I’ve been searching everywhere, and not found a reliable solution yet.

    HELP!!
    -s

Viewing 9 replies - 1 through 9 (of 9 total)
  • esmi

    @esmi

    Forum Moderator

    Have you disabled all commenting via Settings->Discussion?

    Hi esmi,
    Yep, already done. I have a sneaking suspicion I have to delve into the .php. Please tell me it ain’t so… !!

    esmi

    @esmi

    Forum Moderator

    Sorry but it sounds as if you’ll have to do some theme template editing. You’ll need to look for, and remove <?php comments_popup_link();?>

    Ok, cool. I’ll get started and will let you know!
    Thanks so much for the fast response!!

    Michael

    @alchymyth

    Forum Moderator

    if you really don’t want comments in pages, you can also remove <?php comments_template(); ?> together with the surrounding html tags from page.php.

    it is always a good idea to keep a backup copy of the original theme somewhere safe.

    I have this same desire, to remove the “Leave a Reply” box. But I don’t have that code in my pages.php of the Twenty Ten 1.2. Here’s mine:

    [code moderated according to forum rules – please use the pastebin]

    Any thoughts?

    I am a fellow newbie

    it sounds like we had a similar question
    why dont you look at my post and the responces i received
    http://wordpress.org/support/topic/finetuning-a-site-and-removing-search-etc?replies=3#post-2064673

    why remove code when you can make it disappear altogther by a few simple tasks

    Michael

    @alchymyth

    Forum Moderator

    @mike72688

    try and look into loop-page.php;
    if that does not exist in your theme, look into loop.php – although this might also be used for single posts.

    make backup copies before editing

    Thanks. I got it. I made new pages, copied the content of the original page to the new page, deleted the old page, and renamed the new page. Fixed the problem. Thanks.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Delete "Leave a Reply"’ is closed to new replies.
Skip to toolbar