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 will be loaded after the plugins. Or you could even put this at the top of your home page template before you call wp_head().
Related Posts:
- Who are the most trusted plugin developers? [closed]
- Hook if somebody saves plugin options?
- Change success message in plugin Theme my login
- How should I use register_setting, add_settings_section, & add_settings_field in my plugin’s options page?
- login to wordpress with Get variables instead of Post
- Help With A Reverse Pagination Plugin
- How do I get Version of all active plugins programmatically?
- How to update widget_text in the wp_options table
- Problem protecting a page with a password
- Is there any site where i can found good documentation of wp-ecommerce plugin?
- plugin for wp_list_categories with posts
- Integrating WP as a CMS with a Bug Tracker
- Protecting against malicious code in WordPress plugin updates
- wp_specialchars and wp_specialchars_decode in a shortcode plugin
- Display All Non-Used Plugins
- Where should I add the necessary code to add an extra attribute to the kses allowed tags array?
- Display price range on woocommerce product variations
- How do I turn a custom post type into a plugin?
- How to remove xmlns on language_attributes()?
- Mouse Wheel Anchor Scrolling on WordPress [closed]
- Plugin won’t activate – cannot declare class (already in use)
- How do I prevent the link from using url of the image in Block Editor?
- Does anyone know a plugin that turns a ‘post’ into an html newsletter?
- Search Everything plugin integration
- Does WP identify plugin by plugin name or plugin_basename?
- Guidelines / restrictions about advertising /donate begging unside wordpress plugins or themes
- Working with .po and .mo files translation
- Redirecting a buddyboss profile tab to a different tab if not subscribed to a specific membership
- WordPress automatically removes line break
- Modifying Author Link to add Author Meta in URL
- How to disable a plugin for certain page?
- How to create a custom post type that contains another custom post type?
- WP Query. Is there a maximum size?
- How to Create a Custom Slug for Tags and Categories with a prefix or suffix?
- Add action to fire when a published post is updated
- How to make multiple admin pages for one plugin?
- WP Google Fonts question [closed]
- Default plugin config to override wp_options?
- Performance impact with inactive plugins? [duplicate]
- Timed content and flagging content as viewed by user?
- Amazon.com intergration with WordPress?
- Redeclare function after plugin activation
- Conditional Shipping Options if Certain Products are in Cart WooCommerce
- get_edit_post_link() not working on wp-cron
- WordPress won’t allow for updates to plugins or WordPress Core
- Easy WP SMTP plugin test email failed
- How to modify or create custom contact form 7 select options [closed]
- Comment “like” problem – “users who like this” avatar linking to current user profile instead of “liker’s” profile
- I want to generate the pdf and save it in library?
- Classic, but puzzling “The uploaded file could not be moved”
- Need to change link URL embedded in multiple posts to new link URL
- Restrict access to live site from public while showing small group the new site all on the same URL?
- Table is not created in WAMP
- Set domain level rel canonical with Yoast SEO [closed]
- Override methods in Yoast SEO breadcrumb class
- Parent Child Custom Fields with Advanced Custom Fields
- Jetpack: Subscribe via e-mail [closed]
- How display specific category post to specific users?
- BuddyPress admin bar links are broken [closed]
- Looking for a filter to modify the months
- How to return a specific attribute
- How to proper escape echo inside a javascript tag
- How do I reinit WordPress plugins dynamically using jS?
- why does an empty get_the_excerpt change get_the_ID to default homepage?
- Hidden permalink different from displayed permalink
- content copy protection in wordpress
- using WPPB shortcodes without the plugin
- WordPress UPDATE queries on MySQL database stuck
- wp_set_password() does not work!
- WooCommerce Checkout Issue specific to Instagram In-App Browser
- How to make the first letter of a post title uppercase, in a plugin?
- Get shortcode attribute for AJAX call
- Manual Backup – How to save to Firefox or Chrome (instead of IE which brings up popup I can’t get rid of)
- How to change the product short description for each product with PHP?
- ACF / Using external resources to display images
- Widget outputs the value but doesn’t save anything inside the textarea
- Add dynamic color to each category item
- Creating custom URL for async content
- Help with sorting and storing data on WordPress
- display a slider outside of subdomain folder wp
- WordPress plugin options need to delete after deactivate & uninstall
- add_media_page function not creating submenu
- Allow user to input shortcode into wordpress widget
- ‘all’ hook and get_option issue
- Wishlist Content
- Import tumblr post to wordpress blog
- Insert dynamic content into posts
- How to remove links generated by SEO-smart-links?
- Errors when using CDN Sync Tool plugin
- Displaying Random Image from ACF Options Page [closed]
- How to work email subscribe in WordPress?
- Is there a WordPress Plugin like Imsanity that keeps high resolution originals? [closed]
- Settings options not showing up in WordPress plugin [closed]
- Plugins Reverting Themself To Older Versions
- Making WordPress-built website mobile friendly
- How to dispaly post informations (such as titles) in an admin plugin menu page?
- Issue with customizer and widget page
- Posts in Admin only display 1 Post instead of all Post in admin area
- How can I save the selected page in the dropdown after anyone clicks on Save Changes?
- How can I display an attribute from each post inside foreach($latest_posts1 as $post )