• Resolved cyberquill

    (@cyberquill)


    I added a comment section to my Pages by adding

    <?php comments_template(); ?>

    to page.php.

    Here’s an example page.

    Now, of course, there’s a comment section on ALL my pages, but I’d like a comment section for some of my pages only, but not for others.

    Is it possible to add the comment section to selected pages only? If so, how do you do that?

Viewing 3 replies - 1 through 3 (of 3 total)
  • below the page editor, there should be a ‘dicussion’ field where you can disable/enable comments per page.

    if this does not show, click ‘screen options’ near the top right of that page, and tick the ‘discussion’ box; then go back down below the page editor, where the ‘discussion’ field should now be visible.
    then disable/enable comments.

    Thread Starter cyberquill

    (@cyberquill)

    Thanks. I wasn’t aware of the “Screen Options” field.

    Now how do I get rid of the line “Comments are closed” at the bottom of the page?

    Also, I added a “Terms of Use” link to page.php, which shouldn’t display on a page without a comment section.

    Thread Starter cyberquill

    (@cyberquill)

    Never mind. Piece of cake. All I had to do was add a new page template.

    Everything resolved.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Is it possible to add comment section to selected Pages only?’ is closed to new replies.