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