Support » Fixing WordPress » Move comment form to bottom

  • Dear all,

    I recently created a WordPress site for my business and I added an ‘Experience’ page to it. I want to display the experiences of previous clients and give them the ability to leave a new comment/experience. Therefor I obviously added a comment form but the problem is that I would like this form to be at the bottom of the page. In this way new visitors can see the written experiences at first and if they scroll to the bottom they can leave their own comment.
    Can anyone help me to move this form to the bottom of the page?

    Best regards

Viewing 3 replies - 1 through 3 (of 3 total)
  • You need to call the function in bottom rather on top. Check the code and find comments_template () or something similar.



    Forum Moderator

    what theme are you working with?

    how did you add the comment form?

    what is the code of that ‘Experience’ page
    – are you using a page template?

    can you post a link to illustrate the position of the comment form?

    I’m working with twentythirteen and I added the form with Jetpack. Below the code of the comment form, the link is

     * The template for displaying Comments.
     * The area of the page that contains comments and the comment form.
     * @package WordPress
     * @subpackage Twenty_Thirteen
     * @since Twenty Thirteen 1.0
     * 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() )
    <div id="comments" class="comments-area">
    	<?php if ( have_comments() ) : ?>
    		<h2 class="comments-title">
    				printf( _nx( 'One thought on “%2$s”', '%1$s thoughts on “%2$s”', get_comments_number(), 'comments title', 'twentythirteen' ),
    					number_format_i18n( get_comments_number() ), '<span>' . get_the_title() . '</span>' );
    		<ol class="comment-list">
    				wp_list_comments( array(
    					'style'       => 'ol',
    					'short_ping'  => true,
    					'avatar_size' => 74,
    				) );
    		<!-- .comment-list -->
    			// 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() ) : ?>
    		<p class="no-comments"><?php _e( 'Comments are closed.' , 'twentythirteen' ); ?></p>
    		<?php endif; ?>
    	<?php endif; // have_comments() ?>
    	<?php comment_form(); ?>
    </div><!-- #comments -->

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Move comment form to bottom’ is closed to new replies.