Aynı sorun bende de var. Aslında kullandığım temanın forumunda çözüm var ama foruma üye olamadığım için başlığı okuyamadım. Öncelikle temanızın yapımcılarından destek almanızı tavsiye ederim.
Yakınlarda bu başlığı buldum.
https://wordpress.org/support/topic/...-hentry-errors
Bu başlıktaki verilen kodu kullandım ama 4-5 gün oldu hala google aynı hatayı bulmakta. Bende engelleyemedim.
Temanın funcitons.php ye eklediğim kod
/* Remove Hentry
/* ------------------------------------ */
function remove_hentry( $classes ) {
if( !is_single() ) {
$classes = array_diff($classes, array('hentry'));
return $classes;
} else {
return $classes;
}
}
add_filter( 'post_class', 'remove_hentry' );
işe yaramadı sanırım. diğer kodu deneyeceğim.
Şimdi bunu deneyeceğim.
/* Remove Hentry
/* ------------------------------------ */
function remove_hentry( $classes ) {
if( !is_single() ) {
$classes = array_diff($classes, array('hentry'));
return $classes;
} else {
return $classes;
}
}
add_filter( 'post_class', 'remove_hentry' );
Buda olmazsa bu alttakini deneyeceğim.
//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');
bu son kod ise bu başlıkta geçiyor.
https://wordpress.org/support/topic/...h-snippet-tool