Title: ERRORS: Structured Data &gt; hatom (markup: microformats.org)
Last modified: May 29, 2018

---

# ERRORS: Structured Data > hatom (markup: microformats.org)

 *  [Jeff Borghoff](https://wordpress.org/support/users/jborghoff/)
 * (@jborghoff)
 * [8 years ago](https://wordpress.org/support/topic/errors-structured-data-hatom-markup-microformats-org/)
 * Will there be a plugin update to fix the missing hatom (markup: microformats.
   org) Missing: author, Missing: updated errors found with the Google Search Console?
 * See link for details.
 * Schema Version: 1.6.9.8.1
    Wordpress: Version 4.9.6
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferrors-structured-data-hatom-markup-microformats-org%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Hesham Zebida](https://wordpress.org/support/users/hishaman/)
 * (@hishaman)
 * [8 years ago](https://wordpress.org/support/topic/errors-structured-data-hatom-markup-microformats-org/#post-10337469)
 * The plugin doesn’t cause these errors, also it doesn’t fix errors caused in the
   Theme or by other plugins.
 * Most of the missing hatom errors comes from Themes, so I suggest that you try
   fixing it manually within the Theme you are using.
 *  Thread Starter [Jeff Borghoff](https://wordpress.org/support/users/jborghoff/)
 * (@jborghoff)
 * [8 years ago](https://wordpress.org/support/topic/errors-structured-data-hatom-markup-microformats-org/#post-10341406)
 * Thanks [@hishaman](https://wordpress.org/support/users/hishaman/) I’m not a good
   PHP coder and I’m using the out of the box Twenty Ten theme so it’s looks like
   i’m in a bad spot here.
    -  This reply was modified 8 years ago by [Jeff Borghoff](https://wordpress.org/support/users/jborghoff/).
 *  Plugin Author [Hesham Zebida](https://wordpress.org/support/users/hishaman/)
 * (@hishaman)
 * [8 years ago](https://wordpress.org/support/topic/errors-structured-data-hatom-markup-microformats-org/#post-10343154)
 * No worries.
 * Try [this plugin](https://wordpress.org/plugins/no-hentry/), I haven’t tried 
   it myself, but it seems to be working based on user reviews.
 *  [KVNHNF](https://wordpress.org/support/users/kvnhnf/)
 * (@kvnhnf)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/errors-structured-data-hatom-markup-microformats-org/#post-10722213)
 * If you are getting this on pages, you can add this to your function.php file:
 *     ```
       //mod content
       function hatom_mod_post_content ($content) {
         if ( in_the_loop() && !is_page() ) {
           $content = '<span class="entry-content">'.$content.'</span>';
         }
         return $content;
       }
       add_filter( 'the_content', 'hatom_mod_post_content');
   
       //add hatom data
       function add_mod_hatom_data($content) {
       	$t = get_the_modified_time('F jS, Y');
       	$author = get_the_author();
       	$title = get_the_title();
       	if(is_single() || is_page() || is_archive()) {
       		$content .= '<div class="hatom-extra"><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_mod_hatom_data');
   
       function wpb_last_updated_date( $content ) {
       $u_time = get_the_time('U'); 
       $u_modified_time = get_the_modified_time('U'); 
       if ($u_modified_time >= $u_time + 86400) { 
       $updated_date = get_the_modified_time('F jS, Y');
       $updated_time = get_the_modified_time('h:i a'); 
       $custom_content .= '<p class="last-updated">Last updated on '. $updated_date . ' at '. $updated_time .'</p>';  
       } 
   
           $custom_content .= $content;
           return $custom_content;
       }
       add_filter( 'the_content', 'wpb_last_updated_date' );
       ```
   
 * It did the trick for me, make sure to have a FTP access to change the file back
   remotely if any issue arises, but that code should do the trick

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘ERRORS: Structured Data > hatom (markup: microformats.org)’ is closed
to new replies.

 * ![](https://ps.w.org/schema/assets/icon-256x256.png?rev=1750173)
 * [Schema](https://wordpress.org/plugins/schema/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/schema/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/schema/)
 * [Active Topics](https://wordpress.org/support/plugin/schema/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/schema/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/schema/reviews/)

## Tags

 * [hatom](https://wordpress.org/support/topic-tag/hatom/)
 * [microformats.org](https://wordpress.org/support/topic-tag/microformats-org/)

 * 4 replies
 * 3 participants
 * Last reply from: [KVNHNF](https://wordpress.org/support/users/kvnhnf/)
 * Last activity: [7 years, 8 months ago](https://wordpress.org/support/topic/errors-structured-data-hatom-markup-microformats-org/#post-10722213)
 * Status: not a support question