Plugins

Simple Plugin Selector


By default, WordPress will load every plugin on every page. SPS allows the webmaster to select which plugins are activated on a page-by-page basis. This prevents page loads including plugin support files which are not needed for that page. This reduces HTTP requests and download size, so improving website performance for the visitor.

For example, you probably use your contact form plugin only on your Contact Us page. SPS allows you to deactivate it when the page request is for one of your other pages to avoid them downloading your contact form style sheets and scripts unneccessarily.

  • Settings – Disable / enable the plugin
  • Settings – set plugin type: Always / Never / Sometimes
  • Settings – set plugin loading per page for “Sometimes” plugins

Not for newbies! The webmaster must have a clear grasp of which plugins are required for which pages, otherwise some pages will have a bunch of errors because the relevant plugin is not loaded.

Using FTP or your host’s file manager system, check for the sub-folder wp-content/mu-plugins and create the subfolder if it doesn’t exist. Upload the SPS folder, simple-plugin-selector.php file and readme.txt into this folder. If you can’t find wp-content, it may have been renamed.

SPS is always-on, so there is no need to enable via admin and users cannot deactivate it by accident.

Plugins in the must-use directory will not appear in the update notifications nor show their update status on the plugins page, so you are responsible for learning about and performing updates on your own.

Settings

Go to Dashboard > Settings > Simple Plugin Selector to set which plugins you would like to activate on a page by page basis.

If a new page is made, all plugins will be activated by default until set by SPS settings.

If a new plugin is loaded, it will be activated for all pages by default until set by SPS settings.

There is a setting to deactivate SPS temporarily for debugging. To delete the plugin, remove its files using FTP.

How much faster will my site run?

Smaller sites with few plugins won’t see any significant benefits. Users with slow connections should experience shorter page load times.

Will it work on multi-site installations?

Not tested on multi-site installations.

There are no reviews for this plugin.

“Simple Plugin Selector” is open source software. The following people have contributed to this plugin.

Contributors

1.0.2

Submitted to WordPress.org for review.

1.0.3

Amendments to meet WordPress.org guidelines.



Source link

All the Admin Templates You Could Ask For.

2M+ items from the worlds largest marketplace for Admin Templates, Themes & Design Assets. Whether that's what you need, or you're just after a few Stock Photos - all of it can be found here at Envato Market.

Related Articles

Check Also
Close
Back to top button