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


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

    I want to use Yoast SEO breadcrumbs in AVADA,
    I read this article:
    I must copy the following code into my theme where I want the breadcrumbs to be:

    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

    Post count: 772

    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)
  • You must be logged in to reply to this topic.