Home Forums Community Forum How to use Yoast SEO breadcrumbs in AVADA?

Only users with a registered purchase of Avada can post to the community forum. Please register your purchase here.

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • peggyli
    Participant
    Post count: 3

    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 you

    Michael
    Keymaster
    Post count: 497

    Hi @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

Viewing 2 posts - 1 through 2 (of 2 total)
Only users with a registered purchase of Avada can post to the community forum. Please register your purchase here.