function the_breadcrumb() { global $post; if (!is_home()) { echo ""; if(is_single()): echo 'Main'; else: echo "Home"; endif; echo " / "; if ( is_category() || is_single() ) { the_category(', '); if ( is_single() ) { echo " / "; the_title(); } } elseif ( is_page() && $post->post_parent ) { echo "post_parent)."">".get_the_title($post->post_parent) . ""; echo " / "; echo the_title(); } elseif (is_page()) { echo ''; echo the_title(); echo ""; } } }
1 comment
Comments are closed.
You should change this line:
To something like this: