- label ); ?>
parent != 0 ) {
$ancestors = array_reverse( get_ancestors( $term->term_id, $taxonomy ) );
foreach ( $ancestors as $ancestor_id ) { ++$j;
$ancestor = get_term( $ancestor_id, $taxonomy ); ?>
- name ); ?>
- name); ?>
term_id;
$cats = array($cat_id);
while( $cat_id ) {
$get_cat = get_term($cat_id);
$cat_id = $get_cat->parent;
array_push($cats, $cat_id);
}
array_pop($cats);
$cats = array_reverse($cats);
$j=1;
foreach( $cats as $cat_id ): $j++; ?>
- name ); ?>
parent;
array_push($cats, $cat_id);
}
array_pop($cats);
$cats = array_reverse($cats);
$j=1;
foreach($cats as $cat_id): $j++; ?>
post_parent ) { ?>
- post_parent) ); ?>
';
}
if( bunnypresslite_display_breadcrumb() == '1' ) echo wp_kses_post( bunnypresslite_breadcrumb() );
if( bunnypresslite_display_breadcrumb() == '2' ) { if( !is_home() && !is_front_page() ) echo wp_kses_post( bunnypresslite_breadcrumb() ); }
?>