• blackhawks83

    (@blackhawks83)


    Hello all!

    I would like to know how do I move the comment box above the comments?
    I did not find a solution on existing posts… :/

    Here is my template comments.php

    `<?php
    /***
    * Comments Template
    *
    * This template displays the current comments of a post and the comment form
    *
    */

    if ( post_password_required()) : ?>
    <p><?php _e(‘Enter password to view comments.’, ‘courage’); ?></p>
    <?php return; endif; ?>

    <?php if ( have_comments() or comments_open() ) : ?>

    <div id=”comments”>

    <?php if ( have_comments() ) : ?>

    <h3 class=”comments-title”><span><?php comments_number( ”, __(‘One comment’,’courage’), __(‘% comments’,’courage’) );?></span></h3>

    <?php if ( get_comment_pages_count() > 1 && get_option( ‘page_comments’ ) ) : ?>
    <div class=”comment-pagination clearfix”>
    <div class=”alignleft”><?php previous_comments_link(); ?></div>
    <div class=”alignright”><?php next_comments_link() ?></div>
    </div>
    <?php endif; ?>

    <ul class=”commentlist”>
    <?php wp_list_comments( array(‘callback’ => ‘courage_list_comments’)); ?>

    <?php if ( get_comment_pages_count() > 1 && get_option( ‘page_comments’ ) ) : ?>
    <div class=”comment-pagination clearfix”>
    <div class=”alignleft”><?php previous_comments_link() ?></div>
    <div class=”alignright”><?php next_comments_link() ?></div>
    </div>
    <?php endif; ?>

    <?php endif; ?>

    <?php if ( comments_open() ) : ?>
    <?php comment_form(array(‘comment_notes_after’ => ”)); ?>
    <?php endif; ?>

    </div>

    <?php endif; ?>

    Thanks for your help ??

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How do I move the comment box above the comments?’ is closed to new replies.