April 14, 2014

Textual description of firstImageUrl

How To Fix Missing Required hCard Author Error For WordPress

|
Find out how to fix missing required hCard author for WordPress users

This is one of the few common structured data markup or schema markup errors you encounter when you check one of your WordPress blog posts with Google Structured Data Testing Tool.

It is marked in red color which says: Error: Missing required hCard "author" or "Warning: Missing required hCard "author".

Note: Always make sure you've already backup your WordPress, before you proceed.


how to fix missing required hCard author error for WordPress

How To Fix Missing Required hCard Author Error


Here is a tip on how to fix Error: Missing required hCard "author".

1. Log in to your WordPress Dashboard.

2. At the Dashboard, scroll down to "Appearance" on the left hand side.

3. Click on "Editor".

4. Under "Templates" on the right hand side of the page, click on the Single Post (single.php).

5. Now look for this code :

<span class="theauthor"><?php the_author(); ?></span>
or some of your template or theme may have just this code:

<?php the_author() ?>
6. Change the above code to this:

<span class="vcard author">
<span class="fn"><?php the_author(); ?></span></span>
7. Click the "Update File" button.

8. That's all you need to do, to solve the missing required hCard author error for WordPress

Related Tips:

* How To Fix Missing Required Field Name fn and Hcard Error For Blogger

* How To Fix Missing Required Field Updated For WordPress

* How To Fix Missing Required Field Entry-title For WordPress

* How To Fix Missing Required Field Updated For WordPress