How can I make the wordpress comments work with:
include(TEMPLATEPATH."/comments.php");
instead of:
comments_template( '', true );
Ay ideas? Ty
|
How can I make the wordpress comments work with:
instead of:
Ay ideas? Ty |
|||
|
Short answer: you can't. Longer answer: You can include
...but that won't actually make comments work, because the |
|||
|
|
|
That wont work because we cannot include the So instead including that file as a template file we should call the function Wordpress uses
Reference - Comments_template |
||||
|
|
comments_template()is actually checking and preparing a lot of needed stuff before calling the comments.php file. – Michael Aug 4 '12 at 13:28