CARES Content Toggle
Adds the JS and CSS needed for a basic, accessible content toggle.
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/careshub/cares-content-toggle/archive/refs/heads/master.zipDeclares an update source (https://github.com/careshub/cares-content-toggle), so updates arrive through the plugin's own updater.
Readme
=== CARES Content Toggle === Contributors: dcavins Requires at least: 3.6 Tested up to: 4.9 Stable tag: 1.0.0 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.txt
Add toggling capability for html of a specific format.
== Description ==
This plugin will apply toggle controls to content of a specific format:
Trigger text goes here Content you want to be toggleable goes here. This content will be hidden at page load.If you prefer for a section to stay open on pageload,
add the class toggle-open to toggle-container like:
== Changelog ==
= 1.0.0 =
- Applies toggle capability to content with a particular structure and class names.
- Adds ARIA labeling to trigger and target content.