Hello. Comment box is top of the form but ı want it on bottom of the form. <div id="comments"> <?php if ( post_password_required() ) : ?> <p class="nopassword"><?php _e( 'This post is password protected. Enter the password to view any comments.', 'altinoktaonalti' ); ?></p> </div> <?php return; endif; ?> <?php if ( have_comments() ) : ?> <?php comments_number(__('Bu yazıya hiç yorum yapılmamış. İlk yorumu sen yapmak ister misin?','altinoktaonalti'), __('1 yorum yapılmış. Sende yorum yap','altinoktaonalti'), '% '.__('yorum yapılmış. Bir yorumda sen yap!','altinoktaonalti') );?> <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : ?> <div class="navigation"> <div class="nav-previous"><?php previous_comments_link( __( '<span class="meta-nav">←</span> Eski Yorumlar', 'altinoktaonalti' ) ); ?></div> <div class="nav-next"><?php next_comments_link( __( 'Yeni Yorumlar <span class="meta-nav">→</span>', 'altinoktaonalti' ) ); ?></div> </div> <?php endif; ?> <?php $comments_by_type = &separate_comments($comments); ?> <?php if ( !empty($comments_by_type['comment']) ) : ?> <ul class="commentlist"><?php wp_list_comments('type=comment&callback=custom_com ments'); ?></ul> <?php endif; ?> <?php $comment_counter = 0 ; ?> <?php if ( !empty($comments_by_type['pings']) ) : ?> <div id="pings" class="commentlist"> <ol class="pinglist"><?php wp_list_comments('type=pings&trackback&pingback&ca llback=custom_pings'); ?></ol> </div> <?php endif; ?> <?php else : if ( ! comments_open() && get_comments_number() ) : ?> <p class="nocomments"><?php _e( 'Yoruma kapalı.', 'altinoktaonalti' ); ?></p> <?php endif; ?> <?php endif; ?> <?php $commenter = wp_get_current_commenter(); $req = get_option( 'require_name_email' ); $aria_req = ( $req ? " aria-required='true'" : '' ); $fields = array( 'author' => '<p class="comment-form-author">' . '<label for="author">' . __( '', 'altinoktaonalti' ) . '</label> ' . ( $req ? '<span class="required"></span>' : '' ) . '<input id="author" value="İsminiz" name="author" type="text" value="' . esc_attr( $commenter['comment_author'] ) . '" size="30"' . $aria_req . ' /></p>', 'email' => '<p class="comment-form-email"><label for="email">' . __( '', 'altinoktaonalti' ) . '</label> ' . ( $req ? '<span class="required"></span>' : '' ) . '<input id="email" name="email" value="E-Posta Adresiniz" type="text" value="' . esc_attr( $commenter['comment_author_email'] ) . '" size="30"' . $aria_req . ' /></p>', ); $required_text = __('İsim ve mail adresinizi yazın. E-Posta adresiniz gizli kalacaktır.', 'altinoktaonalti').' <span class="required"></span>'; ?> <?php comment_form( array( 'fields' => apply_filters( 'comment_form_default_fields', $fields ), 'must_log_in' => '<p class="must-log-in">' . sprintf( __( 'Yorum yapabilmek için <a href="%s">giriş yap</a>malısınız.' , 'altinoktaonalti' ), wp_login_url( apply_filters( 'the_permalink', get_permalink( ) ) ) ) . '</p>', 'logged_in_as' => '<p class="logged-in-as">' . sprintf( __( '<a href="%1$s">%2$s</a> ile giriş yaptınız. <a href="%3$s" title="Log out of this account"> Çıkış yapmak istermisiniz?</a>' , 'altinoktaonalti' ), admin_url( 'profile.php' ), $user_identity, wp_logout_url( apply_filters( 'the_permalink', get_permalink( ) ) ) ) . '</p>', 'comment_notes_before' => '<p class="comment-notes">' . __( '' , 'altinoktaonalti' ) . ( $req ? $required_text : '' ) . '</p>', 'title_reply' => __( 'Yorum Yapmak İster misiniz?' , 'altinoktaonalti' ), 'title_reply_to' => __( ' %s kullanıcısına cevap Yaz' , 'altinoktaonalti' ), 'cancel_reply_link' => __( 'Cevaplamaktan vazgeç' , 'altinoktaonalti' ), 'label_submit' => __( 'Yorum Yap' , 'altinoktaonalti' ) )); ?> </div> Code (markup):
Just swap the code <?php $commenter = wp_get_current_commenter(); $req = get_option( 'require_name_email' ); $aria_req = ( $req ? " aria-required='true'" : '' ); $fields = array( 'author' => '<p class="comment-form-author">' . '<label for="author">' . __( '', 'altinoktaonalti' ) . '</label> ' . ( $req ? '<span class="required"></span>' : '' ) . '<input id="author" value="İsminiz" name="author" type="text" value="' . esc_attr( $commenter['comment_author'] ) . '" size="30"' . $aria_req . ' /></p>', 'email' => '<p class="comment-form-email"><label for="email">' . __( '', 'altinoktaonalti' ) . '</label> ' . ( $req ? '<span class="required"></span>' : '' ) . '<input id="email" name="email" value="E-Posta Adresiniz" type="text" value="' . esc_attr( $commenter['comment_author_email'] ) . '" size="30"' . $aria_req . ' /></p>', ); $required_text = __('İsim ve mail adresinizi yazın. E-Posta adresiniz gizli kalacaktır.', 'altinoktaonalti').' <span class="required"></span>'; ?> <?php comment_form( array( 'fields' => apply_filters( 'comment_form_default_fields', $fields ), 'must_log_in' => '<p class="must-log-in">' . sprintf( __( 'Yorum yapabilmek için <a href="%s">giriş yap</a>malısınız.' , 'altinoktaonalti' ), wp_login_url( apply_filters( 'the_permalink', get_permalink( ) ) ) ) . '</p>', 'logged_in_as' => '<p class="logged-in-as">' . sprintf( __( '<a href="%1$s">%2$s</a> ile giriş yaptınız. <a href="%3$s" title="Log out of this account"> Çıkış yapmak istermisiniz?</a>' , 'altinoktaonalti' ), admin_url( 'profile.php' ), $user_identity, wp_logout_url( apply_filters( 'the_permalink', get_permalink( ) ) ) ) . '</p>', 'comment_notes_before' => '<p class="comment-notes">' . __( '' , 'altinoktaonalti' ) . ( $req ? $required_text : '' ) . '</p>', 'title_reply' => __( 'Yorum Yapmak İster misiniz?' , 'altinoktaonalti' ), 'title_reply_to' => __( ' %s kullanıcısına cevap Yaz' , 'altinoktaonalti' ), 'cancel_reply_link' => __( 'Cevaplamaktan vazgeç' , 'altinoktaonalti' ), 'label_submit' => __( 'Yorum Yap' , 'altinoktaonalti' ) )); ?> </div> <div id="comments"> <?php if ( post_password_required() ) : ?> <p class="nopassword"><?php _e( 'This post is password protected. Enter the password to view any comments.', 'altinoktaonalti' ); ?></p> </div> <?php return; endif; ?> <?php if ( have_comments() ) : ?> <?php comments_number(__('Bu yazıya hiç yorum yapılmamış. İlk yorumu sen yapmak ister misin?','altinoktaonalti'), __('1 yorum yapılmış. Sende yorum yap','altinoktaonalti'), '% '.__('yorum yapılmış. Bir yorumda sen yap!','altinoktaonalti') );?> <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : ?> <div class="navigation"> <div class="nav-previous"><?php previous_comments_link( __( '<span class="meta-nav">←</span> Eski Yorumlar', 'altinoktaonalti' ) ); ?></div> <div class="nav-next"><?php next_comments_link( __( 'Yeni Yorumlar <span class="meta-nav">→</span>', 'altinoktaonalti' ) ); ?></div> </div> <?php endif; ?> <?php $comments_by_type = &separate_comments($comments); ?> <?php if ( !empty($comments_by_type['comment']) ) : ?> <ul class="commentlist"><?php wp_list_comments('type=comment&callback=custom_com ments'); ?></ul> <?php endif; ?> <?php $comment_counter = 0 ; ?> <?php if ( !empty($comments_by_type['pings']) ) : ?> <div id="pings" class="commentlist"> <ol class="pinglist"><?php wp_list_comments('type=pings&trackback&pingback&ca llback=custom_pings'); ?></ol> </div> <?php endif; ?> <?php else : if ( ! comments_open() && get_comments_number() ) : ?> <p class="nocomments"><?php _e( 'Yoruma kapalı.', 'altinoktaonalti' ); ?></p> <?php endif; ?> <?php endif; ?> Code (markup):