Error in Google Webmaster Tools – Missing-author,entry-title & update
-
Hello All ,
I am currently using Hueman Theme for my website (www.linuxtechi.com), Initially i was getting Error Missing Author,entry-title & update in Web master tool for all the posts and Pages. After adding below code in my functions.php , Error disappeared for all the posts only.
________________________________________________________________
//add hatom data
function add_suf_hatom_data($content) {
$t = get_the_modified_time(‘F jS, Y’);
$author = get_the_author();
$title = get_the_title();
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_suf_hatom_data’);
_________________________________________________________But i am still getting “Missing-author,Missing-entry-title & Missing- update” error for all pages & archive.
Any idea how resolve these error for Pages.
Thanks in advance.
Best Regards
Pradeep Kumar
- The topic ‘Error in Google Webmaster Tools – Missing-author,entry-title & update’ is closed to new replies.