Tagged: breadcrumb, Yoast
Hi there!
I have searched the forum, but I can’t find an answer on how to exactly integrate Yoast breadcrumbs (for the google Rich Snippets) in Enfold.
What I would like is to have the breadcrumbs featured in the Google search result, but not necessarily displayed on the page (I have hidden de Header on almost all of my pages). I hope you can help me.
Kind regards,
Dave
Hello dreedijk!
Our breadcrumb is already seo optimized and you don’t need to install the Yoast breadcrumb. However if you want to use it replace following code in header.php
<!-- end header -->
</header>
with
<?php if ( function_exists('yoast_breadcrumb') ) {
yoast_breadcrumb('<p class="yoast-breadcrumbs">','</p>');
} ?>
<!-- end header -->
</header>
and then insert following code into the quick css field
.yoast-breadcrumbs{ display: none; }
to hide it. Personally I do not recommend this customization.
Cheers!
Peter
Hi Peter,
Thanks for the instructions. I rather not do this either!
You put me however on the right track! I want the breadcrumbs display in de google results (google’s Rich Snippets feature) and the Enfold build in breadcrumbs don’t do this if you don’t select the option to display the Header on the page, post or portfolio (found that out after your remark and some testing). So I have activated this feature (which is the default setting) again and added this to the Quick CSS:
.title_container{display:none;}
this results in not displaying the header and the breadcrumbs on the pages, but does convert the URL in the Google results to a breadcrumb path (which you can test here: http://www.google.com/webmasters/tools/richsnippets). This is exactly what I want.
So thanks and I’ll keep using the Enfold breadcrumbs!
Dave