yoast breadcrumbs displaying twice in child pages
-
I am having an issue where the Yoast breadcrumbs are not showing up on the main pages (ie parent pages) but are showing up in the child page….but showing up twice in the child pages. Through FireBug I can see that the code I added is being called correctly:
<?php if ( function_exists(‘yoast_breadcrumb’) ) {
yoast_breadcrumb(‘<div id=”breadcrumbs”>’,'</div>’);
} ?>, but somewhere the default breadcrumbs code is also being called. The problem is, I can’t for the life of me figure out where the default code is being called:
<?php if ( function_exists(‘yoast_breadcrumb’) ) {
yoast_breadcrumb(‘<p id=”breadcrumbs”>’,'</p>’);
} ?>I’m using the Roots theme and the funny thing is the breadcrumbs work great on another site I did (with a different theme) so I don’t understand what’s going wrong here.
- The topic ‘yoast breadcrumbs displaying twice in child pages’ is closed to new replies.