'; } } add_action( 'wp_head', 'cali_pingback_header' ); /** * Single comment template */ function cali_comment_template($comment, $args, $depth) { ?>
  • has_children ? 'parent' : '' ); ?>>
    %s', get_comment_author_link() ) ; ?> ,
    comment_approved ) : ?>

    ', '' ); ?> 'div-comment', 'depth' => $depth, 'max_depth' => $args['max_depth'], 'before' => '', 'after' => '' ) ) ); ?>
    […]'; } else { return ' ' . esc_html( $more ) . ''; } } add_filter( 'excerpt_more', 'cali_custom_excerpt' ); /** * Remove labels from archives */ function cali_remove_archive_labels( $title ) { if ( is_category() ) { $title = single_cat_title( '', false ); } elseif ( is_tag() ) { $title = single_tag_title( '', false ); } elseif ( is_author() ) { $title = '' . get_the_author() . ''; } elseif ( is_post_type_archive() ) { $title = post_type_archive_title( '', false ); } elseif ( is_tax() ) { $title = single_term_title( '', false ); } return $title; } add_filter( 'get_the_archive_title', 'cali_remove_archive_labels' );