I too need to add comment capability to my Pages.
The above looks like a self contained .php script.
For a .php novice, where exactly in page.php do I put the code?
Does it replace the whole page.php?
The existing page.php already has a <?php and ?>. I’m confused as to how to add the above code.