WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Removing comments from Pages only (7 posts)

  1. SBiglow
    Member
    Posted 2 years ago #

    So I found a thread on how to remove comments from Pages only (but still allow them for blog posts) but it was closed. Anyway I can't make it work with Bouquet theme. I found the code on the "Full width no sidebar" page but I want the sidebar on.

    I tried disabling comments entirely but while the box is gone for comments, the link to "post a comment" is still there. I'd be okay with that for regular blog posts but I don't want the link on the pages.

    Any help would be greatly appreciated.

  2. Michelle Langston
    Theme Wrangler at Automattic
    Posted 2 years ago #

    Hi SBiglow,

    Were you able to figure this out? I visited your site and don't see the "Leave a Comment" link on your Pages. Nice looking blog, by the way!

  3. SBiglow
    Member
    Posted 2 years ago #

    I did actually figure it out. It helped once I looked at the page source code to figure out exactly what needed to go away and then I just went through every file until I found the right code.

  4. tdpark
    Member
    Posted 1 year ago #

    I am running into the same issue, not wanting the "Leave a Comment" on the Pages, but, of course, on the Posts (in the Bouquet theme). How was this done?

  5. musedesignca
    Member
    Posted 1 year ago #

    I'm having the same problem. It shouldn't be this difficult to turn the comments OFF if you want them off. Anybody have a solution to this?
    Thanks

  6. musedesignca
    Member
    Posted 1 year ago #

    Ugh...Found it. To turn it off only from "pages, you'll have to remove the code snippet "<?php comments_template(); ?>"

  7. tdpark
    Member
    Posted 1 year ago #

    Yeah, I saw that too and removed the code, but for some reason the words "Leave a comment" still appear on the Pages... If I could just get rid of that, then I will be 100% satisfied.

    I'm thinking of going through all of the Templates in the Editor and cross referencing anything that has "comment" or "#respond" and start the long process of trial and error...

    It can't be that tedious. Any thoughts?

Topic Closed

This topic has been closed to new replies.

About this Topic