Hello There,
To hide the hentry, please update your code in to this:
/* Fix "Missing Author" and "Missing Updated" issue – START */
add_filter( 'the_content', 'custom_author_code');
function custom_author_code($content) {
if (is_singular() || is_single()) {
return $content .
'<div class="hatom-extra" style="display: none;"><span class="title">'. get_the_title() .'</span> was last modified: <span class="updated"> '. get_the_modified_time('F jS, Y') .'</span> by <span class="author vcard"><span class="fn">'. get_the_author() .'</span></span></div>' ;
} else {
return $content;
}
}
/* Fix "Missing Author" and "Missing Updated" issue – END */
Or you can simply use this custom css without editing the php code in the child theme’s functions.php file. Just please add the following CSS code in the X > Theme Options > Global CSS (http://prntscr.com/evui3r)
.hatom-extra {
display: none;
}
We would loved to know if this has work for you. Thank you.