• Hi-

    Love the theme, have made a donation. Found a couple of tiny edits that fix some problems the theme has with structured data on google webmaster tools.

    Please consider the following tweaks to your great theme:

    First:
    On single-loop.php around line 22, switch the order of the vcard author markup to the following:
    <div class="entry-author vcard author">

    Oddly enough the word order matters according to Google WMT.
    You will also need to make this change on loop-blog as well. Put the vcard before the author around line 16.

    Second:
    Also on loop-single and loop-blog, add the “date updated” fix to your otherwise outstanding theme:
    Around about line 32 add date updated to your entry-date class:
    <div class="entry-date date updated">
    You’ll need to make the same change on loop-blog around line 25.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter options-trading-guy

    (@options-trading-guy)

    May also need to add the date updated code around line 100 on loop-single and line 116 loop-blog:
    <div class="entry-updated date updated">

    Theme Author ronangelo

    (@ronangelo)

    Oddly enough the word order matters according to Google WMT

    I don’t think it does. I specifically added those classes months ago so that errors on Google WMT’s Structured Data would be cleared. Sure enough, I’ve had no Structured Data errors on my blogs since. Plus, it doesn’t really make sense that the order of classes on the same tag would matter. Is this specifically instructed by Google somewhere? Are you personally seeing any errors on WMT? Have you just recently updated from an old version?

    Also on loop-single and loop-blog, add the “date updated”

    The theme already has an “updated” class on the Updated Date element and not on the Published Date. This is technically more appropriate. Although, since most people choose to hide the “Updated Date” element, I’ll consider adding the class on the “Published Date” too. Hopefully, no errors would arise when both are turned on. The “Date” class, I believe, is just a regular class and doesn’t actually mean anything in microformats.

    Like I said, I personally don’t have any WMT Structured Data errors on my blogs that uses this theme so I don’t see what needs fixing.

    Thread Starter options-trading-guy

    (@options-trading-guy)

    I am seeing these specific structured data errors in WMT on my blogs using Frontier (100s of errors on the author and updated fields). Testing actual page code with the edits above now showing no errors.

    The date class appears to be redundant, but the updated needs to be I there apparently.

    Thread Starter options-trading-guy

    (@options-trading-guy)

    How does one unhide the ‘updated date’ element? (nevermind… found it on the theme options page).

    Maybe (as you suggest) that is all that needs to be done vis a vis dates.

    Don’t know what to tell you about the author code. Didn’t work as is, does work (for me) after my edit.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Suggested Google WMT Structured Data error fixes’ is closed to new replies.