|
Server : Apache System : Linux s1230 5.15.0-139-generic #149~20.04.1 SMP Tue Jul 14 11:21:49 UTC 2026 x86_64 User : p141464 ( 418825) PHP Version : 7.4.33.12 Disable Function : NONE Directory : /html/wordpress-old/wp-content/themes/Evolution/includes/ |
Upload File : |
<div id="breadcrumbs">
<?php if(function_exists('bcn_display')) { bcn_display(); }
else { ?>
<a href="<?php bloginfo('url'); ?>"><?php esc_html_e('Home','Evolution') ?></a> <span class="raquo">»</span>
<?php if( is_tag() ) { ?>
<?php esc_html_e('Posts Tagged ','Evolution') ?><span class="raquo">"</span><?php single_tag_title(); echo('"'); ?>
<?php } elseif (is_day()) { ?>
<?php esc_html_e('Posts made in','Evolution') ?> <?php the_time('F jS, Y'); ?>
<?php } elseif (is_month()) { ?>
<?php esc_html_e('Posts made in','Evolution') ?> <?php the_time('F, Y'); ?>
<?php } elseif (is_year()) { ?>
<?php esc_html_e('Posts made in','Evolution') ?> <?php the_time('Y'); ?>
<?php } elseif (is_search()) { ?>
<?php esc_html_e('Search results for','Evolution') ?> <?php the_search_query() ?>
<?php } elseif (is_single()) { ?>
<?php $category = get_the_category();
if ( $category ) {
$catlink = get_category_link( $category[0]->cat_ID );
echo ('<a href="'.esc_url($catlink).'">'.esc_html($category[0]->cat_name).'</a> '.'<span class="raquo">»</span> ');
}
echo get_the_title(); ?>
<?php } elseif (is_category()) { ?>
<?php single_cat_title(); ?>
<?php } elseif (is_tax()) { ?>
<?php
$et_taxonomy_links = array();
$et_term = get_queried_object();
$et_term_parent_id = $et_term->parent;
$et_term_taxonomy = $et_term->taxonomy;
while ( $et_term_parent_id ) {
$et_current_term = get_term( $et_term_parent_id, $et_term_taxonomy );
$et_taxonomy_links[] = '<a href="' . esc_url( get_term_link( $et_current_term, $et_term_taxonomy ) ) . '" title="' . esc_attr( $et_current_term->name ) . '">' . esc_html( $et_current_term->name ) . '</a>';
$et_term_parent_id = $et_current_term->parent;
}
if ( !empty( $et_taxonomy_links ) ) echo implode( ' <span class="raquo">»</span> ', array_reverse( $et_taxonomy_links ) ) . ' <span class="raquo">»</span> ';
echo esc_html( $et_term->name );
?>
<?php } elseif (is_author()) { ?>
<?php
global $wp_query;
$curauth = $wp_query->get_queried_object();
?>
<?php esc_html_e('Posts by ','Evolution'); echo ' ',$curauth->nickname; ?>
<?php } elseif (is_page()) { ?>
<?php wp_title(''); ?>
<?php }; ?>
<?php } ?>
</div> <!-- end #breadcrumbs -->