comment_type ) : case 'pingback' : case 'trackback' : ?>
  • Edit', 'albinomouse' ), ' ' ); ?>

  • id="li-comment-">
    says:', 'albinomouse' ), sprintf( '%s', get_comment_author_link() ) ); ?>
    comment_approved == '0' ) : ?>
    $depth, 'max_depth' => $args['max_depth'] ) ) ); ?>
    1, ) ); // Count the number of categories that are attached to the posts $all_the_cool_cats = count( $all_the_cool_cats ); set_transient( 'all_the_cool_cats', $all_the_cool_cats ); } if ( '1' != $all_the_cool_cats ) { // This blog has more than 1 category so albinomouse_categorized_blog should return true return true; } else { // This blog has only 1 category so albinomouse_categorized_blog should return false return false; } } /** * Flush out the transients used in albinomouse_categorized_blog * @since AlbinoMouse 1.0 */ function albinomouse_category_transient_flusher() { // Like, beat it. Dig? delete_transient( 'all_the_cool_cats' ); } add_action( 'edit_category', 'albinomouse_category_transient_flusher' ); add_action( 'save_post', 'albinomouse_category_transient_flusher' ); /** * Add Breadcrumbs Navigation * https://gist.github.com/senlin/2045630 * @since AlbinoMouse 1.3.3 */ function albinomouse_breadcrumb() { $pid = $post->ID; $trail = ''. __('Home', 'albinomouse') .''; if (is_page()) { $bcarray = array(); $pdata = get_post($pid); $bcarray[] = ' » '.$pdata->post_title."\n"; while ($pdata->post_parent) { $pdata = get_post($pdata->post_parent); $bcarray[] = ' » '.$pdata->post_title.''; } $bcarray = array_reverse($bcarray); foreach ($bcarray AS $listitem) { $trail .= $listitem; } } $trail.=""; return $trail; } ?>