Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <br/>
- <div id="pagetop">
- <h1>
- <?php if (is_category()) single_cat_title();
- elseif (is_tag()) single_tag_title();
- elseif (is_day()) the_time('F jS, Y');
- elseif (is_month()) the_time('F, Y');
- elseif (is_year()) the_time('Y');
- elseif (is_search()) the_search_query();
- elseif (is_author()) {
- global $wp_query;
- $curauth = $wp_query->get_queried_object();
- echo $curauth->nickname;
- }
- else the_title();
- ?>
- </h1>
- <?php get_template_part('includes/postinfo'); ?>
- </div> <!-- end #pagetop -->
- <div id="breadcrumbs">
- <div id="breadcrumbs-left"></div>
- <div id="breadcrumbs-content">
- <?php if(function_exists('bcn_display')) { bcn_display(); }
- else { ?>
- <a href="<?php bloginfo('url'); ?>"><?php esc_html_e('Strona główna','MyProduct') ?></a> »
- <?php if( is_tag() ) { ?>
- <?php esc_html_e('Informacja powiązana "','MyProduct') ?><?php single_tag_title(); echo('"'); ?>
- <?php } elseif (is_day()) { ?>
- <?php esc_html_e('Posts made in','MyProduct') ?> <?php the_time('F jS, Y'); ?>
- <?php } elseif (is_month()) { ?>
- <?php esc_html_e('Posts made in','MyProduct') ?> <?php the_time('F, Y'); ?>
- <?php } elseif (is_year()) { ?>
- <?php esc_html_e('Posts made in','MyProduct') ?> <?php the_time('Y'); ?>
- <?php } elseif (is_search()) { ?>
- <?php esc_html_e('Search results for','MyProduct') ?> <?php the_search_query() ?>
- <?php } elseif (is_single()) { ?>
- <?php $category = get_the_category();
- $catlink = get_category_link( $category[0]->cat_ID );
- echo ('<a href="'.$catlink.'">'.$category[0]->cat_name.'</a> » '.get_the_title()); ?>
- <?php } elseif (is_category()) { ?>
- <?php single_cat_title(); ?>
- <?php } elseif (is_author()) { ?>
- <?php esc_html_e('Posts by ','MyProduct'); echo ' ',$curauth->nickname; ?>
- <?php } elseif (is_page()) { ?>
- <?php wp_title(''); ?>
- <?php }; ?>
- <?php }; ?>
- </div> <!-- end #breadcrumbs-content -->
- <div id="breadcrumbs-right"></div>
- </div> <!-- en
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement