How to Fix Missing Author Updated and Entry Title

Is Google Webmaster Tools Structured Data showing errors for missing author missing entry title missing updated? If so, here’s the insights you can use to fix these errors for your WordPress CMS site.

Download the Plugin for FREE

You can skip all the required code adjustments, and use RankYa Fix hatom Errors WordPress Plugin that will fix these missing errors automatically for your WordPress site.

Installation: Login to WordPress Dashboard > Plugins > Add New > (Select the plugin file you downloaded to your local computer) Install > Activate

It work perfectly.
Before using your plugin i had 1700 plus error pages, and now after using your plugin just 200 left and among them 70-80 are hentry error. hopefully within few days all the error will be solved. thank you thank you so much for creating such wonderful plugin.

More Detail About These Error Notices

Keep in mind that these items with errors are to do with:
Structured Data > hentry (markup:
As they are the that Google Webmaster Tools picks up for most WordPress Content Management Systems. Missing Author Missing Entry-Title and Missing Updated can all be fixed by simply locating the HTML element that generates those details.

NOTE: because of the diversity of how WordPress Themes are structured, locating the HTML blocks that generate these class elements may be time consuming. If you want to remove all hentry markup from your site pages, you can add the below code to your WordPress functions.php file.

This will then remove hentry classes from all pages apart from single posts (this may at times fix the errors because WordPress pages don’t usually contain author and datePublished details)

/*  Remove Hentry for all pages that are not single blog posts */
function remove_hentry( $classes ) {
	if( !is_single() ) {
		$classes = array_diff($classes, array('hentry'));
		return $classes;
	} else {
		return $classes;
add_filter( 'post_class', 'remove_hentry' );

To fix Errors for Missing Author Details

: basically means that Google Webmaster Tools can’t pick up the author details. You need to find where the author details are blurted out in your WordPress Theme and make sure that class attributes contain

 <span class="author vcard"><span class="fn">Author Name</span></span>That is for personal blogs

Add these details to your WordPress theme files to fix Missing Author Details for Business related Sites

 <span class="author vcard"><span class="fn org">Business Name</span></span>That is for business related websites

To fix Missing Entry Title Errors

Usually most WordPress themes generate <h1 tags where you can add a class element with entry-title (if you are using vocabulary, you can also add itemprop headline)

<h1 itemprop="headline" class="entry-title">Usually Headings are Titles</h1>

To fix Missing updated issues

This is another tricky part to locate because older themes generate this code from different template files. For example: uses /inc/template-tags.php file to generate time based information for your blog posts. As shown in the example below. Basically wherever the updated information is being generated from, you have to add a class element updated to that element.

$time_string = '<time itemprop="datePublished" class="entry-date published" datetime="%1$s">%2$s</time><time itemprop="dateModified" class="updated" datetime="%3$s">%4$s</time>';

I also found this function on which may work for your WordPress site as well. Below code basically will add an invisible span elements to the content portion of pages. You can tweak it according to your own setup (see notes below)

//add hatom data
function add_hatom_data($content) {
 $t = get_the_modified_time('F jS, Y');
 $author = get_the_author();
 $title = get_the_title();
//Notes: you can use is_page(), or, is_single(), or other conditional tags according to your setup. To learn more visit:
if (is_home() || is_singular() || is_archive() ) {
 $content .= '<div class="hatom-extra" style="display:none;visibility:hidden;"><span class="entry-title">'.$title.'</span> was last modified: <span class="updated"> '.$t.'</span> by <span class="author vcard"><span class="fn">'.$author.'</span></span></div>';
 return $content;
add_filter('the_content', 'add_hatom_data');

At the end of the day, to be able to tell Google that these Structured Data elements for Microformats aren’t missing, you can follow many different approached to fix them depending on the WordPress Theme you are using. To add full markup to your WordPress site manually. Thank you for sharing this post.

Author: RankYa

Online Entrepreneur, Qualified Web Developer, Google AdWords and Google Analytics Professional. Specialist in: Google SEO, Website Optimization, WordPress, Structured Data, JSON-LD, Microdata, Microformats, RDF, Vocabulary, HTML5, Advanced Image Optimization, Google Search Console, Google Webmaster Guidelines, Social Media Marketing, Facebook marketing and YouTube video ranking.

Thank you for sharing this blog post. Description: 'Google Webmaster Tools Structured Data missing author missing entry title and missing updated items with errors is explained for WordPress sites by RankYa'