output( $args ); } add_action( 'genesis_before_loop', 'genesis_do_breadcrumbs' ); /** * Display Breadcrumbs above the Loop. Concedes priority to popular breadcrumb * plugins. * * @since 1.0.0 * * @return void Return early if Genesis settings dictate that no breadcrumbs should show in current context. */ function genesis_do_breadcrumbs() { if ( ( is_single() && ! genesis_get_option( 'breadcrumb_single' ) ) || ( is_page() && ! genesis_get_option( 'breadcrumb_page' ) ) || ( is_404() && ! genesis_get_option( 'breadcrumb_404' ) ) || ( is_attachment() && ! genesis_get_option( 'breadcrumb_attachment' ) ) || ( ( 'posts' === get_option( 'show_on_front' ) && is_home() ) && ! genesis_get_option( 'breadcrumb_home' ) ) || ( ( 'page' === get_option( 'show_on_front' ) && is_front_page() ) && ! genesis_get_option( 'breadcrumb_front_page' ) ) || ( ( 'page' === get_option( 'show_on_front' ) && is_home() ) && ! genesis_get_option( 'breadcrumb_posts_page' ) ) || ( ( is_archive() || is_search() ) && ! genesis_get_option( 'breadcrumb_archive' ) ) ) { return; } $breadcrumb_markup_open = sprintf( '