Snippets: Conditionally Disable Fixed Header/Menu

// Conditionally Disable Fixed Header/Menu
add_filter( 'wpex_has_fixed_header', function( $bool ) {

	// Disable on front page
	if ( is_front_page() ) {
		$bool = false;
	}

	// Return bool
	return $bool;

} );
All PHP snippets should be added via a child theme's functions.php file.