I\'d like to place a directive in my theme\'s functions.php file which appends a classname to the wordpress body tag. Is there a built-in API method for this?
For exampl
If you just want to add class based on your page template note that WP now automatically adds per-template class to body tag.