In the past, we have shown how to edit WordPress Genesis child theme or the main theme to avoid the errors shown by Google Structured Data if you change from default SCHEMA CreativeWork. Google Structured Data Testing Tool Will Show Error For Last Updated Without a Basic Tweak. Here is How to Add Last Updated Rich Snippet on WordPress Genesis.
Before You Begin to Edit and Add Last Updated Rich Snippet
We have directly modified Genesis template before to add many snippets or remove errors. You probably get some help if you read these previously published articles :
- Fix WordPress Genesis mainContentOfPage Schema Error
- Remove p Wrap Around Post Images in WordPress Genesis
- Genesis 2.0, YARP and Schema.org
This is not exactly end of the list – there are lot of other Genesis micro format template related guides. By any means, these guides are not for the beginners. We are not going to WordPress Genesis Figure, Figcaption and ImageObject matter, that thing we can do from database and WordPress core files in separate article.
---
WordPress Genesis : Add Last Updated Rich Snippet
It is really easy. Install WordPress Genesis – Simple Edits plugin. Then go to Genesis > Simple Edits. In the option page first option is for Entry Meta (above content). You’ll change to something like this :
1 | By [post_author_posts_link] [post_date] [post_time] Updated on [post_modified_date] |
Where from we got that short code? Below Entry Meta (below content) option, there is a hyperlink named “Show available entry meta shortcodes”. Simply click it to expand. Which is actually written here –
1 | http://my.studiopress.com/docs/shortcode-reference/ |
These are the options anyway :
1 2 3 4 5 6 7 8 9 10 11 | [post_date] - Date the entry was published [post_modified_date] - Date the entry was last modified [post_time] - Time the entry was published [post_modified_time] - Time the entry was last modified [post_author] - Entry author display name [post_author_link] - Entry author display name, linked to their website [post_author_posts_link] - Entry author display name, linked to their archive [post_comments] - Entry comments link [post_tags] - List of entry tags [post_categories] - List of entry categories [post_edit] - Entry edit link (visible to admins) |
After saving the settings, flush the cache and test with Google Structured Data Testing Tool. You’ll not see any error.
Tagged With last updated option in genesis themes