• Resolved whitephantom

    (@whitephantom)


    Hi,

    I’m learning WP to use it for a ‘static’ website (rather than a blog) and I don’t want the option to leave comments on every page. How / where do I switch off the functionality to comment?

    Thanks,
    J.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You can turn off comment functionality by going to Settings > Discussion in the Dashboard area and un-ticking the ‘Allow people to post comments on new articles’ box (third one down). You may also want to un-tick the two boxes above it.

    You may now be left with some messages around your site saying ‘Comments are turned off’ or similar. You will probably want to remove these from your theme’s files.

    All the best,

    Rory. ??

    Thread Starter whitephantom

    (@whitephantom)

    Thanks Rory, I did that, then created a new page and it doesn’t have the comments section, but the existing pages still have it.

    How do I remove it from existing pages?

    Many thanks!

    That’s OK – just go to edit each page and scroll down below the text area – you will see towards the bottom two boxes under the heading Discussion – ‘allow comments’ and ‘allow pings’. You will need to un-tick both of these for every page and post, as these were created when your site was still set up to allow comments. Once this is done, however, you won’t need to worry about it anymore because you have now disallowed comments globally for your site throught the Settings > Discussion area.

    All the best,

    Rory. ??

    Additionally you can remove calls to comments template from the page.php file of the theme used. Look for the line <?php comments_template(); ?> and remove it. Some themes try to display the comments number too seperately.

    S.K

    Thread Starter whitephantom

    (@whitephantom)

    Many thanks guys, got that sorted.

    I’m beginning to enjoy WP… I’m looking forward to loving it!

    ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to switch comments off on a page’ is closed to new replies.