This is great for themes that don’t automatically add a class to the…

This is great for themes that don't automatically add a class to the <body> tag. Having class="home" and class="single" sure can be helpful!

Note: ESMI's response was the most helpful in this post. I put this in my theme header and bam! the body has some class. Woo!

Embedded Link

WordPress › Support

Leave a Comment