Skip to content

Instantly share code, notes, and snippets.

@freezvd
Forked from jamiemitchell/gist:7177984
Last active August 29, 2015 14:06
Show Gist options
  • Save freezvd/7600e5a685f5f6a61fc9 to your computer and use it in GitHub Desktop.
Save freezvd/7600e5a685f5f6a61fc9 to your computer and use it in GitHub Desktop.
<?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