This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Remove hentry from post_class | |
*/ | |
function xa_remove_hentry_class( $classes ) { | |
$classes = array_diff( $classes, array( 'hentry' ) ); | |
return $classes; | |
} | |
add_filter( 'post_class', 'xa_remove_hentry_class' ); |