Dropdown Based Content
Display content based on combobox selection
by Bellevue College Integration Team · github.com/bellevuecollege/dropdown-based-content · 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/bellevuecollege/dropdown-based-content/archive/refs/heads/master.zipDeclares an update source (BellevueCollege/dropdown-based-content), so updates arrive through the plugin's own updater.
From the readme
Dropdown Based Content
Display content based on combobox selection
Shortcodes
This plugin uses a rather complex shortcode structure to create the dropdown box and associated content.
The following shortcodes and attributes are available:
[dbc label="Label Text"] ... [/dbc]
Should surround the entire area. label attribute is used to set the combobox label.
[dbcoptions button="Button Text" placeholder="Text Area Placeholder"] ... [/dbcoptions]
Should surround options in dropdown. Placeholder text appears in text area (entry hints, etc), and the button text appears in the main submit button.
[dbcoption title="Option Title" contentid="target-id" /]
Each option in the comboxbox is created with a dbcoption shortcode. It is self-closing, and does not need a closing shortcode. Title will display in the dropdown, as the option available for selection. The contentid needs to match the ID set on one of the [dbccontent] shortcodes.
[dbccontent id="unique-id"] ... [/dbccontent]
Should be inside of the main [dbc] tag, but not inside of [dbcoptions]. Each one should have a unique ID set, which should be lowercase, and not contain spaces or special characters. All content
Read the full README on GitHub →
Releases
| Tag | Published |
|---|---|
| v1 | May 16, 2018 |
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.