zoetoft
Member
Posted 2 weeks ago #
Hello,
I have several pages (rather than posts) on my blog and despite having "Allow Comments" enabled on each of them, the option to leave a comment does not appear on the live page eg
http://www.playingbythebook.net/how-to-find-great-books-for-kids-by-subject-theme/
or
http://www.playingbythebook.net/links/
Is this a bug or is there something else I need to do to enable comments on pages?
Any help much appreciated!
Zoe
well....when you look at your page.php file, do you see any code that says anything about comments? I believe your theme needs to have something calling to the comments. On normal posts can visitors leave comments? If so then look in your index.php file for something like this
<?php comments_template(); ?>
Or similar that has the word comment in it. You'll have to include that same info in your page.php file to have comments there. Basically you can copy the above line into your page.php file if nothing else works.... mine is in my theme in page.php right above the get_footer call....you may have to play around with where you put it, apply styling, etc....
http://codex.wordpress.org/Function_Reference/comments_template