WordPress 2.8 and the body_class() Function

The body_class() function will generate the classes mostly based on where your viewer is on your site letting you do loads of cool stuff with just CSS alone. This post gives you the rundown of implementing body_class() and adding your own custom classes.

Posted by Ian Stewart in Tutorials
  • Wpazo is your all-signal, no-noise, source for the best WordPress stuff. Submit a link and if it’s good, we’ll link to it right away. More »