' . __('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' => '
', '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-">