Cleaning up WordPress’ Post Class Mark-up
WordPress’ post_class()
function is a nice little thing. Yet it always seemed Way over the top. In re-iterating this blog’s mark-up, I wrote a little function that removes a lot of the – to me useless – classnames.
The snippet is hosted on Paul Davis’ recently opened Kodery.