Actual comments not showing, but form is?
I have edited the comments form to remove a few fields and now the approved comments don't show up, just the form itself.
What am I missing from this?
?php
$comment_args = array(
'fields' = apply_filters(
'comment_form_default_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!-- #form-section-author .form-section --',
'url' = ''
)
),
'comment_field' = 'p class="comment-form-comment"' .
'label for="comment"' . __( '' ) . '/label' .
'textarea id="comment" name="comment" cols="45" rows="8" aria-required="true"/textarea' .
'/p!-- #form-section-comment .form-section --',
'comment_notes_after' = '',
'title_reply' = 'Leave a Comment',
'comment_notes_before' = '',
);
comment_form( $comment_args );
?
No sign of the commentslist? Even adding wp_list_comments doesn’t work.
Anyone able to help, many thanks?
Topic comment-form comments Wordpress
Category Web