Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #4538


    I would like to know if it is possible to allow commenting into specific pages of my sites (not all pages).

    I tought on implementing the comments code that is in single.php into the page.php but that would enable comments on every single pages which I don’t want; only specific ones.

    Is there a way to do so?

    Thanks in advance!




    you can deactivate the comments on a per page basis by un/checking the “Discussions Options” checkbox. Another possibility would be to wrap the comments code in an if statement with a conditional tag like:

    if (is_page(array( 42,40,45))){
    discussion code

    Instead of 42,40,45 insert any page ids you like…

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

The topic ‘Allow comments into Pages’ is closed to new replies.