-
-
Save freezvd/7600e5a685f5f6a61fc9 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
<?php | |
/* Remove the post entry class | |
------------------------------------------------------------ */ | |
add_filter( 'post_class', 'remove_entry_post_class' ); | |
function remove_entry_post_class( $classes ) { | |
$classes = array_diff( $classes, array( 'entry' ) ); | |
return $classes; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment