'; $author_personal_blog_comment_field['email'] = ''; $author_personal_blog_comment_field['url'] = ' '; return $author_personal_blog_comment_field; } add_filter( 'comment_form_defaults', 'author_personal_blog_comment_default_form' ); function author_personal_blog_comment_default_form( $default_form ) { $default_form['comment_field'] = ''; $default_form['submit_button'] = ''; $default_form['title_reply'] = esc_attr__( 'Leave A Comment', 'author-personal-blog' ); $default_form['title_reply_before'] = '

'; $default_form['title_reply_after'] = '

'; return $default_form; } add_filter( 'comment_form_fields', 'author_personal_blog_comment_form_structure' ); function author_personal_blog_comment_form_structure( $fields ) { $reordered_fields = array(); $reordered_fields['author'] = $fields['author']; $reordered_fields['email'] = $fields['email']; if ( function_exists( 'is_woocommerce' ) && ! is_woocommerce() ) { $reordered_fields['url'] = $fields['url']; } $reordered_fields['comment'] = $fields['comment']; $reordered_fields['cookies'] = $fields['cookies']; return $reordered_fields; } if ( ! function_exists( 'author_personal_blog_comment_list' ) ) : /** * Template for comments and pingbacks. * * Used as a callback by wp_list_comments() for displaying the comments. * * @since Shape 1.0 */ function author_personal_blog_comment_list( $comment, $args, $depth ) { $tag = ( 'div' === $args['style'] ) ? 'div' : 'li'; $add_below = ( 'div' === $args['style'] ) ? 'comment' : 'div-comment'; ?> < id="comment-">
comment_approved == '0' ) : ?>

$depth, 'max_depth' => $args['max_depth'], 'before' => '
', 'after' => '
', ) ) ); ?>