Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if ( function_exists('register_sidebar') ) register_sidebars(2);
- function the_breadcrumb() {
- global $post;
- if ( !is_home() ) {
- echo '' . get_bloginfo('name') . '»';
- if ( is_category() || is_single() ) {
- the_category(', ');
- if ( is_single() ) echo '»' . get_the_title();
- }
- if ( is_page() && $post->post_parent ) echo 'post_parent' . '>' . get_the_title($post->post_parent) . '»';
- if ( is_page() ) the_title();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement