* @copyright Copyright (c) 2018, Radiuzz * @link http://caelum.radiuzz.com * @license http://www.gnu.org/licenses/gpl-2.0.html GNU General Public License v2 or later */ /** * Add custom HTML just after the opening `
` tag in the comment_form() output. */ add_action( 'comment_form_top', function(){ // Adjust this to your needs: echo '
'; }); /** * Add custom HTML just before the close `` tag in the comment_form() output. */ add_action( 'comment_form_bottom', function(){ // Adjust this to your needs: echo '
'; }); /* * If the current post is protected by a password and * the visitor has not yet entered the password we will * return early without loading the comments. */ if ( post_password_required() ) { return; } ?>

'commentform', 'class_form' => 'caelum-form', 'id_submit' => 'comment_submit', 'title_reply' => esc_html__( 'Leave a Reply' ,'caelum'), 'title_reply_to' => esc_html__( 'Leave a Comment to %s' ,'caelum'), 'cancel_reply_link' => esc_html__( 'Cancel Comment' ,'caelum'), 'label_submit' => esc_html__( 'Post Comment' ,'caelum'), 'comment_field' => '
', 'must_log_in' => '', 'logged_in_as' => '

' . wp_kses_post(sprintf( __( 'Logged in as %2$s. Log out?' ,'caelum'), admin_url( 'profile.php' ), $user_identity, wp_logout_url( apply_filters( 'the_permalink', get_permalink( ) ) ) ) ). '

', 'comment_notes_before' => '', 'comment_notes_after' => '', 'class_submit' => '', 'fields' => apply_filters( 'comment_form_default_fields', array( 'author' => '
', 'email' => '
', 'url' => '
', ) ) ); comment_form($args); ?>