WordPress Multisite offers the opportunity to load plugins automatically by a specific folder without any click in the backend. These plugins can not be deactivated via the admin interface too, which is a quite useful function when you work in the development or with clients. Currently wordpress can merely load plugins which lie in the root file of the directory and which don’t cause any processing of plugins in subfolders. You can find the directory in the default file of wordpress under / wp - content / mu - plugins /. The file you need for this doesn’t exist automatically and so you need to create it. Alternatively you can define the file via absolute terms within wp - config. Php, like shown in the following example. Define ( 'WPMU_PLUGIN_URL', '. $ _SERVER [ 'HTTP_HOST' ]. '/wpmu-plugins' ); [/crayon] Each and every plugin within this directory will be acitivated in the Single-Mode and so it works actively on every site of the network. Generally I use the file for the plugins mostly because of the overview. And, for example, git-projects are also easier to handle. In this regard a little plugin arose for the local development einvironment, which upgrades to this exact function and also acitvates every plugin in the subfolders. The plugin excludes other plugins in the root directory so that there aren’t any conflicts with the default function of wordpress. Meanwhile I also use this plugin for the projects of clients or for projects of my own, because it makes the management of the plugins I control easier. Is there a way to manually activate a plugin. Activate a plugin through PHPMyAdmin or FTP? Wp-content/mu-plugins Plugins in this folder will always run. Dec 17, 2013. Wordpress Multisite offers the opportunity to load plugins automatically by a specific folder without any click in the backend. The plugin can be found on. You have to copy the file directly, without any folder, in the directory of the „most used“ plugins. An activation isn’t necessary. After that you should reload all the plugins which lie within the directory and which are managed by folders. Now the plugin possesses a simple cache, which will be emptied, when you visit the plugin-list in the network-admin-area and activate the „most used“ plugins-tab. Also the cache is deactivated when the absolute term WP_DEBUG is active and TRUE is settled. Improvements and changes are always welcomed! Alternatively you can use the on GitHub to tell us bugreports or extension wishes. Description Although have installed a lot of plugins, if you do not want to activate for all of the pages, you will be able to deactivate unnecessary plugins of each individual page. Through the filter activation of plugins, you can speed up the display response. Features • Support Post Format type • Support Custom Post type • Support Jetpack Modules filtering • Support WP Embed Content card (is_embed template) • Support AMP and URL page filter If the case other than blog, such as to provide some service as a Web application, you can also distinguish the plugins for blog and Web applications. Installation • Upload the plugin-load-filter folder to the /wp-content/plugins/ directory. • Activate the plugin through the Plugins menu in WordPress • Set up from Plugin Load Filter to be added to the Plugins menu of Admin mode. Note • This plugin is required PHP 5.3 or higher • This plugin to automatically activated as must-use plugin installed plf-filter.php file to MU-plugins folder. Depending on the permissions of the folders and files there is a possibility that it is not possible to install the plf-filter.php file. • There is also plugins that can not be filtering, such as cache plugins or must-use plugins. Usage • Set as necessary 2 types of filters (Filter Registration) • Admin Filter: Register the plugins to be used only in admin mode. • Page Filter: Register the plugins for selecting whether to activate each Page type or Post. Page Filter registration plugins are once blocked, but is activated by Page filter Activation setting. • Select the plugins from Page Filter registration to activate (Page filter Activation) • Desktop/Mobile Filter: plugins to be used only in desktop/moble device. (wp_is_mobile function use) • Select the plugins that you want to activate for each Page type or Post Format type or Custom Post type. • Can be selected plugins to activate from Post content editing screen • Check • Please perform sufficient test whether the setting is working as expected. • Please also check the operation if you add or remove a plugin. • Filter priority: Admin Filter > Each Post/Page Filter setting > Page Filter. FAQ Installation Instructions • Upload the plugin-load-filter folder to the /wp-content/plugins/ directory. • Activate the plugin through the Plugins menu in WordPress • Set up from Plugin Load Filter to be added to the Plugins menu of Admin mode. Note • This plugin is required PHP 5.3 or higher • This plugin to automatically activated as must-use plugin installed plf-filter.php file to MU-plugins folder. Depending on the permissions of the folders and files there is a possibility that it is not possible to install the plf-filter.php file. • There is also plugins that can not be filtering, such as cache plugins or must-use plugins. Usage • Set as necessary 2 types of filters (Filter Registration) • Admin Filter: Register the plugins to be used only in admin mode. • Page Filter: Register the plugins for selecting whether to activate each Page type or Post. Page Filter registration plugins are once blocked, but is activated by Page filter Activation setting. • Select the plugins from Page Filter registration to activate (Page filter Activation) • Desktop/Mobile Filter: plugins to be used only in desktop/moble device. (wp_is_mobile function use) • Select the plugins that you want to activate for each Page type or Post Format type or Custom Post type. • Can be selected plugins to activate from Post content editing screen • Check • Please perform sufficient test whether the setting is working as expected. • Please also check the operation if you add or remove a plugin. • Filter priority: Admin Filter > Each Post/Page Filter setting > Page Filter. Does what Plugin Organizer doesn’t with a much, much less convoluted user interface. Fantastic for resolving compatibility issues with live editors that modify the page URL that can be incompatible with various plugins. Or just custom pages that have a unique URL or not even particularly unique – regex helps a ton. It just works. And incompatibilities is not the full extent of this plugin – it has so much potential for things like page load time optimization. Will definitely try it out more deeply, but for what it helped me with so far it already deserves a 5 star rating. Great job, this is a model WP plugin. Just don’t forget about security updates. Changelog 2.5.1 • 2017-5-11 Add confirmation dialog to clear setting button. And Fix regular expression for AMP / URL page judgment. 2.5.0 • 2017-1-20 AMP/URL page filter support. And addition of monitoring process of “rewrite_rule” data for custom post type. 2.4.1 • 2016-10-21 fix. Archive of judgment miss (category, tag), and corresponding at the time of custom post type used to “rewrite_rules”, “wp_post_statuses”. 2.4.0 • 2016-08-31 Multisite support. 2.3.1 • 2016-06-20 When the plugin update, has been fixed because there was a case of plf-filter file of MU-plugins folder is not updated 2.3.0 • 2016-06-17 Change user interface option settings. And is_embed template support. (Filter for WP Embed content card API) 2.2.1 • 2016-04-18 WP4.5 support. (get_currentuserinfo is deprecated since version 4.5! Change wp_get_current_user) 2.2.0 • 2015-07-23 Code cleanups (Stop the use of transient API cache of intermediate processing data) 2.1.0 • 2015-04-30 Change user interface option settings screen. 2.0.1 • 2015-04-22 Exclude GET request(with? Parameters) to the home page from the filter. For example, Link to download the Download Manager plugins. 2.0.0 • 2015-04-16 Release Read more.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2018
Categories |