How Do I Make Pages Static & How Do I Stop Posting On Selected Pages?

Viewing 3 posts - 1 through 3 (of 3 total)
  • #6074
    Novastar
    Participant

    Love the template, but am having a couple of issues. 1) I want to make all the pages except the Blog page static and 2) I don’t want any posts, comments or replies to show up on any of the pages except the Blog page.

    How can I do that? I hope it doesn’t involve a lot of coding! LOL!

    Thank you.

    #6086
    Daniel Tara
    Keymaster

    To make the front page static go to Settings > Reading and under “Front page displays” select “A static page” and select your Front page and Posts page.

    To disable comments only on pages you’ll need to open page.php and delete the line as there is no option for this in the admin.

    #9463
    gardibolt
    Participant

    You can disable commenting on specific pages using the user interface in the WordPress dashboard. You go to Pages>All Pages, hover over the page name so the dropdown menu appears, and then click Inline Edit for the specific page. There is a checkbox for “Allow Comments.” It’s checked by default; simply uncheck it and save. You have to repeat this for each page you want to disallow commenting on, but it’s a straightforward way to deal with it in the UI without messing with php, and still allow commenting on some pages.

Viewing 3 posts - 1 through 3 (of 3 total)

Tagged: ,

You must be logged in to reply to this topic.