Skip to content

Instantly share code, notes, and snippets.

@WordPress-Handbuch
Created March 10, 2019 12:42
Show Gist options
  • Save WordPress-Handbuch/984bcd0c3100737c01605ddff39ed5c6 to your computer and use it in GitHub Desktop.
Save WordPress-Handbuch/984bcd0c3100737c01605ddff39ed5c6 to your computer and use it in GitHub Desktop.
PHP/HTML code fragment to include Yoast SEO's breadcrumbs into any template (e. g. page.php or single.php)
<?php
if ( function_exists('yoast_breadcrumb') ) {
yoast_breadcrumb( '<p id="breadcrumbs">','</p>' );
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment