Disabling drift plugin from homepage
You can see that the plugin embeds the Drift code by hooking wp_head: // Add the Drift Javascript add_action(‘wp_head’, ‘add_drift’); So all you need to do is remove_action( ‘wp_head’, ‘add_drift’ ); when you’re on the homepage, e.g. in an if (is_home()) or if (is_front_page()) block (they’re more or less equivalent here) in your theme, which … Read more