'; echo esc_html(single_post_title()); echo '';
} else{
bizzoy_archive_page_title();
}
?>
array(),
'em' => array(),
'strong' => array(),
'i' => array(
'class' => array(),
),
'span' => array(),
);
echo '
';
if (is_home() || is_front_page()) :
echo '- '.esc_html__('Home','bizzoy').'
';
else:
echo '- '.esc_html__('Home','bizzoy').'
';
// Blog Category
if ( is_category() ) {
echo '- ' . esc_html__('Archive by category','bizzoy').' "' . single_cat_title('', false) . '"
';
// Blog Day
} elseif ( is_day() ) {
echo '- '. get_the_time( esc_html__( 'Y', 'bizzoy' ) ) .'';
echo '
- '. get_the_time( esc_html__( 'F', 'bizzoy' ) ) .'';
echo '
- '. get_the_time( esc_html__( 'd', 'bizzoy' ) ) .'
';
// Blog Month
} elseif ( is_month() ) {
echo '- ' . get_the_time( esc_html__( 'Y', 'bizzoy' ) ) . '';
echo '
- '. get_the_time( esc_html__( 'F', 'bizzoy' ) ) .'
';
// Blog Year
} elseif ( is_year() ) {
echo '- '. get_the_time( esc_html__( 'Y', 'bizzoy' ) ) .'
';
// Single Post
} elseif ( is_single() && !is_attachment() && is_page('single-product') ) {
// Custom post type
if ( get_post_type() != 'post' ) {
$cat = get_the_category();
$cat = $cat[0];
echo '- ';
echo get_category_parents($cat, TRUE, '');
echo '
';
echo '- '. wp_title( '',false ) .'
';
} }
elseif ( is_page() && $post->post_parent ) {
$parent_id = $post->post_parent;
$breadcrumbs = array();
while ($parent_id) {
$page = get_page($parent_id);
$breadcrumbs[] = '- ' . wp_kses( force_balance_tags(get_the_title($page->ID)), $allowed_html ) . '';
$parent_id = $page->post_parent;
}
$breadcrumbs = array_reverse($breadcrumbs);
foreach ($breadcrumbs as $crumb) echo $crumb;
echo '
- '. wp_kses( force_balance_tags(get_the_title()), $allowed_html ) .'
';
}
elseif( is_search() )
{
echo '- '. get_search_query() .'
';
}
elseif( is_404() )
{
echo '- '.esc_html__('Error 404','bizzoy').'
';
}
else {
// Default
echo '- '. wp_kses( force_balance_tags( get_the_title()), $allowed_html ) .'
';
}
endif;
echo '
'
?>