Magazine Basic – Google Webmasters Tools – missing: updated, missing: author
Today I visit My Google Webmaster Tool and preview structure data for my website using Magazine Basic v3.0.4 theme but in Google Webmaster Tools -> Search Appearance -> Structured Data > hentry (markup: microformats.org)
error was reported as:
for all my posts and pages. I am unable to find solution in old topics.
Any immediate or permanent solution?
Here is a tutorial on how to fix these errors…
[Website replaced with information below by a moderator]
Fixing the “Missing: updated” error
We will need to wrap a span tag around the date element and add the classes “post-date updated”.
1. Locate the call for the date, it looks something like this:
<?php the_date(); ?>
2. Wrap a span tag around the last snippet of code with classes “post-date updated”, should look like this:
<span class="post-date updated"><?php the_date(); ?></span>
Fixing the “Missing: author” error
1. Locate the following author item within your single.php file:
<?php the_author(); ?>
2. Change that to:
<span class="vcard author post-author"><span class="fn"><?php the_author(); ?></span></span>
Please remember to create a Child Theme before you make modifications to the theme’s files. Once you made a Child Theme copy the single.php file and paste it into your Child Theme directory, and then you can modify that file (within your Child Theme) safely.
Thanks Raymondware for referring me to such a nice website. I have checked the website, however i could not find the respective code in Magazine Basic single.php file that need to be replaced.
@teacher, Sorry I’m going to go a little off-topic here…
@raymondware, Thank you for providing that tutorial, but can I ask that you keep support on these forums? You may want to become more familiar with the limited but useful tools that are available to you when you post here: http://snag.gy/oAUsL.jpg – They should provide you with enough formatting. To upload images you can use other image hosting tools like http://snag.gy and just provide links to those images.
I hope this doesn’t discourage you from providing the excellent support you did and that you can continue doing so.
No 2 WP themes are exactly the same. The fix may need to be done in a number of locations. Check out this article for more instruction
I’m looking for a way to add the data without showing it. Because in the case where I have the WTools warning about missing author (Receta Bizcocho website) all recipes are from the same author! So it’s pointless to show that.
- The topic ‘Magazine Basic – Google Webmasters Tools – missing: updated, missing: author’ is closed to new replies.