WordPress.org

Forums

Magazine Basic
[closed] Magazine Basic - Google Webmasters Tools - missing: updated, missing: author (8 posts)

  1. teacher
    Member
    Posted 11 months ago #

    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?

  2. raymondware
    Member
    Posted 11 months ago #

    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.

  3. teacher
    Member
    Posted 10 months ago #

    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.

  4. Andrew
    Nuh uh moderator
    Posted 10 months ago #

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

  5. babagua
    Member
    Posted 8 months ago #

    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

  6. Daniel Chase
    Member
    Posted 6 months ago #

    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/

  7. larranaga
    Member
    Posted 4 months ago #

    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.

  8. Andrew
    Nuh uh moderator
    Posted 4 months ago #

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic