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
To add more classes to the filter, just add another line that adds another value in to the array:
add_filter( 'body_class','my_body_classes' ); function my_body_classes( $classes ) {
$classes[] = 'class-name'; $classes[] = 'class-name-two'; return $classes;
}