I am trying to leave comments on specific pages through wordpress with this function : comments_template().
I downloaded this plugin Exec-PHP that allows me to insert PHP code into a page (through my wordpress admin)
On one of these pages, I determine with PHP, the display of multiple elements.
My goal is to condition the display of comments ( comments_template(), or if any of you know another function, plugin…) on my page (created with wordpress admin)
I tried to insert into my code, through the admin, the function comments_template() but I had sooo many errors in return
I guess it s because i didnt include the folder managing this function, but i dont know how to include it and I don’t know the folder which contain the function.
Is this the correct format to include ?
<?php include( TEMPLATEPATH . ‘/nomfichier.php’ ); ?>
To sum up I am struggling between my template source folder and wordpress admin…
Any help would be greatly appreciated!!!!
- The topic ‘How to include comments’ is closed to new replies.