comment_type ) { case 'pingback' : case 'trackback' : // Display trackbacks differently than normal comments. ?>
  • id="comment-">

    ', '' ); ?>

  • id="li-comment-">
    - sprintf( __( '%s Reply', 'adney' ), ' ' ) , 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?>
    comment_approved ) { //Comment moderation ?>
    exists() ? $user->display_name : ''; if ( ! isset( $args['format'] ) ) $args['format'] = current_theme_supports( 'html5', 'comment-form' ) ? 'html5' : 'xhtml'; $req = get_option( 'require_name_email' ); $aria_req = ( $req ? " aria-required='true'" : '' ); $html5 = 'html5' === $args['format']; $fields = array( 'author' => '
    ', 'email' => '
    ', 'url' => '
    ' . '
    ', ); $required_text = sprintf( ' ' . __('Required fields are marked %s', 'adney'), '*' ); $defaults = array( 'fields' => apply_filters( 'comment_form_default_fields', $fields ), 'comment_field' => '
    ', 'must_log_in' => '
    ' . sprintf( __( 'You must be logged in to post a comment.', 'adney' ), wp_login_url( apply_filters( 'the_permalink', get_permalink( $post_id ) ) ) ) . '
    ', 'logged_in_as' => '
    ' . sprintf( __( 'Logged in as %2$s. Log out?', 'adney' ), get_edit_user_link(), $user_identity, wp_logout_url( apply_filters( 'the_permalink', get_permalink( $post_id ) ) ) ) . '
    ', 'comment_notes_before' => '
    ' . __( 'Your email address will not be published.', 'adney' ) . ( $req ? $required_text : '' ) . '
    ', 'comment_notes_after' => '
    ' . sprintf( __( 'You may use these HTML tags and attributes: %s', 'adney' ), ' ' . allowed_tags() . '' ) . '
    ', 'id_form' => 'commentform', 'id_submit' => 'submit', 'title_reply' => __( 'Leave a Reply', 'adney' ), 'title_reply_to' => __( 'Leave a Reply to %s', 'adney' ), 'cancel_reply_link' => __( 'Cancel reply', 'adney' ), 'label_submit' => __( 'Post Comment', 'adney' ), 'format' => 'xhtml', ); $args = wp_parse_args( $args, apply_filters( 'comment_form_defaults', $defaults ) ); if ( comments_open( $post_id ) ) { ?>

    role="form"> $field ) { echo apply_filters( "comment_form_field_{$name}", $field ) . "\n"; } do_action( 'comment_form_after_fields' ); } echo apply_filters( 'comment_form_field_comment', $args['comment_field'] ); echo $args['comment_notes_after']; ?>
    %link ', '%title', true ); $next = get_next_post_link( '%link ', '%title', true ); // Only add markup if there's somewhere to navigate to. if ( $previous || $next ) { if($previous && !$next){ $navigation = _navigation_markup( $previous , 'post-navigation' ); }elseif(!$previous && $next){ $navigation = _navigation_markup( $next, 'post-navigation' ); }else{ $navigation = _navigation_markup( $previous .'/'. $next, 'post-navigation' ); } } echo $navigation; } } function adney_check_plugin_active(){ if ( ! function_exists( 'is_plugin_active' ) ){ require_once ABSPATH . '/wp-admin/includes/plugin.php' ; } if ( is_plugin_active( 'xylus-toolkit/xylus-toolkit.php' ) ) { return true; }else{ return false; } }