__( ' Leave a Comment', 'rosa_txtd' ),
// remove "Text or HTML to be displayed after the set of comment fields"
'comment_notes_before' => '',
'comment_notes_after' => '',
'fields' => apply_filters( 'comment_form_default_fields', array(
'author' => '',
'email' => ''
) ),
'id_submit' => 'comment-submit',
'label_submit' => __( 'Submit', 'rosa_txtd' ),
// redefine your own textarea (the comment body)
'comment_field' => ''
);
} else {
$comments_args = array(
// change the title of send button
'title_reply' => __( ' Leave a Comment', 'rosa_txtd' ),
// remove "Text or HTML to be displayed after the set of comment fields"
'comment_notes_before' => '',
'comment_notes_after' => '',
'fields' => apply_filters( 'comment_form_default_fields', array(
'author' => ''
) ),
'id_submit' => 'comment-submit',
'label_submit' => __( 'Submit', 'rosa_txtd' ),
// redefine your own textarea (the comment body)
'comment_field' => ''
);
}
//if we have no comments than we don't a second title, one is enough
if ( ! have_comments() ) {
$comments_args['title_reply'] = '';
}
comment_form( $comments_args );
1 comment', '%1$s Comments', get_comments_number(), 'rosa_txtd' ), number_format_i18n( get_comments_number() ) ); else: _e( '+ There are no comments', 'rosa_txtd' ); endif; ?>
' . __( 'Add yours', 'rosa_txtd' ) . ''; ?>'wpgrade_comments', 'short_ping' => true ) ); ?>
1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?>