<https://artist-websites.supremepr.us/how-to-move-comments-form-above-comments-list-in-wordpress/#Article>
<http://schema.org/articleBody>
"Please help me modify code to move Comments form above comments list in a WordPress blow. Below is the code of comments.php page   &lt;?php /**  * The template for displaying Comments.  */ ?&gt;  &lt;?php     /*      * If the current post is protected by a password and      * the visitor has not yet entered the password we will      * return early without loading the comments.      */     if (post_password_required()) return; ?&gt; &lt;?php if ( comments_open() ) : ?&gt;     &lt;div id\"comments\" class\"comments-area clear-fix\"&gt;             &lt;?php if (have_comments()):?&gt;             &lt;div class\"comments-area-title\"&gt;                 &lt;h3&gt;                     &lt;?php printf( _n('1 comment', '%1$s comments', get_comments_number(), 'gloria'),  number_format_i18n(get_comments_number()));?&gt;                 &lt;/h3&gt;             &lt;/div&gt;&lt;!-- End Comment Area Title --&gt;             &lt;?php endif;?&gt;             &lt;?php // You can start editing here -- including this comment! ?&gt;             &lt;?php if ( have_comments() ) : ?&gt;             &lt;ol class\"commentlist\"&gt;                 &lt;?php                     /* Loop through and list the comments. Tell wp_list_comments()                      * to use wpgrade_comment() to format the comments.                      * If you want to overload this in a child theme then you can                      * define wpgrade_comment() and that will be used instead.                      * See wpgrade_comment() in inc/template-tags.php for more.                      */                     wp_list_comments( array( 'callback' &gt; 'gloria_comments','short_ping'  &gt; true ) );                 ?&gt;             &lt;/ol&gt;&lt;!-- .commentlist --&gt;              &lt;?php if ( get_comment_pages_count() &gt; 1 &amp;&amp; get_option( 'page_comments' ) ) : // are there comments to navigate through ?&gt;             &lt;nav role\"navigation\" id\"comment-nav-bottom\" class\"comment-navigation clearfix\"&gt;                 &lt;div class\"nav-previous\"&gt;&lt;?php previous_comments_link( esc_html__( '&amp;larr; Older Comments', 'gloria' ) ); ?&gt;&lt;/div&gt;                 &lt;div class\"nav-next\"&gt;&lt;?php next_comments_link( esc_html__( 'Newer Comments &amp;rarr;', 'gloria' ) ); ?&gt;&lt;/div&gt;             &lt;/nav&gt;             &lt;?php endif; // check for comment navigation ?&gt;         &lt;?php endif; // have_comments() ?&gt;         &lt;?php             // If comments are closed and there are comments, let's leave a little note, shall we?             if ( ! comments_open() &amp;&amp; post_type_supports( get_post_type(), 'comments' ) &amp;&amp; !is_page() ) :         ?&gt;             &lt;p class\"nocomments\"&gt;&lt;?php esc_html_e( 'Comments are closed.', 'gloria' ); ?&gt;&lt;/p&gt;             &lt;?php endif; ?&gt;     &lt;/div&gt;&lt;!-- #comments .comments-area --&gt;     &lt;?php     $commenter  wp_get_current_commenter();     $req  get_option( 'require_name_email' );     $aria_req  ( $req ? \" aria-required'true'\" : '' );      if (is_user_logged_in()) {         $current_user  wp_get_current_user();         $comments_args  array(             // change the title of send button             'title_reply'&gt; esc_html__('Leave a reply', 'gloria'),             // remove \"Text or HTML to be displayed after the set of comment fields\"             'comment_notes_before' &gt; '',             'comment_notes_after' &gt; '',             'logged_in_as' &gt; '&lt;p class\"logged-in-as\"&gt;' . sprintf( esc_html__( 'Logged in as', 'gloria') .' &lt;a href\"%1$s\"&gt;%2$s&lt;/a&gt;. &lt;a href\"%3$s\" title\"'.esc_html__('Log out of this account','gloria').'\"&gt;'.esc_html__('Log out?','gloria').'&lt;/a&gt;', admin_url( 'profile.php' ), $user_identity, wp_logout_url( apply_filters( 'the_permalink', get_permalink( ) ) ) ) . '&lt;/p&gt;',                         'fields' &gt; apply_filters( 'comment_form_default_fields', array(                 'author' &gt; '&lt;p class\"comment-form-author\"&gt;&lt;input id\"author\" name\"author\" type\"text\" placeholder\"'.esc_html__('Name*', 'gloria').'...\" size\"30\" ' .  $aria_req . ' /&gt;&lt;/p&gt;',                 'email' &gt; '&lt;p class\"comment-form-email\"&gt;&lt;input id\"email\" name\"email\" size\"30\" type\"text\" placeholder\"'.esc_html__('Email*', 'gloria').'...\" '. $aria_req .' /&gt;&lt;/p&gt;' ) ),             'id_submit' &gt; 'comment-submit',             'label_submit' &gt; esc_html__('Send', 'gloria'),             // redefine your own textarea (the comment body)             'comment_field' &gt; '&lt;p class\"comment-form-comment\"&gt;&lt;textarea id\"comment\" name\"comment\" cols\"45\" rows\"8\" aria-required\"true\" placeholder\"' . esc_html__( 'Message', 'gloria' ) . '\"&gt;&lt;/textarea&gt;&lt;/p&gt;');     } else {         $comments_args  array(         // change the title of send button         'title_reply'&gt; esc_html__('Leave a reply', 'gloria'),         // remove \"Text or HTML to be displayed after the set of comment fields\"         'comment_notes_before' &gt; '',         'comment_notes_after' &gt; '',         'fields' &gt; apply_filters( 'comment_form_default_fields', array(                 'author' &gt; '&lt;p class\"comment-form-author\"&gt;&lt;input id\"author\" name\"author\" type\"text\" placeholder\"'.esc_html__('Name*', 'gloria').'...\" size\"30\" ' .  $aria_req . ' /&gt;&lt;/p&gt;&lt;!--',                 'email' &gt; '--&gt;&lt;p class\"comment-form-email\"&gt;&lt;input id\"email\" name\"email\" size\"30\" type\"text\" placeholder\"'.esc_html__('Email*', 'gloria').'...\" '. $aria_req .' /&gt;&lt;/p&gt;&lt;!--',                 'url' &gt; '--&gt;&lt;p class\"comment-form-url\"&gt;&lt;input id\"url\" name\"url\" size\"30\" placeholder\"'.esc_html__('Website', 'gloria').'...\" type\"text\"&gt;&lt;/p&gt;') ),         'id_submit' &gt; 'comment-submit',         'label_submit' &gt; esc_html__('Send', 'gloria'),         // redefine your own textarea (the comment body)         'comment_field' &gt; '&lt;p class\"comment-form-comment\"&gt;&lt;textarea id\"comment\" name\"comment\" cols\"45\" rows\"8\" aria-required\"true\" placeholder\"' . esc_html__( 'Message', 'gloria' ) . '\"&gt;&lt;/textarea&gt;&lt;/p&gt;');     }      //if we have no comments than we don't a second title, one is enough     if ( !have_comments() ){         $comments_args  esc_html__('Leave a reply', 'gloria');     }      comment_form($comments_args); ?&gt; &lt;?php endif; ?&gt;"
<https://artist-websites.supremepr.us/how-to-move-comments-form-above-comments-list-in-wordpress/page/2/?et_blog>