How to Fix Missing Author Updated and Entry Title

Google Webmaster Tools Structured Data Errors

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  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: microformats.org)
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 schema.org 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: https://codex.wordpress.org/Conditional_Tags
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 schema.org markup to your WordPress site manually. Thank you for sharing this post.

72 / 259 Malvern Rd Melbourne Australia 3141

+61421600702 $$

Author: RankYa

RankYa: Online Entrepreneur, Web Developer, Google AdWords and Google Analytics Certified Professional. Specialist in: Structured Data, Microdata, Microformats, RDF, Schema.org Vocabulary, HTML5, WordPress optimization, Advanced Image Optimization, Google Webmaster Tools, Social Media Marketing, Facebook marketing and YouTube video ranking mastery. View all posts by

9 thoughts on “How to Fix Missing Author Updated and Entry Title”

  1. Romulus

    I am using the OnePress theme (free version) for a simple STATIC PAGE WordPress site (no blog… no posts… no comments page at this time) with 9 pages-including home page. I have these errors on all pages:

    Google Structured Data > hatom (markup: microformats.org)
    Missing: author
    Missing: entry-title
    Missing: updated

    I have struggled to find a proper solution for MONTHS. I have tried other fixes in the past – nothing has worked so far. I’m looking for a proper fix to help with Google search rankings… not something that will just hide the errors.

    Can anyone verify that this plugin will work with this theme before I install it? Unfortunately, I am not a code savvy individual, and messing up my site would take many, many hours to fix. I would like to be sure before installing it. Is this possible?

    (Or as an alternative: Perhaps someone familiar with this theme may know EXACTLY where to place the proper code and what the CORRECT coding would be to properly fix the errors.)

    1. Romulus

      Added: It should be noted that when I use the Structured Data Testing Tool to check live data for errors, and click ‘test live data’ button, I get this:

      Detected 0 ERRORS 0 WARNINGS 3 ITEMS

      Organization 0 ERRORS 0 WARNINGS 1 ITEM
      WebSite 0 ERRORS 0 WARNINGS 1 ITEM
      hatom 0 ERRORS 0 WARNINGS 1 ITEM

      This result is on every page tested, despite the structured data errors I get mentioned above. This is confusing me as it suggests that nothing is wrong, yet something is clearly wrong.

    2. RankYa RankYa

      72 / 259 Malvern Rd Melbourne VIC Australia 3141

      +61421600702 $$

      Warning as usually optional properties, meaning they are not required for the markup to be valid. However, testing tool can be tricky to identify issues, its best that you double check the Search Console Structured Data option instead. Once again: 0 ERRORS means the markup is valid, WARNINGS 3 ITEMS: means that you could Add 3 ITEMS telling Google more information. I hope that clarifies

    3. RankYa RankYa

      72 / 259 Malvern Rd Melbourne VIC Australia 3141

      +61421600702 $$

      I would just install the plugin, its been tested on many different sites. Once again, install the plugin and if something goes wrong, email me through my main website https://www.rankya.com.au/ and we’ll assist you

  2. H. K.

    Many thanks, this plugin is great and a big help for us. We lost our 1st page Google ranking due to hentry/hatom errors and could now solve this errors. Hopefully we will get our ranking position back :)

    1. RankYa RankYa

      72 / 259 Malvern Rd Melbourne VIC Australia 3141

      +61421600702 $$

      Simply give it couple of weeks for Google to update its database, if you still see these errors after Google re-crawls your site, simply comment back and will fix these hentry and hatom errors accordingly

  3. gbwhatsapp

    Many Thanks this worked! >> Remove Hentry.

    1. RankYa RankYa

      72 / 259 Malvern Rd Melbourne VIC Australia 3141

      +61421600702 $$

      Great to hear that your website is now fixed its hentry errors

  4. lvy warner

    Thank You !!!! I have Solve My Error

Have Your Say! Comment

Your email address will not be published. Required fields are marked *