Blog

Styling Different Posts in Different Ways With Post_Class

You are here: Home > Blog > CSS / custom fields / post_class / Tutorial

Epic Alex

Alex writes tutorials on WordPress at Epic Alex and tweets at @epicalex. He lives in London and is currently studying French and German at King’s College University.

Posts by Epic Alex:

Styling Different Posts in Different Ways With Post_Class

With WordPress 2.7 came the post_class function. This gives a set of CSS classes to a post, depending on what’s…

Read More »