Collapsible Section Shortcode
Adds the [rl_collapsible_section] shortcode to WordPress.
by Ryerson University Library · github.com/torontomulibrary/rl-collapsible-section · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/torontomulibrary/rl-collapsible-section/archive/refs/heads/master.zipDeclares an update source (https://github.com/ryersonlibrary/rl-collapsible-section), so updates arrive through the plugin's own updater.
Readme
rl-collapsible-section
Adds the [rl_collapsible_section] shortcode to WordPress.
Installation
- Use the GitHub Updater plugin to install. Or extract manually into the
wp-content/wp-pluginsdirectory. - That's it!
Usage
[rl_collapsible_section][/rl_collapsible_section] shortcode
Example usage: [rl_collapsible_section title="Collapsible section" title-tag="h1" collapsed="yes"]Collapsible section content[/rl_collapsible_section]
Outputs the collapsible content. Parameters are optional, defaults shown.
[rl_collapsible_section_toggle_button] shortcode
Example usage: [rl_collapsible_section_toggle_button]
Outputs an expand/collapse all button.