Restrict Multisite Widgets
A quick adaptation of the theme restriction code for widgets. Can only restrict on a site-wide basis, though it will only affect those sites on which it’s activated. Does not restrict super admins. Plugins must be active on the main site to be controlled by this plugin (this is an issue with WordPre
A quick adaptation of the theme restriction code for widgets. Can only restrict on a site-wide basis, though it will only affect those sites on which it’s activated. Does not restrict super admins. Plugins must be active on the main site to be controlled by this plugin (this is an issue with WordPress’ plugin structure).
See also: Restrict Multisite Plugins
- 01Upload restrict-multisite-widgets.php to /wp-content/plugins/ directory
- 02Network Activate the plugin through the ‘Plugins’ menu OR Activate the plugin through the ‘Plugins’ menu of every WordPress site you wish to restrict
- 03Select widgets to make available under the ‘Widget Restrictions’ section in the ‘Themes’ menu in the Network Admin or ‘Widgets’ section in the ‘Super Admin’ menu
Frequently asked questions.
Can I enable widgets only for individual sites?
No. You can as a Network Admin however activate widgets for individual sites without restrictions.
Will this plugin affect widgets already activated by site admins?
Yes. If a widget is activated by a site admin and disabled by this plugin, it will be disabled immediately.
Why doesn’t this plugin display widgets I’ve activated on a single site? / Why does this plugin display widgets I’ve activated on my main site?
Due to the way WordPress MultiSite is written, it isn’t possible for the plugin to reliably detect what widgets are available on sites other than the main site.