'; if ( get_option('comment_registration') && !is_user_logged_in()) : printf('

' . __('You must be %s ','blogan'), ('logged in'). __(' to post a comment', 'blogan').'

' ); else : $commenter = wp_get_current_commenter(); $req = get_option( 'require_name_email' ); $aria_req = ( $req ? " aria-required='true'" : '' ); $fields = array( 'author' => '

' . ( $req ? '*' : '' ) . '

', 'email' => '

' . ( $req ? '*' : '' ) . '

', 'url' => '

' . '

', ); $new_default = array( 'comment_notes_before' => '

' . __( 'Your email address will not be published.', 'blogan' ) . ( $req ? '*' : '' ) . '

', 'comment_notes_after' => '', 'id_submit' => 'comment-submit', 'class_submit' => 'btn btn-default', 'cancel_reply_before' => '', 'cancel_reply_link' => '', 'cancel_reply_after' => '', 'comment_field' => '

', 'fields' => apply_filters( 'comment_form_default_fields', $fields ), ); comment_form($new_default); endif; echo ''; /** * Adding function comment list style. * Callback wp_list_comments */ function blogan_comment($comment, $args, $depth) { if ( 'div' === $args['style'] ) { $tag = 'div'; $add_below = 'comment'; } else { $tag = 'li'; $add_below = 'div-comment'; } ?> < id="comment-">
%s', get_comment_author_link() ); ?>
', ' ', '' ); ?>
$add_below, 'depth' => $depth, 'reply_text' => '', 'max_depth' => $args['max_depth'] ) ) ); ?>
comment_approved == '0' ) : ?>