Skip to content

Commit

Permalink
removed 'hentry' from post_class()
Browse files Browse the repository at this point in the history
  • Loading branch information
acegiak committed Oct 22, 2013
1 parent fc5f90f commit fae2282
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sempress/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ function sempress_post_classes( $classes ) {
if (!is_singular()) {
return sempress_get_post_classes($classes);
} else {
return $classes;
return array_filter ( $classes ,function( $post_class ) { return 'hentry' != $post_class ;} );
}
}
add_filter( 'post_class', 'sempress_post_classes' );
Expand Down

0 comments on commit fae2282

Please sign in to comment.