• 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

Custom Microdata Filter

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 › Design Tips and Tricks › Custom Microdata Filter

This topic is: resolved

Tagged: microdata, schema

  • This topic has 4 replies, 2 voices, and was last updated 12 years, 4 months ago by SpidermanPuddin.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • May 16, 2014 at 10:09 am #105502
    SpidermanPuddin
    Participant

    Can't find where to filter the 'http://schema.org/Blog' section.

    I have been able to filter 'http://schema.org/WebPage' using
    'genesis_attr_body'.

    There are specific pages that need to remove /Blog and change to /Event

    http://rodeosusa.com/rodeos/
    May 16, 2014 at 10:44 am #105505
    Brad Dalton
    Participant

    Did you see this excellent plugin: Microdata Manager


    Tutorials for StudioPress Themes.

    May 16, 2014 at 11:28 am #105514
    SpidermanPuddin
    Participant

    Yes, I did and I tried it. However, it doesn't work on custom post archive pages.

    May 16, 2014 at 9:33 pm #105577
    Brad Dalton
    Participant

    I think the plugin author Brad Potter maybe interested in that feedback


    Tutorials for StudioPress Themes.

    May 17, 2014 at 1:26 pm #105641
    SpidermanPuddin
    Participant

    I contact the plugin author, we'll see if he has any feedback. Also I dug through the plugin's code and found this:

    add_filter( 'genesis_attr_content', 'sym_attributes_content' );
    function sym_attributes_content( $attributes ) {
    
    	//* Home page main content microdata
    	if ( is_post_type_archive('rodeos') || is_tax('city-state') ){
    		$attributes['itemtype'] = 'http://schema.org/Thing';
    	}
    
    	return $attributes;
    
    }

    And it works.

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘Design Tips and Tricks’ 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