Breadcrumbs with Yoast SEO
Hi,
How can I configure breadcrumbs with Yoast SEO? These are the steps I'm following:
1. Turn off "Use built-in fields" option at Global > SEO > General.
2. Enable breadcrumbs at Yoast SEO configuration.
3. Paste this code at Global > Hooks > Content before
<?php
if ( function_exists('yoast_breadcrumb') ) {
$breadcum = yoast_breadcrumb('<p id="breadcrumbs">','</p>',false);
echo $breadcum;
};
?>
And this is the result I get at my web page instead of the breadcrumb:
','
',false); echo $breadcum; }; ?>
Thanks!
Comments