Skip to content

Instantly share code, notes, and snippets.

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