WordPress.org

Support

Support » Themes and Templates » Magazine Basic » Magazine Basic – Google Webmasters Tools – missing: updated, missing: author

Magazine Basic – Google Webmasters Tools – missing: updated, missing: author

  • Hello Guys,

    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:
    missing: updated
    missing: author

    for all my posts and pages. I am unable to find solution in old topics.
    Any immediate or permanent solution?

Viewing 7 replies - 1 through 7 (of 7 total)
  • 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.

    Moderator Andrew Nevins

    @anevins

    Forum moderator

    @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.

    @teacher, Thanks.

    I’m having the same issue with my site: onlineshopping-philippines.com

    I’m using the twentyfourteen theme, and I’m unable to find those codes in the single.php file @raymondware

    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

    http://riseofweb.com/wordpress-google-webmaster-tools-structured-data-error-hentry/

    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.

    Moderator Andrew Nevins

    @anevins

    Forum moderator

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Magazine Basic – Google Webmasters Tools – missing: updated, missing: author’ is closed to new replies.
Skip to toolbar