esc_html__( 'Leave a Comment', 'timber-lite' ),
// 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' => esc_html__( 'Submit', 'timber-lite' ),
// redefine your own textarea (the comment body)
'comment_field' => ''
);
} else {
$comments_args = array(
// change the title of send button
'title_reply' => esc_html__( 'Leave a Comment', 'timber-lite' ),
// 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' => esc_html__( 'Submit', 'timber-lite' ),
// 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 );
' . number_format_i18n( get_comments_number() ) . '' . esc_html( _n( 'Comment', 'Comments', number_format_i18n( get_comments_number() ), 'timber-lite' ) ); else: echo '+' . esc_html__( 'There are no comments', 'timber-lite'); endif; ?>
' . esc_html__( 'Add yours', 'timber-lite' ) . ''; ?>'timber_lite_comment', 'short_ping' => true ) ); ?>
1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?>