Help With Microdata

edgarf76

Affiliate Guard Dog Member
Joined
Oct 10, 2013
Messages
1,126
Reaction score
249
Hey guys and gals, I am having a Micro data challenge. I posted this on the GPWA too but have not had a response yet. I went to Google webmaster tools and saw the following errors on several pages and posts. I will paste the errors below.

Missing: author
Missing: entry-title
Missing: updated
Missing: author
Missing: entry-title
Missing: updated
Missing: author
Missing: entry-title
Missing: updated
Missing: author
Missing: entry-title
Missing: updated
Missing: author
Missing: entry-title
Missing: updated
Missing: author
Missing: entry-title
Missing: updated

I am not sure what the best solution is. I am using Yoast and I thought that Yoast took care of the Schema and Micro data. Perhaps the Premium version does? I did some research on Google and Youtube and found code, plugins, and am not sure what the best direction to go in.


Do I have to add code to each page and post? Am I able to add code in the header? Any help would be much appreciated. Thank you. The links to the articles are below as well.

xxhttps://www.acceleratormarketing.com/trench-report/google-analytics-errors-and-structured-data/


xxhttps://www.youtube.com/watch?v=CGJr2pivOQY

xxhttp://wpsites.net/seo/schema-microdata-wordpress-plugin/
 

tobbe

Affiliate Guard Dog Member
Joined
Jul 15, 2014
Messages
59
Reaction score
34
Skip all plugins, follow the steps in the first post you linked. PM me if you need help.
 

edgarf76

Affiliate Guard Dog Member
Joined
Oct 10, 2013
Messages
1,126
Reaction score
249
I am nervous to edit the actual file and have questions like don't I need to insert the Google plus link in there for the author and put a title in there? Is this below all I need to do to one php file in my theme? The file on the site is called single.php but won't it be different on my theme?

<h2><?php the_title(); ?></h2>

We switched the code to include a class with entry-title like this:

<h2 class="entry-title"><?php the_title(); ?></h2>

This fixes the error by delivering the required entry-title markup designation to the appropriate data.

I then fixed the author error by finding the following (also in single.php):

<?php the_author(); ?>

and changing it to:

<span class="vcard author post-author"><span class="fn"><?php the_author(); ?></span></span>

- See more at: https://www.acceleratormarketing.co...ors-and-structured-data/#sthash.OpQ3mDco.dpuf
 

tobbe

Affiliate Guard Dog Member
Joined
Jul 15, 2014
Messages
59
Reaction score
34
Wordpress themes usually follow the WP standard and your file is most likely named the same, single.php.
single.php contains a template for your single post views. This will be applied to all your posts, but not pages. Pages also have their own template, page.php.

Edit
Google no longer support G+ authorship, and your title will be inserted where <?php the_title(); ?> is placed, and author where the_author() is placed.
http://searchengineland.com/goodbye-google-authorship-201975
 

bobby sand

Affiliate Guard Dog Member
Joined
Mar 12, 2015
Messages
42
Reaction score
10
Have you tried using the data highlighter tool in Webmaster tools, that shows you exactly what data you can mark up and pretty much gives you the snippet of how it should look and be implemented on the site
 
Top