There is nothing more annoying than not being able to find a solution to what should be an easy fix for your Wordpress theme. Upon logging into my Google Webmaster tools for this web site (www.townsvillenerds.com) I found out I had an error on every page of my site in the structured data section.
What is Google Webmaster Tools?
Google Webmaster Tools is a free website service owned by Google where you can manage your website and how it appears on Google and the web.
Having the ability to see what is happening with regards to your site by looking at offsite factors such as who is linking to you, how your site appears in search engines and errors on your site hindering it, is indispensable for anyone who is serious about their website and rankings.
What was the error?
With the current version of DW Minion I was getting the error, “Missing Updated”.
Because every single page of the website was getting the error I new it had something to do with the theme, not one particular page or code I had edited in the index.php, page.php or post.php.
The missing Updated refers to the website not showing updated data. This use to be a warning in Googke Webmaster tools but now Google is cracking down on Authorship it has become an error.
No one knowing Google’s secret algorithm for sure, I can only assume not having complete Authorship is probably hurting your rankings and search results.
How I fixed this error
The current version of DW Minion is 1.1.7 which can be downloaded here. I did find some other solutions on their website but none for the current version that worked.
This is such an easy fix and should only take one minute and only involves adding a couple or words to your template-tags.php file.
Navigate to your template-tags.php file which is in your / wp-content / themes / dw-minion / inc, directory.
Open the file and navigate to about line 112 where you will see,
printf( __( ‘<span class=”posted-on”><a href=”%1$s” title=”%2$s” rel=”bookmark”><i class=”icon-calendar-empty”></i> %3$s</a></span>’, ‘dw-minion’ ),
Change it to
printf( __( ‘<span class=”posted-on date updated”><a href=”%1$s” title=”%2$s” rel=”bookmark”><i class=”icon-calendar-empty”></i> %3$s</a></span>’, ‘dw-minion’ ),
All we did was add date updated behind posted-on.
<h3>Lets look at the results in Webmaster Tools</h3>
Although the changes wont effect your site immediately in Google Webmaster Tools, not until Google next time takes a look at your site which can sometimes be hours or weeks, you can still see the results by testing live data in Webmaster Tools.
Click on one of the errors in the Error Type Missing: updated tab.
Click on the Text Live Data button.
On the results page on the right you should be able to scroll down and now see an updated field like the image below.
I hope this fix has helped you and if you have your own website I would also hop you might link to this too.