« Simplify Post HTML Classes

Added Wednesday 10th August 2011, by Maykel Loomans

A WP filter that removes a few unnecessary HTML classes from the post_class() function, as post_class() is pretty verbose. This is the function as it is being used on my blog. Some lines are commented out, but in between as an option / reference.

Copy this code to your clipboard