Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/torontomulibrary/rl-collapsible-section/archive/refs/heads/master.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
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.