Snippets: Conditionally Disable Fixed Header/Menu

// Conditionally Disable Fixed Header/Menu
function my_disable_fixed_header( $bool ) {

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

	// Return bool
	return $bool;

}
add_filter( 'wpex_has_fixed_header', 'my_disable_fixed_header' );
All PHP snippets should be added via a child theme's functions.php file.