Description
A WordPress Multisite Plugin that runs a Widget in a context of another site that belongs to the network
How it works
On every Widget, this plugin adds a select menu that you can choose on which site context you will execute the widget.
It also has a option to pull the widget data from target site, you can check this option if you want to populate the data of widget that depends of the context site, with content from the target site. See Screenshots to understand better.
Contribute
You can contribute to the source code in our GitHub page.
Screenshots
Installation
To install just follow the installation steps of most WordPress plugin’s:
e.g.
- Download the file multisite-widgets-context.zip;
- Unzip the file on your computer;
- Upload folder multisite-widgets-context, you just unzip to
/wp-content/plugins/
directory; - Activate the plugin on the
Plugins
menu in WordPress; - Be happy.
THIS PLUGIN ONLY WORKS WITH MULTISITE
FAQ
- Installation Instructions
-
To install just follow the installation steps of most WordPress plugin’s:
e.g.
- Download the file multisite-widgets-context.zip;
- Unzip the file on your computer;
- Upload folder multisite-widgets-context, you just unzip to
/wp-content/plugins/
directory; - Activate the plugin on the
Plugins
menu in WordPress; - Be happy.
THIS PLUGIN ONLY WORKS WITH MULTISITE
- Can I use this plugins without multisite
-
No, It does’t make sense to use this plugins without multisite.
- I’m trying to run a shortcode in a context of another site and it’s not working.
-
As switch_to_blog does not switch plugins or theme, you need the code for shortcode running on the site that you are EXECUTING THE WIDGET. If the shortcode is provided by a plugin, just activate the plugin on the site which you want to run the widget.
Reviews
Contributors & Developers
“Multisite Widgets Context” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Multisite Widgets Context” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.1.2
- Fixing a bug where a PHP Fatal error could happen on the append_current_site_context() method.
1.1.1
- Fixing a bug where the selected site context wasn’t being persisted in some edge cases
1.1.0
- WordPress 4.5 Compatibility
- Code Refactoring to better meet WordPress standards
- Security enhancements: escaping and sanitization
- Performance Improvements: Caching get_blog_ids method
1.0.3
- Fixed a bug when a new widget is added to a sidebar and the current site isn’t checked by default
- WordPress 4.3 compatibility