Support » Fixing WordPress » How do I add comments to a page that has posts?

  • Resolved Misterpayne112

    (@misterpayne112)


    i am trying to add comments to a page that has posts on it. i want the comments to apply to the page and not the post. if i put the comments at the top of the page, it will apply to the page, but if i try to put it at the bottom, the comments apply to the post. the post is just a preview but the comments still go to that post instead of the page. how can i fix this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • You should add the comment code in your index.php page outside the loop.

    why the index.php and why outside the loop? i created a few other pages, and i want to add a comment section for each page. how do i put something outside of the loop?

    I didn’t understood your first question.
    In this case you need to add it in single.php page and if is on this page can stay inside the loop.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How do I add comments to a page that has posts?’ is closed to new replies.