How to get comments in pages (not just posts)
I’m using WordPress theme twenty twelve.
I tried a few statements before the endwhile in the page.php.
$withcomments = “1”;
comments_template(); // Get wp-comments.php template ?>
<?php comments_template( ”, true ); ?>
<?php comments_template( ); ?>
I’m not getting the desired result.
Any ideas on a code snippet?
- The topic ‘How to get comments in pages (not just posts)’ is closed to new replies.