Freesoul Deactivate Plugins

Описание

Freesoul Deactivate Plugins allows you to disable plugins on specific pages and archives for speed optimization, debugging and problem-solving even if many plugins are active.

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

You will like it if you have some plugins that are slowing down your website but you don’t need them on all pages.

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

In this case, selectively disabling plugins will drastically increase the performance of your website.

If you would like to see how a specific page would be enabling or disabling a particular plugin, you can use the preview mode.

In the following video, the plugin Revolution Slider is causing a fatal error, and the web page is not displayed at all. Looking at how the page would be disabling a specific plugin, you will quickly find the guilty.

You can do all this in preview mode, without showing to the rest of the world what you are doing.

You will find the Settings Page Submenu under the admin plugins menu.

In the Settings Page, you have global control of the plugins deactivation for each post type, page, post, and archive.

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

If you want to disable 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 Single plugins deactivation page settings.

For globally disabling plugins on mobile, you don’t need any other plugins.

In any case, if you disable 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 permalinks 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).

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 plug-ins and you have to activate this plugin on every single site, not globally on the Network.

This plugin has no donation buttons and probably will never have it. However, for giving back you can plant a tree: https://femmiversity.treesisters.org/donate/

I love working on this plugin thinking that I’m helping planting trees.

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( class_exists( 'WooCommerce' ) || defined( 'EOS_WOOCOMMERCE_ACTIVE' ) ){
    //your code here
}

Here you will find the plugin documentation

Скриншоты

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

Установка

  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!

Часто задаваемые вопросы

Here you will find the frequently asked questions.

Отзывы

22.10.2019
Persistence and patience produced the result and created an plugin that will be the future of all WordPress site. With great support from author Jose, this plugin deserves a top five star rating. P.S. Pages and posts on our site become green in Google Pagespeed insights! In one tests my page has results 99, which I have never seen, and never dream of being on my site. All people and owner of wordpress site, You must have this plugin! We believe that in the future such a plugin will be at the heart of the wordpress platform, because we have many ,,dirty,, plugins. Milion Thank You Jose Mortellaro !
31.07.2019
Great plugin. Super fast and attentive support from its author. Thanks, Jose!
29.06.2019
Hello my congratulations to the plugin and the creator for doing it and putting it free. I would like a donation link to encourage the creator to make more changes to this beautiful plugin. I would also ask you to change the visual aspect of the plugins now they are vertical and the best would be horizontal. Since it is very annoying to read the names of the plugins vertically. It's just a small suggestion and I hope you take it well. The plugin code is impeccable! Thank you!
28.05.2019
This was just what I needed. I was trying to get an instagram gallery working on a page, but the WP Easy Gallery plugin was giving a JavaScript error, which prevented the instagram feed from loading. I just deactivated WP Easy Gallery from the gallery page, and now it works. It's a nice, fast solution. Thank you for the plugin.
Посмотреть все 15 отзывов

Участники и разработчики

«Freesoul Deactivate Plugins» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

«Freesoul Deactivate Plugins» переведён на 1 язык. Благодарим переводчиков за их работу.

Перевести «Freesoul Deactivate Plugins» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.

Журнал изменений

Here you will find the Change Log