Collapsible Content GitLab
A WordPress plugin for showing/hiding content on a page
by Grofftech · gitlab.com/grofftech/wordpress/collapsible-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://gitlab.com/grofftech/wordpress/collapsible-content/-/archive/main/collapsible-content-main.zipReadme
Collapsible Content Plugin
A WordPress plugin to show teaser content with an option to show or hide hidden content. Practical examples include Q&A's and FAQ's and more.
Requirements
- Node
- NPM
- Git
- Make
Features
This plugin includes the following features:
- QA Shortcode '[qa]'
- Teaser Shortcode '[teaser]'
- Font icon visual indicator
- Vanilla JS sliding animation
Installation
-
In your terminal, navigate to the
wp-content/pluginsfolder of your project. -
Clone the repository
git clone https://github.com/groffTECH/collapsible-content.git && cd collapsible-content -
Install Composer dependencies
composer install -
Install Node dependencies
npm install -
Build the code
make all -
Login to the admin area your WordPress website.
-
Navigate to Plugins and activate the Collapsible Content plugin.