• 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

Yoast – Schema

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 › Yoast – Schema

This topic is: not resolved

Tagged: genesis, genesis function, genesis tag, Yoast schema

  • This topic has 3 replies, 3 voices, and was last updated 10 years, 4 months ago by Brad Dalton.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • March 21, 2016 at 9:59 pm #182001
    CathyEarle
    Member

    Hoping someone can help me with this blog post from Yoast regarding adding Schema.
    Schema.org & Genesis 2.0

    Half way down the article states:

    "With Genesis 2.0 though, it’s as simple as adding this before the genesis() call:

    add_filter( 'genesis_attr_entry', 'yoast_schema_event', 20 );
    add_filter( 'genesis_attr_entry-title', 'yoast_itemprop_name', 20 );
    add_filter( 'genesis_attr_entry-content', 'yoast_itemprop_description', 20 );
    add_filter( 'genesis_post_title_output', 'yoast_title_link_schema', 20 );
    add_filter( 'genesis_attr_content', 'yoast_schema_empty', 20 );

    I don't understand where the genesis() call is? I understand the rest of the article but can't seem to get my head around where "genesis()" call is - I don't see it in function.php for the theme?

    Thank you to anyone that understands this as the comments on the page indicate it makes sense to everyone else!

    https://yoast.com/dev-blog/schema-org-genesis-2-0/
    March 21, 2016 at 11:01 pm #182002
    coralseait
    Member

    It'll be in a few possible files depending on your child theme. Basically anything in the template hierarchy or custom templates. For example, many of the child themes have a front-page.php and page-landing.php. If you make your own templates, it'll be the last line in the php file.


    Coral Sea IT

    March 23, 2016 at 6:21 pm #182138
    CathyEarle
    Member

    thank you!!!

    March 24, 2016 at 2:29 am #182151
    Brad Dalton
    Participant

    Its a function which can be added to a file using the

    genesis();

    tag http://wpsites.net/wordpress-themes/the-genesis-function/


    Tutorials for StudioPress Themes.

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

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

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 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