Avada › Forums › Community Forum › How to use Yoast SEO breadcrumbs in AVADA?
Tagged: breadcrumbs
-
AuthorPosts
-
Hi,
I want to use Yoast SEO breadcrumbs in AVADA,
I read this article:
https://kb.yoast.com/kb/implement-wordpress-seo-breadcrumbs
I must copy the following code into my theme where I want the breadcrumbs to be:<?php if ( function_exists('yoast_breadcrumb') ) { yoast_breadcrumb( ' <p id="breadcrumbs">','</p> ' ); } ?>
But I dont’t know I should put code in single.php , page.php , or header.php?
And I dont’ know what place in php file is right?
Have anyone can help me?Thank youHi @peggyli
There is no need to use custom code in order to use Yoast SEO breadcrumbs with Avada. Our team replied to your support ticket on August 5th with the following info:
Avada includes a check in this file -> class-avada-breadcrumbs.php
if ( function_exists( 'yoast_breadcrumb' ) && $options && true === $options['breadcrumbs-enable'] ) {
This means and I double checked it again just now that as soon as you enable Yoast SEO breadcrumbs, they work as expected. If you need further guidance and/or assistance please reply back to the support ticket you opened previously.
Thank you kindly
-
AuthorPosts
- You must be logged in to reply to this topic.