How To remove class hfeed and hentry from my wordpress site completely. Seems I have got lots of error like Missing: entry-title Missing: updated from google webmaster tools under > search appearance > structured data
You can try following way
- For hfeed
Open the file – header.php
Locating the line like below
<div id=”page” class=”hfeed site”>
Removing the ‘hfeed’ from class attribute. - For hentry
function themeslug_remove_hentry( $classes ) { if ( is_page() ) { $classes = array_diff( $classes, array( 'hentry' ) ); } return $classes; } add_filter( 'post_class','themeslug_remove_hentry' );
Append the above codes to functions.php in your theme folder.