• Resolved cotm

    (@cotm)


    Hi!
    I’ve recently started my site, running Seasonal with a child-theme. I love the theme, it was really easy to costumize, but I’m having troubles with structured data.
    Google Search Console tells me I have 3 type of structured data error on all of the pages (there are only 9 pages on the site, no posts).

    1. missing: updated
    2. missing: author
    3. Google cannot recognize itemprop=articleBody.

    I’ve checked the net trying to fix this, and found this post:
    https://www.acceleratormarketing.com/trench-report/google-analytics-errors-and-structured-data/

    but it seems I can’t find the snippets mentioned in any of the php files (checked simple.php, all the content-php-s, and functions.php, even in WP-include files).
    I found only the <div class=”article-body” itemprop=”articleBody”> in content-page.php and changed itemprop to text (inserting a content-page.php in the child theme), but it didn’t work.

    Could anyone please help me with this?
    the url to my site is https://www.chartofthemoment.com

Viewing 8 replies - 1 through 8 (of 8 total)
  • Theme Author Shaped Pixels

    (@shaped-pixels)

    Thanks for pointing this out…try the test again Google Microdata Test. I put your URL in and I only got 1 error (not critical), but I did make a note to look into this on the next update for Seasonal.

    You can remove the itemprop=”articleBody” from that one div in the content-page.php file; I will be removing that in the next update. Then check your page again and you should be all green (100%) as I just did this with the live demo site for Seasonal.

    Thread Starter cotm

    (@cotm)

    Thank you for the quick answer.

    I removed the itemprop bit like you suggested, ran it again on Microdata Test, and it’s all green indeed.
    However, when I log in to Search Console, it still shows missing:author and missing:updated on all 9 pages (the articleBody bit not anymore).

    Any ideas on what could be the cause, and how to fix it?

    Thanks

    Theme Author Shaped Pixels

    (@shaped-pixels)

    I’m not sure how perfect that Google Search console is…It wants the pages to have an author and updated date in place, but not everyone wants that showing.
    Here is one test you can do by placing this just above the </header> closing tag in the content-page.php file:

    <span class="screen-reader-text post-date updated"><?php the_date(); ?></span>
    <span class="screen-reader-text vcard author post-author"><span class="fn"><?php the_author(); ?></span></span>

    The screen-reader-text will hide this from view. Normally the above code is used on “posts” instead of “pages”.

    Thread Starter cotm

    (@cotm)

    Well, I’m certainly with you on that (regarding the Search Console)….
    The only reason I wanted to fix this is that I’d like to add a rich snippet, and Google is rather picky with showing it in search results if there are any kind of structured data errors on the page.

    I added the code, I assume it will take at least a few days for Google to refresh the status on the errors. I will report back here whether it works.

    Thank you very much for your help.

    Thread Starter cotm

    (@cotm)

    UPDATE

    Looks like it works, Search Console says 0 errors

    Thank you once again.

    Theme Author Shaped Pixels

    (@shaped-pixels)

    Awesome to hear…thanks for the follow up ??

    Hi, i have a similar problem on my blog “netmajstor.eu” i have over 500 missing author – updated. Can you please help me solve this problem ? Thank you

    Hello, I’m experiencing the same problem. Did you fix yours? If yes, can you share what you did in order to get rid of those warnings? Thanks a lot.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Structured Data error in Search Console, missing author and update’ is closed to new replies.