I recently worked on a project where there was a Leadership (staff) page. In order to make the best use out of schema.org microdata and rich snippets, I had to change the itemprop
attribute that Genesis uses for the <article class="entry ...">
element. By default, it is set to CreativeWork. For a list of people within an Organization, I changed it to Organization. Here’s how…
Changing Other Attributes Is Easy
Genesis makes it easy for us. You can change a handful of things with these filters for pretty much any markup that the framework creates for us. Below is a huge list of the filters along with any associated schema those elements may have. Just change the attribute in $attribute['itemtype']
to the attribute you’re trying to change: id
, class
, itemprop
, or itemscope
.
Genesis Default Context & Filters for Attributes
Some other things you can do with your Genesis powered WordPress website are things like
- change the navigation menu itemtypes for schema microdata
- add next and previous link to your blog posts for Genesis
- change the entry title post links in your Archives for Genesis
Tagged with: genesis, rich snippets, wordpress