WP Manifestindependent plugin directory
manifest / content / cares-content-toggle

CARES Content Toggle

Adds the JS and CSS needed for a basic, accessible content toggle.

★ 0stars

Install

Download source zip No release zip yet

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/careshub/cares-content-toggle/archive/refs/heads/master.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

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:

Trigger text goes here Content you want to be toggleable goes here. This content will be visible at page load.

Changelog

1.0.0

  • Applies toggle capability to content with a particular structure and class names.
  • Adds ARIA labeling to trigger and target content.