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/bellevuecollege/dropdown-based-content/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.
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
Releases
1 release.
Tag
Published
v1
latest
May 16, 2018 8 years ago
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.