开发者 | jimisaacs |
---|---|
更新时间 | 2010年3月18日 12:31 |
捐献地址: | 去捐款 |
PHP版本: | 2.8 及以上 |
WordPress版本: | 3.0-alpha |
extensible-widgets
directory to the /wp-content/plugins/
directoryThis is what the codebase is written for, it is not going to change. Sorry, welcome to the future.
It is a PHP widget class built within the parameters of the 'Extensible Widgets' framework for widgets. Any extensible widget can be extended, but retain the functionality of all the parent classes that it may extend. 'Extensible Widgets' also provides administration to allow for users to control this functionality within the UI of that widget.
The term 'registered widget' is not necessarily what is added to your widgetized areas. Instead this is like the blue-print for those instances. When you register a widget, what you are doing is allowing for instances of that widget to be created and added to your areas from that registered blue-print. Beware! When you unregister a widget, all instances that were added across all widgetized areas automatically disappear. You can get them back, but I don't suggest unregistering something unless you are really sure you want to.
Yes, and no. They do depend on each other, but this is on the PHP side of things, and in no way important to the registration of the widgets in the administration pages. Basically you can register the 'Widget Group' widget, without having to register the 'Widget Base' widget, or any other of it's PHP dependencies.
Honestly this is a pretty advanced plugin that I would say is mostly for developers. Though I am trying to make it easier for developers to control the capabilities of the widget included with 'Extensible Widgets' to make it less developer centric on a per user basis (role/capability level).
Numerous times I need a way to put the same content in different places around my site. This content is usually represented as posts, pages, or basically anything. I developed this plugin as the answer to this problem, using the already built WordPress Widgets framework. Widgets made sense to use because of their very nature. If you are looking to answer a lot of these same problems I was having, then this plugin will serve you well.
Once you start using this plugin, you will notice that widgets will become a major part in the whole of your website. Because of this fact, I included Import/Export functionality for the settings of 'Extensible Widgets', and all of your widget data from WordPress itself.