Title: Passing the Google Structured Data Testing Tool
Last modified: August 21, 2016

---

# Passing the Google Structured Data Testing Tool

 *  [an52](https://wordpress.org/support/users/an52/)
 * (@an52)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/passing-the-google-structured-data-testing-tool/)
 * I was checking my site for correctly coded structured data and I get this error
   in Google Webmaster Tools. The tips on the web ask you to edit a line in single.
   php (which doesn’t exist in Customizr afaik) and my site is largely made of Pages.
 * One advice is as follows:
 * > Fix Missing required field “updated”
   > look for the code below on your WordPress theme’s single.php file.
   >  001 <span
   > class=”post_date”><?php the_time(‘j F,Y’); ?></span>
   > then add “date updated” attribute to it. Your code should look like
   >  001 <span
   > class=”post_date date updated”><?php the_time(‘j F,Y’); ?></span>
 * and
 * > Fix Warning: Missing required hCard “author” and Missing required field “name(
   > fn)”
   > This will fix these 2 warnings. On your WordPress theme’s single.php file, 
   > look for
   >  `001 <span class="theauthor"><?php the_author_posts_link(); ?></span
   > >`
   > or
   >  `001 <span class="theauthor"><?php the_author(); ?></span>`
   > replace it with
   >     ```
   >     001	<span class="vcard author">
   >     002	<span class="fn"><?php the_author_posts_link(); ?></span>
   >     003	</span>
   >     ```
   > 
   > or
   >     ```
   >     001	<span class="vcard author">
   >     002	<span class="fn"><?php the_author(); ?></span>
   >     003	</span>
   >     ```
   > 
 * Where can I do this?

Viewing 1 replies (of 1 total)

 *  [ElectricFeet](https://wordpress.org/support/users/electricfeet/)
 * (@electricfeet)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/passing-the-google-structured-data-testing-tool/#post-4591391)
 * I’ve flagged this for nikeo’s attention.

Viewing 1 replies (of 1 total)

The topic ‘Passing the Google Structured Data Testing Tool’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/customizr/4.4.24/screenshot.png)
 * Customizr
 * [Support Threads](https://wordpress.org/support/theme/customizr/)
 * [Active Topics](https://wordpress.org/support/theme/customizr/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/customizr/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/customizr/reviews/)

## Tags

 * [microdata](https://wordpress.org/support/topic-tag/microdata/)
 * [niclook](https://wordpress.org/support/topic-tag/niclook/)
 * [niclookbug](https://wordpress.org/support/topic-tag/niclookbug/)

 * 1 reply
 * 2 participants
 * Last reply from: [ElectricFeet](https://wordpress.org/support/users/electricfeet/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/passing-the-google-structured-data-testing-tool/#post-4591391)
 * Status: not resolved