Home › Forums › Gravida Support › Breadcrumb
- This topic has 5 replies, 2 voices, and was last updated 6 years, 4 months ago by
Sonnal S Sinha.
-
AuthorPosts
-
July 5, 2017 at 5:01 pm #77380
Hi,
I would like to insert Yoast SEO breadcrumb code into the theme.
I tried bottom of header.php. It works but appears on the main page as well, on the other page appears between the header and the header image.
I tried on page.php simple does not appear the breadcrumb anywhere.Which is the correct place for Yoast SEO breadcrumb code?
<?php
if ( function_exists(‘yoast_breadcrumb’) ) {
yoast_breadcrumb(‘
<p id=”breadcrumbs”>’,'</p>
‘);
}
?>July 6, 2017 at 5:18 am #77402Hi,
Kindly show us your website URL so that we can assist further.
Regards,
BradJuly 6, 2017 at 7:18 am #77415July 6, 2017 at 10:48 am #77475Hi,
Kindly edit gravida-pro/sktframe/core-pageheader.php and paste below code at the very end.
<?php if(!is_front_page()) { if ( function_exists('yoast_breadcrumb') ) { yoast_breadcrumb('<div class="center"><p id="breadcrumbs">','</p></div>'); } } ?>
After that kindly go to Appearance » Customize » Basic » Custom CSS and paste below code there:
#breadcrumbs { clear: both; margin: 0; padding: 25px 0; }
Regards,
BradJuly 6, 2017 at 2:36 pm #77516Thank you!
It worksLaci
July 7, 2017 at 5:39 am #77548Hi Laci,
If you found our service good kindly review us here: https://www.sktthemes.org/forums/topic/reviews-and-testimonials/page/7/
Regards,
Brad -
AuthorPosts
- You must be logged in to reply to this topic.