'. esc_html($theme_options['breadcumb_seperator']) .''; // delimiter between crumbs echo blog_lite_custom_breadcrumbs( $showOnHome, $delimiter ); } else return false; } endif; add_action( 'blog_lite_breadcrumb_show', 'blog_lite_add_breadcrumb', 50 ); /** * Breadcrumb Lists * Allows visitors to quickly navigate back to a previous section or the root page. * * Adopted from Dimox * * @package Blog_lite */ if( !function_exists( 'blog_lite_custom_breadcrumbs' ) ) : function blog_lite_custom_breadcrumbs( $showOnHome, $delimiter ) { /* === OPTIONS === */ $text['home'] = __( 'Home', 'blog-lite' ); // text for the 'Home' link $text['category'] = __( '%1$s Archive for %2$s', 'blog-lite' ); // text for a category page $text['search'] = __( '%1$sSearch results for: %2$s', 'blog-lite' ); // text for a search results page $text['tag'] = __( '%1$sPosts tagged %2$s', 'blog-lite' ); // text for a tag page $text['author'] = __( '%1$sView all posts by %2$s', 'blog-lite' ); // text for an author page $text['404'] = __( 'Error 404', 'blog-lite' ); // text for the 404 page $showCurrent = 1; // 1 - show current post/page title in breadcrumbs, 0 - don't show $before = ''; // tag before the current crumb $after = ''; // tag after the current crumb /* === END OF OPTIONS === */ global $post, $paged, $page; $homeLink = home_url( '/' ); $linkBefore = ''; $linkAfter = ''; $linkAttr = ' rel="v:url" property="v:title"'; $link = $linkBefore . '%2$s ' . $delimiter . '' . $linkAfter; if( is_front_page() ) { if( $showOnHome ) { echo ''; } } else { echo ''; } } // end clean_magazine_breadcrumb_lists endif;