Rabbit14
Member
Posted 3 years ago #
Hi all.
I'm new to wordpress and after installing and play a little bit with customisation for my own needs I'm facing a problem.
In fact, I've writed pages where there is no post in it, and I want to bring to my visitor the possibility to post comment on these pages. How to do that ??
Working on the page template to set comment posting form and comment list ?
If yes how to do that ?
I've look to the atahualpa theme that seem to allow that but not clearly understand how it work !
Any help will be welcome !
Ways to learn about WordPress theme customization is through search in Google or better yet, download the theme and look at the codes in the page.php to see how they do it. Good luck.
Most page templates ship with the call to the comments.php template already included. Study the Default and Classic page.php template to see where to place this code:
<?php if ( comments_open() ) comments_template(); ?>
webfwrd
Member
Posted 3 years ago #
Just put following code in your page template -
<?php comments_template() ?>
Rabbit14
Member
Posted 3 years ago #
Really thanks to all of you.
I'm ok on the fact that I must go deeper in the WordPress code but it's really huge in a theme so I ask some tips / helps sometimes.
In all case : thanks !