Skip to content

Instantly share code, notes, and snippets.

Last active Jan 16, 2020
What would you like to do?
Reduce Height of Essence Pro Hero Image Excluding Front Page Step 1
add_filter( 'body_class', 'essence_add_body_class_exclude_front_page' );
function essence_add_body_class_exclude_front_page( $classes ) {
if ( ! is_front_page() ) {
$classes[] = 'exclude-front-hero';
return $classes;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment