コメントのとこにアンカー(#cm)打ってあることが前提
//------------------------- // コメント数表示 $getcomment_arg = 'post_id=' . strval($post->ID) . '&order=ASC'; $comments = get_comments( $getcomment_arg ); if( 2 <= count($comments) ){ echo '<br>'; echo '<a href="' . get_permalink($post) . '#cm">'; echo 'コメント('; echo count($comments)-1; echo ')'; echo '</a>'; } //-------------------------