Creates a tabbed or accordion-style widget that can hold other widgets.
There is limited support for the tabbed interface in WordPress 3.2.x, but the accordion interface does not work.
In order to create the handles for the accordions/tabs, the titles have to be wrapped in links to those items. Since you can't wrap a link inside of a link, this plugin strips any HTML from the widget title before rendering the collapsible interface.
Yes. This plugin is set up to work in any of the following situations:
Yes you can. Simply go to Settings -> Collapsible Widget Options and specify how many Collapsible Widget Areas you want. Then, when you go back to Appearance -> Widgets, you will see that many Collapsible Widget Areas available on the right side.
Yes, you can use the shortcode
[collapsible-widget id=#] (where you replace the # with the ID of the Collapsible Widget Area you want to render). The following options are available for the shortcode:
Again, theoretically, yes. You should be able to use
the_widget() to insert this directly into your theme, but that has not been tested, and it would probably take some effort to get it working correctly.
Since this plugin uses jQueryUI, it uses the same style definitions that any other jQueryUI accordion/tab interface would use. You can choose to use any of the existing jQueryUI themes (all hosted on Google's CDN), you can leave out custom styling altogether (for instance, if you already have a jQueryUI theme pulled into your theme, or if you have specific style definitions for jQueryUI widgets baked into your theme's stylesheet), or you can apply a custom theme by hooking into the
collapsible-widget-ui-theme filter and returning the URI of the CSS file you want to use.
collapsible-widget-ui-theme- the parameters sent to this filter are: 1) the URI of the CSS file being used (or a blank string if "none" was selected from the options) and 2) the theme option that was selected in the plugin's settings
collapsible-widget-area-args- the arguments sent to the
register_sidebar()function when registering the Collapsible Widget Area sidebar
collapsible-widget-theme-list- an associative array of the jQueryUI themes available for use with this plugin: The keyword used in the Google CDN URI (or, the full URI to a custom theme) is used as the key, and the human-friendly name of the theme is used as the value for each array item.
heightStyleargument, so that accordion areas are only as tall as the content inside of them, rather than all being a uniform height.
Yes, you can see some very basic code examples of how these filters can be used on Github.
Requires: 4.0 or higher
Compatible up to: 4.3.6
Last Updated: 1 year ago
Active Installs: 1,000+
0 of 1 support threads in the last two months have been marked resolved.
Got something to say? Need help?