WP Manifestindependent plugin directory
manifest / content / rl-collapsible-section

Collapsible Section Shortcode

Adds the [rl_collapsible_section] shortcode to WordPress.

by Ryerson University Library · github.com/torontomulibrary/rl-collapsible-section · website

0stars
0forks

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.zip

Declares 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

  1. Use the GitHub Updater plugin to install. Or extract manually into the wp-content/wp-plugins directory.
  2. 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.

Read the full README on GitHub →