'. $options['breadcumb_seperator'] .''; // delimiter between crumbs echo catchresponsive_custom_breadcrumbs( $showOnHome, $delimiter ); } else return false; } endif; add_action( 'catchresponsive_after_header', 'catchresponsive_add_breadcrumb', 50 ); /** * Breadcrumb Lists * Allows visitors to quickly navigate back to a previous section or the root page. * * Adopted from Dimox * * @since Catch Responsive 1.0 */ if ( !function_exists( 'catchresponsive_custom_breadcrumbs' ) ) : function catchresponsive_custom_breadcrumbs( $showOnHome, $delimiter ) { /* === OPTIONS === */ $text['home'] = __( 'Home', 'catch-responsive' ); // text for the 'Home' link $text['category'] = __( '%1$s Archive for %2$s', 'catch-responsive' ); // text for a category page $text['search'] = __( '%1$sSearch results for: %2$s', 'catch-responsive' ); // text for a search results page $text['tag'] = __( '%1$sPosts tagged %2$s', 'catch-responsive' ); // text for a tag page $text['author'] = __( '%1$sView all posts by %2$s', 'catch-responsive' ); // text for an author page $text['404'] = __( 'Error 404', 'catch-responsive' ); // 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 catchresponsive_breadcrumb_lists endif;