Created
October 27, 2013 04:31
-
-
Save jamiemitchell/7177984 to your computer and use it in GitHub Desktop.
Remove the post entry class in Genesis
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