Hi
where do I insert Yoast breadcrumbs and under which line?
<?php if ( function_exists(‘yoast_breadcrumb’) ) {
yoast_breadcrumb(‘<p id=”breadcrumbs”>’,'</p>’);
} ?>
Sorry to ask but got confused … Also do I need to disable yours so no conflict ?
Thanks
please help
Hey!
Open up /enfold/functions-enfold.php and change line 311 from this.
if($breadcrumb) $additions .= avia_breadcrumbs(array('separator' => '/', 'richsnippet' => true));
To this.
if($breadcrumb) $additions .= yoast_breadcrumb('<div class="breadcrumbs breadcrumb avia-breadcrumbs">','</div>', false);
Regards,
Elliott
thanks elliot
so I ignore?
<?php if ( function_exists(‘yoast_breadcrumb’) ) {
yoast_breadcrumb(‘<p id=”breadcrumbs”>’,'</p>’);
} ?>
and just add your line?
Hi!
Yes, ignore the default code application and try with Elliott’s method.
Regards,
Josue
thanks Josue
love the theme!
Hope you don’t mind me suggesting but I think you need to update your blog layout/styles … I feel you can do much better.
Happy holidays!
Hi!
Thank you for your suggestion. Please feel free to request it here – https://kriesi.at/support/enfold-feature-requests/
Happy holidays!
Best regards,
Yigit