Skip to content

Instantly share code, notes, and snippets.

@Trustiko
Created February 22, 2020 02:16
Show Gist options
  • Save Trustiko/74a4fb3e79cc98ed3c998842d448af7a to your computer and use it in GitHub Desktop.
Save Trustiko/74a4fb3e79cc98ed3c998842d448af7a to your computer and use it in GitHub Desktop.
Yoast Breadcrumbs
if ( ! function_exists( 'x_breadcrumbs' ) ) :
function x_breadcrumbs() {
if ( x_get_option( 'x_breadcrumb_display', 1 ) && function_exists('yoast_breadcrumb') ) {
yoast_breadcrumb('<p id="breadcrumbs">','</p>');
}
}
endif;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment