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/nickdavis/collapsiblecontent/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.
Collapsible Content Plugin
Collapsible Content is a WordPress plugin that shows and hides content.
Features
This plugin includes the following features:
- QA Shortcode,
[qa] - Teaser Shortcode,
[teaser] - Font icon visual indicator
- jQuery sliding animation
Installation
To install this plugin, you can download it by clicking on the GitHub download button or clone the repository.
- Navigate to the
wp-content/pluginsfolder of your project - Then type in terminal:
git clone git@github.com:nickdavis/CollapsibleContent.git. - Login to your WordPress website
- Go to Plugins and activate Collapsible Content plugin
Continue Development
If you want to continue development, you will need to have Composer, Gulp, Node.js and npm installed on your machine.
- Navigate to the
wp-content/plugins/collapsible-contentfolder. - Then type
npm installto install all of thenode_modulesfor Gulp. - Type
composer installto install the Composer PHP pacakges.