WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Mobile Pack
Turn off comments on static pages (5 posts)

  1. darkscot
    Member
    Posted 3 years ago #

    How can i turn off commenting ability from appearing on static pages?

  2. stvwlf
    Member
    Posted 3 years ago #

    it depends on your theme. In general edit the theme's page.php file. You will likely see something like this:
    <?php comments_template( '', true ); ?>

    comment it out like this

    <?php // comments_template( '', true ); ?>

    That turns the feature off.

    As I said it varies from theme to theme. Your theme may do it a different way.

  3. yardbird99
    Member
    Posted 3 years ago #

    Looking at the Weaver site forum, it appears the check box to deselect comments by page does not appear until the discussions checkbox is selected.

    So, edit the page.
    Select screen options.
    Up at the top, select the discussions checkbox.
    Scroll to the bottom of the page, and deselect the related checkboxes that were not there previously.

  4. Ferguccio
    Member
    Posted 2 years ago #

    There's a good plugin that I'm using, which gives you the option to choose pages or posts to disable the comments on:
    http://wordpress.org/extend/plugins/disable-comments/

    Enjoy!

  5. BinkyM
    Member
    Posted 2 years ago #

    yardbird99:

    You've just helped me with this aggravating puzzle. Thanks for the concise solution to this problem which ought not be a problem!

    ("Screen options"? I thought that had something to do with video features, like invert the display or something! Why on EARTH would I think that WordPress features are hidden in there? Like "Turn comments off"? Who doesn't know anything about the user experience and usability? Oh! I think I know who!)

    I appreciate your message a lot. Whoever thought up "Screen Options," not so much.

    Binky

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic