This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Prints the Breadcrumb in Storefront using the function by Yoast SEO. | |
*/ | |
function storefront_yoast_breadcrumb() { | |
if ( function_exists( 'yoast_breadcrumb' ) && ! is_home() ) { | |
yoast_breadcrumb( '<nav class="breadcrumbs">','</nav>' ); | |
} | |
} | |
add_action( 'storefront_content_top', 'storefront_yoast_breadcrumb' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment