Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

comments_template()

3 tags 1 category

comments_template() — Loads the comment template specified in $file. Will not display the comments template if not on single post or page, or if the post does not have comments. Uses the WordPress database object to query for the comments. The comments are passed through the {

Inputs: $file (string): Optional. The file to load. Default ‘/comments.php’. $separate_comments (bool): Optional. Whether to separate the comments by comment type. Default false.

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…