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
You can also use it directly inside the WP body_class function which will append the string inside body class.
eg.
$class="custom-class"; >
http://codex.wordpress.org/Function_Reference/body_class