• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Correct Implementation of Yoast Breadcrumbs?

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › Correct Implementation of Yoast Breadcrumbs?

This topic is: resolved

Tagged: breadcrumbs, Yoast breadcrumbs

  • This topic has 0 replies, 1 voice, and was last updated 2 years, 6 months ago by TrekGAIA.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • December 13, 2019 at 8:37 pm #495496
    TrekGAIA
    Participant

    Hey community:

    I am aiming to implement Yoast Breadcrumbs, but thus far have been unable to.

    Part of the issue is where precisely to place the following code in Genesis. The headers.php file is structured differently to many others I have seen.

    if ( function_exists('yoast_breadcrumb') ) {
      yoast_breadcrumb( '<p id="breadcrumbs">','</p>' );
    }

    I copied the headers.php file and dropped it into the child theme and experimented with different placement. But I haven't worked that out.

    That said, I then took a look at the breadcrumb.php file in the core Genesis Framework to discover it includes the below code, which seems to call Yoast Breadcrumbs if the yoast_breadcrumb function exists.

    Presumably this function is active if Yoast Breadcrumbs are enabled within the Yoast Plugin Dashboard? If so, I did enable them.

    I have experimented with Genesis Breadcrumbs both enabled and disabled.

    I am working on the site locally, and so cannot link to it, but
    Genesis: 3.2.1
    Magazine 3.2.3

    Any thoughts on this?

  • Author
    Posts
Viewing 1 post (of 1 total)
  • The topic ‘Correct Implementation of Yoast Breadcrumbs?’ is closed to new replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2022 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble