- This topic has 5 replies, 2 voices, and was last updated 8 years, 2 months ago by .
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- You must be logged in to reply to this topic.
Home › Forums › Gravida Support › Breadcrumb
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>
‘);
}
?>
Hi,
Kindly show us your website URL so that we can assist further.
Regards,
Brad
Hi,
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,
Brad
Thank you!
It works
Laci
Hi Laci,
If you found our service good kindly review us here: https://www.sktthemes.org/forums/topic/reviews-and-testimonials/page/7/
Regards,
Brad
Do you want to activate WordPress plugins from the database? This term is new yet interesting to learn. And if you are looking for an […]
Image Gallery WordPress Plugins You’ve got stunning visuals, but WordPress’s built-in gallery block is too basic. It doesn’t let you do fancy layouts, lightboxes, or […]
Insert Headers and Footers Plugins When you need to add essential scripts—think Google Analytics, Facebook Pixel, or custom CSS—to your site, modifying theme files is […]