• cat_ID; $cats = array($cat_id); while( $cat_id ) { $get_cat = get_category($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++; ?>
  • taxonomy )->object_type; $cpt = $post_types[0]; ?>
  • label ); ?>
  • parent != 0 ) { $ancestors = array_reverse( get_ancestors( $term->term_id, $taxonomy ) ); $j=2; foreach ( $ancestors as $ancestor_id ) { ++$j; $ancestor = get_term( $ancestor_id, $taxonomy ); ?>
  • name ); ?>
  • 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() ); } ?>