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