beans_comment_form

Echo comment navigation.

beans_comment_form( )

Return: (void)

Source

function beans_comment_form() {

	$output = beans_open_markup( 'beans_comment_form_wrap', 'div', array( 'class' => 'uk-form tm-comment-form-wrap' ) );

		$output .= beans_render_function( 'comment_form', array(
			'title_reply' => beans_output( 'beans_comment_form_title_text', __( 'Add a Comment', 'tm-beans' ) ),
		) );

	$output .= beans_close_markup( 'beans_comment_form_wrap', 'div' );

	$submit = beans_open_markup( 'beans_comment_form_submit', 'button', array(
		'class' => 'uk-button uk-button-primary',
		'type' => 'submit',
	) );

		$submit .= beans_output( 'beans_comment_form_submit_text', __( 'Post Comment', 'tm-beans' ) );

	$submit .= beans_close_markup( 'beans_comment_form_submit', 'button' );

	// WordPress, please make it easier for us.
	echo preg_replace( '#<input[^>]+type="submit"[^>]+>#', $submit, $output );

}