Codex tools: Log in / create account
Contents |
Loads the comment template. For use in single post and page displays.
<?php comments_template( $file, $separate_comments ); ?>
On some occasions you may want display your comments differently within your Theme. For this you would build an alternate file (ex. short-comments.php) and call it as follows:
<?php comments_template( '/short-comments.php' ); ?>
Since: 1.5.0
comments_template() is located in wp-includes/comment-template.php.
get_header, get_sidebar, get_search_form, comments_template, get_footer