ループを実行しているので、comments.php
テーマファイルのコードを使用するだけで済みます。ここにはかなり一般的なものがあります。 のコードをの中に入れてください。
<div id="comments">
<?php if (have_comments()) : ?>
<h3 id="comments-title"><?php
printf(_n('One Response to %2$s', '%1$s Responses to %2$s', get_comments_number()),
number_format_i18n(get_comments_number()), '<em>' . get_the_title() . '</em>');
?></h3>
<?php if (get_comment_pages_count() > 1 && get_option('page_comments')) : // Are there comments to navigate through? ?>
<div class="navigation">
<div class="nav-previous"><?php previous_comments_link('<span class="meta-nav">←</span> Older Comments'); ?></div>
<div class="nav-next"><?php next_comments_link('Newer Comments <span class="meta-nav">→</span>'); ?></div>
</div> <!-- .navigation -->
<?php endif; // check for comment navigation ?>
<ol class="commentlist">
<?php
wp_list_comments(array(
'type' => 'comment',
'avatar_size' => '35',
'style' => 'div',
'reverse_top_level' => true
));
?>
</ol>
<?php if (get_comment_pages_count() > 1 && get_option('page_comments')) : // Are there comments to navigate through? ?>
<div class="navigation">
<div class="nav-previous"><?php previous_comments_link('<span class="meta-nav">←</span> Older Comments'); ?></div>
<div class="nav-next"><?php next_comments_link('Newer Comments <span class="meta-nav">→</span>'); ?></div>
</div><!-- .navigation -->
<?php endif; // check for comment navigation ?>
<?php else : // or, if we don't have comments:
/* If there are no comments and comments are closed,
* let's leave a little note, shall we?
*/
if (! comments_open()) : ?>
<!--<p class="nocomments">Comments are closed.</p>-->
<?php endif; // end ! comments_open()
endif; // end have_comments()
comment_form(array(
'comment_notes_after' => '<p style="margin: 0 0 10px 50px;color:gray;"><b> <i> and <strike> only</p>',
'fields' => array(
'author' => '<p class="comment-form-author">' . '<label for="author">Name</label> ' . ($req ? '<span class="required">*</span> ' : '') .
'<input id="author" name="author" type="text" value="' . esc_attr($commenter['comment_author']) . '" size="30"' . $aria_req . ' /></p>',
'email' => '<p class="comment-form-email"><label for="email">' . __('Email') . '</label> ' . ($req ? '<span class="required">*</span> ' : '') .
'<input id="email" name="email" type="text" value="' . esc_attr( $commenter['comment_author_email']) . '" size="30"' . $aria_req . ' /></p>'
)
)
);
?>
</div><!-- #comments -->
あなたも '(奇数私は知っている)と呼ばれているが、上記動作しません)メインのクエリオブジェクトは' comments_template(後までコメントが含まれていませんwordpress.stackexchange.com – JakeParis