Freesoul Deactivate Plugins: deactivate plugins on specific pages

Descriere

Freesoul Deactivate Plugins allows you to deactivate plugins on specific pages for speed optimization, debugging and problem-solving.

It works for every page, blog posts, custom posts that are publicly queryable, archives and backend pages.

It disables the entire plugins. Your pages will not only send fewer HTTP requests, but you will save also many database queries.

The disabled plugins will not exist on the pages where you turn them off.

This means that you will improve the TTFB (time to first byte) also when the page is not served by cache. This is something you can’t do only dequeuing the scripts and stylesheets.

Usually, the number of the needed plugin on a specific page is lower than the number of globally active plugins.

So why don’t you deactivate the unused plugins where you don’t need them?

Selectively deactivating heavy plugins will drastically increase the performance of your website, both in the frontend and backend.

Deactivating unused plugins in the backend, is the most effective way to speed up the backend.

With Freesoul Deactivate Plugins you can also see how a specific page appears deactivating a specific plugin or switching to another theme.

In the following video, the plugin Contact Form 7 is causing a fatal error, and the web page is not displayed at all. Looking at how the page would be deactivating specific plugins and switching to the default WordPress theme, you will quickly find the guilty.

You can deactivate the plugins in preview mode, without showing to the rest of the world what you are doing.

In the Settings Page, you have global control to deactivate plugins by post type, page, post, and archive.

Moreover, you will find a section on every single page and post.

If you want to deactivate plugins for the mobile version only on specific pages, you should also install Specific Content for Mobile. Then if you create a page mobile version, you will see it in the Singles settings.

If you deactivate plugins only for the mobile version, be sure you have a server cache plugin that distinguishes between mobile and desktop devices, as, e.g. W3 Total Cache or WP Fastest Cache.

Only the permalink structures „Day and name”, „Month and name”, „Post name” and the custom ones ending with „%postname%” are supported for permanently deactivating plugins (they are also better for SEO).

You will not be able to disable plugins in a permanent way with other permalink strucutres.

The same as above if you are using plugins to change the permalinks, as, e.g., Permalink Manager Lite.

Remember that if you have a Multisite Installation, in every single site you will be able to manage only the not Network globally active plugins and you have to activate Freesoul Deactivate Plugins on every single site, not globally on the Network.

Read the documentation to to see how deactivate plugins on specific pages.
The documentation is still in progress, if you don’t find what you are looking for, please open a thread on the Support Forum

With the free version you can:
– deactivate plugins on pages, posts, custom posts, archives, term archives, search results page, mobile pages
deactivate plugins and the theme on specific backend pages
– deactivate the JavaScript execution for problem solving (preview on front-end)
– deactivate plugins by custom URL both for frontend and backend
– automatically detect unused plugins for the homepage
– change plugins firing order
– see an overview of the tests performed on the official plugins, including code risk and PHP errors
– see a preview of the pages deactivating specific plugins and switching to another theme without affecting the public site
– see a preview of the page with Google Page Speed Insights for single posts, pages and custom posts (preview without cache, the page may give lower score without cache, use it for comparisons during the optimization)
– estimate the TTFB (time to first byte) deactivating specific plugins and switching to another theme (only in the Homepage settings)
– check the mobile usability deactivating specific plugins and switching to another theme (only in the Homepage settings)

The premium version that is coming soon will include:
– unused plugins automatic detection both for frontend and backend
– scheduling of unused plugins detection both for frontend and backend
– unused plugins automatic detection after content update
– automatic GTMetrix reports generation
– specific action and filter hooks removing
– recording of ajax activities to find out on which ajax action you need to disable specific plugins

We want to give for free all that you need to deactivate plugins both for speed optimization and problem solving.
We will offer soon a premium and paid version to make the life easier for the users who work on the websites of their customers.

FOR DEVELOPERS: if in your custom code you want to check if a plugin is globally active, you can use the constant ‘EOS_’.$const.’_ACTIVE’.

Where $const is str_replace( ‘-‘,’_’,strtoupper( str_replace( ‘.php’,”,$plugin_file_name ) ) ).

$plugin_file name is the name of the main file of the plugin.

For example, you have deactivated WooCommerce in a specific page, but you want that some code related to WooCommerce runs in any case (e.g. code for displaying the cart link).
You can check if WooCommerce is globally active using this condition:

if( defined(  'EOS_WOOCOMMERCE_ACTIVE' ) && EOS_WOOCOMMERCE_ACTIVE ){
    //your code here
}

In the following example we disable the Revolution Slider shortcode when we disable it on mobile

if( wp_is_mobile() && defined( 'EOS_REVSLIDER_ACTIVE' ) && EOS_REVSLIDER_ACTIVE ){
    add_shortcode( 'rev_slider','__return_false' );
}

Capturi ecran

  • Global settings page (you find it under admin plugins menu)
  • Settings in each single page and post

Instalare

  1. Upload the entire freesoul-deactivate-plugins folder to the /wp-content/plugins/ directory or install it using the usual installation button in the Plugins administration page.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. After successful activation you will be automatically redirected to the plugin global settings page.
  4. All done. Good job!

Întrebări frecvente

Here you will find the frequently asked questions.

Verificări

25 august 2021
There is amazing value in this plugin. It does exactly what it claims to do. The plugin matrix and the rest of the UI takes a little bit of time to get used to. Now that I am familiar with it, I find it extremely easy to use. Our website has over 60 plugins and it is quite clunky. I just disabled 43 of the on the home page. It shaved a full second off the server generation time and reduced the javascript by almost half. Amazing! I love the granularity of the settings. There is some room for improvement here and there, but overall it is everything I had hoped it would be. This free plugin is packed with value. I already see that this plugin will improve my website's SEO ranking. Jose, thank you for taking the time to respond to my requests and questions and fix bugs quickly. You are great! Keep up the good work 🙂
30 iulie 2021
Very useful even essential. Easy to use. Simple but effective UI. I very like the table style, very easy and fast to activate/deactivate plugins on specific pages.
2 iulie 2021
Just found it but wow ! Have dreamed about it and it is real. This is clearly an essential plugin to have. And author is helping very fast, and for free. I did F12 to add a 6th star to that review.
8 aprilie 2021
This plugin is just a must. One of the biggest problem of a WordPress website is that the majority of the plugins are loaded on every page, even if not needed. Freesoul deactivate fix this issue in the cleanest and smartest possible way.
Citește toate cele 53 de recenzii

Contributori și dezvoltatori

„Freesoul Deactivate Plugins: deactivate plugins on specific pages” este un software open-source. La acest modul au contribuit următoarele persoane.

Contributori

„Freesoul Deactivate Plugins: deactivate plugins on specific pages” a fost tradus în 5 locale. Mulțumim traducătorilor pentru contribuția lor.

Tradu „Freesoul Deactivate Plugins: deactivate plugins on specific pages” în limba ta.

Te interesează dezvoltarea?

Răsfoiește codul, vezi depozitarul SVN, sau abonează-te la jurnalul de dezvoltare prin RSS.

Istoric modificări

1.8.8.7.7

  • Fixed: metabox still showing if disabled in role manager
  • Added: plugin filters in Backend Singles ettings
  • Fixed: self-debugging message not showing if mu-plugin not updated or missing
  • Fixed: plugins filter not displaying last two plugins
  • Fixed: not visible rows and plugins not saved if page and plugin filters are active

*Complete Change Log