Hello. I try to add a comment form to the page template, however, for reasons that are not clear to me, it does not appear. I do not know why, because I seem to be doing everything right. Snippet file reviews.php :
<?php /* * Template Name: Reviews */ get_header(); ?> <div class="container page"> <h2>Отзывы</h2> <?php comments_template(); ?> <?php comment_form();?> </div> <?php get_footer(); ?> As a result, we have the output:
Those. no comments form under the comments themselves, but with the output of comments everything is ok. Please tell me why there is no form?
The structure of the custom-made Wordpress theme: 
Well, just in case, the contents of the comments.php file:
<?php if ( have_comments() ) : ?> <ol class="comment-list"> <?php wp_list_comments( array( 'style' => 'ol', 'short_ping' => true, 'avatar_size' => 74, ) ); ?> </ol><!-- .comment-list --> <?php // Are there comments to navigate through? if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : ?> <nav class="navigation comment-navigation" role="navigation"> <h1 class="screen-reader-text section-heading"><?php _e( 'Comment navigation', 'twentythirteen' ); ?></h1> <div class="nav-previous"><?php previous_comments_link( __( '← Older Comments', 'twentythirteen' ) ); ?></div> <div class="nav-next"><?php next_comments_link( __( 'Newer Comments →', 'twentythirteen' ) ); ?></div> </nav><!-- .comment-navigation --> <?php endif; // Check for comment navigation ?> <?php if ( ! comments_open() && get_comments_number() ) : ?> <?php endif; ?> <?php endif; // have_comments() ?> </div><!-- #comments -->
comment_form()function below thecomments_template()if you are convinced that comments are allowed and the form is still not displayed - alenkins