Support » Plugin: Theme Check » Preferance? comment_form or comments_template

Viewing 2 replies - 1 through 2 (of 2 total)
  • If I use <?php comment_form(); ?> comments disappear from the Theme. Any ideas?

    Plugin Author Samuel Wood (Otto)

    (@otto42) Admin

    Those two functions do entirely different things. A theme should have both of them.

    The comment_template() function both loads the comments from the database and loads the comments.php file in the theme to display them.

    The comment_form() function displays the comment form. It would be located in the comments.php file.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Preferance? comment_form or comments_template’ is closed to new replies.