Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Add a class to the body element
add_filter( 'body_class','tu_add_body_class' );
function tu_add_body_class( $classes ) {
$classes[] = 'full-width-content';
return $classes;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment