Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1098160

    There are a lot of posts about using Yoast breadcrumbs but most of those topics are closed and I didn’t find a solution.

    I want to add this code from Yoast:
    <?php
    if ( function_exists(‘yoast_breadcrumb’) ) {
    yoast_breadcrumb( ‘<p id=”breadcrumbs”>’,'</p>’ );
    }
    ?>

    Right now breadcrumbs are enabled in Enfold. One solution said to go to functions.php and replace the Enfold breadcrumb code with something else. I use the Child theme and couldn’t find any breadcrumb code to replace.

    Please let me know the best way to implement the Yoast breadcrumb code. Should I just add it to the child theme functions.php?

    Thanks!

    #1098828

    Hey lisetyrrell,

    Yes, you can add this to the functions.php and have the Enfold breadcrumbs disabled in the theme otpions.

    Best regards,
    Victoria

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.