comment_type ) : case 'pingback' : case 'trackback' : ?>
  • id="comment-">
    cryout_schema_microdata('image', 0) ) ); ?>
    > %s', get_comment_author_link() ) ); ?>
    >
    ' ' . __( 'Reply', 'esotera' ), 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?>
    comment_approved == '0' ) : ?>
    closed by wp_comments_list() } // esotera_comment() endif; /** Number of comments on loop post if comments are enabled. */ if ( ! function_exists( 'esotera_comments_on' ) ) : function esotera_comments_on() { $meta_blog_comment = cryout_get_option( 'theme_meta_blog_comment' ); // Only show comments if they're open, or are closed but with comments already posted, if the theme's meta comments are enabled and if it's not a single post if ( ( comments_open() || get_comments_number() ) && ! post_password_required() && $meta_blog_comment && ! is_single() ) : echo ''; comments_popup_link( 0, 1, number_format_i18n( get_comments_number() ), '', '' ); echo ''; endif; } // esotera_comments_on() endif; /** Number of comments on single post if comments are enabled. */ if ( ! function_exists( 'esotera_comments_on_single' ) ) : function esotera_comments_on_single() { $meta_single_comment = cryout_get_option( 'theme_meta_single_comment' ); // Only show comments if they're open, or are closed but with comments already posted, if the theme's meta comments are enabled and if it's not a single post if ( ( comments_open() || get_comments_number() ) && $meta_single_comment && is_single() ) : echo ' '; comments_popup_link( __( 'Leave a comment', 'esotera' ), __( 'One Comment', 'esotera' ), sprintf( _n( '%1$s Comment', '%1$s Comments', get_comments_number(), 'esotera' ), number_format_i18n( get_comments_number() ) ), '', '' ); echo ''; endif; } // esotera_comments_on_single() endif; /** Adds microdata tags to comment link */ if ( ! function_exists( 'esotera_comments_microdata' ) ) : function esotera_comments_microdata() { cryout_schema_microdata('comment-meta'); } // esotera_comments_microdata() endif; add_filter( 'comments_popup_link_attributes', 'esotera_comments_microdata' ); /* Edit comments form inputs: removed labels and replaced them with placeholders */ function esotera_comments_form( $arg ) { $commenter = wp_get_current_commenter(); $req = get_option( 'require_name_email' ); $aria_req = ( $req ? " aria-required='true'" : '' ); $arg = array( 'author' => '

    ' . '

    ', 'email' => '

    ' . '

    ', 'url' => '

    ' . '

    ', 'cookies' => '', ); return $arg; } // esotera_comments_form() /* Edit comments form textarea: removed label and replaced it with a placeholder */ function esotera_comments_form_textarea( $arg ) { $arg = '

    '; return $arg; } // esotera_comments_form_textarea() /* Hooks are located in cryout_master_hook() in core.php */ /* FIN */