WordPress.org

Ready to get started?Download WordPress

Forums

Microdata Manager
Changing the default schema type from WebPage to Article? (2 posts)

  1. Tamal Anwar
    Member
    Posted 1 month ago #

    Hi, how do I change the default schema in Genesis from http://schema.org/WebPage

    to

    http://schema.org/Article

    Thanks

    https://wordpress.org/plugins/microdata-manager/

  2. bradpotter
    Member
    Plugin Author

    Posted 3 weeks ago #

    Sorry I missed your question.

    That is beyond the scope of my plugging however you can make a site-wide change with something like this in your Genesis child theme function file:

    add_filter( 'genesis_attr_body', 'my_attributes_body' );
    function my_attributes_body( $attributes ) {

    $attributes['itemtype'] = 'http://schema.org/Article';

    return $attributes;

    }

Reply

You must log in to post.

About this Plugin

About this Topic