Breadcrumbs Fehler
-
Leider funktionieren die Breadcrumbs nicht. Ich erhalte die Meldung: Error: Taxonomy is not defined! Dies resultiert aus folgendem Code für die Breadcrumbs-Funktion aus meinem Theme:
else // taxonomy { if( is_singular() ){$taxonomies =''; if( ! $taxonomies ){ $taxonomies = get_taxonomies( array('hierarchical' => true, 'public' => true) ); if( count( $taxonomies ) == 1 ) $taxonomies = 'category'; } if( $term = get_the_terms( $post->post_parent ? $post->post_parent : $post->ID, $taxonomies ) ){ $term = array_shift( $term ); } } else $term = &$wp_query->get_queried_object(); if( ! $term && ! is_attachment() ) return print "Error: Taxonomy is not defined!";
Hast du da eine Idee? Ansonsten super Plugin!
- The topic ‘Breadcrumbs Fehler’ is closed to new replies.