• 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

Help Changing Default Shema Markup

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 › Help Changing Default Shema Markup

This topic is: not resolved
  • This topic has 6 replies, 2 voices, and was last updated 11 years, 5 months ago by sdbroker.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • December 1, 2013 at 1:11 pm #76468
    sdbroker
    Member

    Does anyone know how to change the Genesis default Schema.org markup on dynamic pages? Been searching over the last couple days with no luck.

    Fairly easy to change on a static page on functions.php where you know the page ID but how can this be done on a dynamic generated page where you don't know the page ID and the page title changes according to the product or whatever included on that page?

    Tried creating a custom template page and added some attribute filters code with no luck. I don't know what code to include and I keep getting errors on the page.

    Tried following Yoast's tutorial on events, but from what I understand that's based on static pages so it doesn't work either.

    I know that can be done using the proper code on a custom page template but what's that code? Anyone knows?

    December 1, 2013 at 1:38 pm #76477
    Brad Dalton
    Participant

    Try the Micro data Manager plugin http://wordpress.org/plugins/microdata-manager/


    Tutorials for StudioPress Themes.

    December 1, 2013 at 2:15 pm #76485
    sdbroker
    Member

    @braddalton The plugin works fine on static pages or posts that have an ID but it cannot be used on dynamic created pages which you cannot edit. 🙁

    Only a custom page template which changes the default markup will work... but what's the code on that CTP for the markup to work?

    December 1, 2013 at 3:47 pm #76496
    Brad Dalton
    Participant

    Try this http://wpsites.net/wordpress-themes/adding-custom-schema-in-genesis-for-your-specific-niche/


    Tutorials for StudioPress Themes.

    December 2, 2013 at 1:46 am #76563
    sdbroker
    Member

    Thanks Brad, I had previously seen Ryan's blog post and I actually used it for changing the schema on a few pages (for my needs I think it's better than the Microdata Manager plugin as it gives you more control and options) but again this only works for static pages and posts that have an ID and can be edited.

    I've got more than 7,000 dynamic generated pages that have no ID, no slug and they all have unique titles that can change based on item availability. That is why I believe that only a custom page template will work.

    The closest I have found is Yoast's speaking page example which uses a custom template page and a genesis markup helper file.

    From what I saw on the video you have included on your blog, there's a big possibility that child themes that include the specific scheme will arrive sometime in the near future, so I guess we'll have to wait for them to get a better idea on how that works... I'm pretty sure that it's not difficult if you know what filters to use, as using an incorrect filter can break that custom template page.

    December 2, 2013 at 8:39 am #76593
    Brad Dalton
    Participant

    Can you link to your site please.


    Tutorials for StudioPress Themes.

    December 2, 2013 at 12:10 pm #76627
    sdbroker
    Member

    Thanks Brad! Here's an example of a dynamic created page that I'm trying to create a custom template page which will replace the default genesis schema.

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 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

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