* @copyright Copyright 2014, Chris Aprea * @link http://wpaxl.com/themes/adoration * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html */ // Exit if accessed directly defined( 'ABSPATH' ) || exit; /** * Start wrapper for the comments section. * * @since 1.0.0 * @access public * @return void */ function adoration_before_comments_wrapper() { // Allow developers to short-circuit this function. $pre = apply_filters( 'adoration_pre_before_comments_wrapper', false ); if ( false !== $pre ) { echo $pre; return; } ?>

'ol', 'short_ping' => true, 'avatar_size' => 144, 'callback' => 'hybrid_comments_callback', 'end-callback' => 'hybrid_comments_end_callback' ); $args = apply_filters( 'adoration_comments_list_args', $args ); ?>

'', 'email' => '', 'url' => '', ); $comment_field = ''; $required_text = sprintf( '
' . esc_html__( 'Required fields are marked %s', 'adoration' ), '*' ); $args = array( 'comment_notes_before' => '

' . esc_html__( 'Your email address will not be published.', 'adoration' ) . '' . ( $req ? $required_text : '' ) . '

', 'comment_notes_after' => '

' . sprintf( wp_kses( __( 'You may use these HTML tags and attributes: %s', 'adoration' ), array( 'abbr' => array() ) ), ' ' . allowed_tags() . '' ) . '

', 'comment_field' => $comment_field, 'fields' => $fields, 'title_reply' => esc_html__( 'Post Comment', 'adoration' ), 'logged_in_as' => '', ); $args = apply_filters( 'adoration_comment_form_args', $args ); comment_form( $args ); } /** * End wrapper for the comments section. * * @since 1.0.0 * @access public * @return void */ function adoration_after_comments_wrapper_end() { // Allow developers to short-circuit this function. $pre = apply_filters( 'adoration_pre_before_comments_wrapper_end', false ); if ( false !== $pre ) { echo $pre; return; } ?>