This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Show-Hide / Collapse-Expand

Description

Live Demo:
See live demo of our plugin at showhide.bunte-giraffe.de. User: demo, password: demo.

Show-Hide / Collapse-Expand allows you to easily manage the amount of content shown to user upon entering your website. It will free your pages from clutter and give your website a stylish minimalistic look and feel. You will find it handy for grouping content, composing FAQs, collapsing long lists and expanding them on click, providing hidden answers to questions, organizing your widgets more efficiently, and lots more. Inserting a shortcode is done via a handy tinyMCE button in your WordPress Editor. You will configure the look of your button/hyperlink on the fly and will be able to change it later using the provided shortcode parameters. Why don’t you give it a try?

Please feel free to post your questions in the support threads of this plugin, we will be glad to help you with any issues.

Main features

  • Show/Hide ANY content*
  • Collapse/Expand using jQuery Effects (blind, fold, highlight, slide)
  • Set custom animation speed
  • Add your custom JS functions to onclick events
  • Collapse/Expand lists
  • Easily add FAQs
  • Add hidden answers to quizzes (answer opens on button click)
  • Collapse widgets to declutter sidebars
  • Save space on pages by grouping the content under expandable headings
  • Use hyperlinks or stylish pure-css buttons
  • Style every link/button individually
  • Make button stick to the end of the expanded content
  • Use icons for your buttons or in front of your links
  • Nest up to 3 levels of collapsible content
  • Easily customize the settings and insert the shortcode with a TinyMCE button
  • Use in sidebars by inserting the shortcode with needed parameters
  • Regular updates
  • Great support
  • We tested our plugin thoroughly, but if you have issues with any type of content, please let us know in the support thread.

Credits

We used Best CSS Button Generator http://www.bestcssbuttongenerator.com for our sleek pure-css buttons.

Screenshots

  • Insert your shortcode on button click.
  • Use one of our predefined button styles.
  • Collapse long lists.
  • Create an FAQ.
  • Hide answers and show them on click.
  • Nest shortcodes inside one another.
  • Collapse widgets in sidebar.

Installation

  1. Upload the plugin files to the ‘/wp-content/plugins/show-hidecollapse-expand’ directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.
  3. Go to Tools->ShowHide/CollapseExpand screen to customize plugin settings (animation effect and animation speed).
  4. Go to the post/page you need to add the shortcode to and click the Collapse-Expand button in your TinyMCE Editor.
  5. Customize the needed settings: select type of control with which you want the user to expand/collapse the content, select the color of your hyperlink or button text, type in your labels for expanding/collapsing the content, select the icon for your button/link, etc.
  6. If needed, go to Tools->ShowHide/CollapseExpand screen and switch to the Help tab to see the full list of shortcode parameters.

FAQ

Can I see a demo of your plugin before installing it?

See live demo of our plugin at showhide.bunte-giraffe.de. User: demo, password: demo.

How can I insert the shortcode?

Go to the post or page you wish to edit and switch to Visual tab. You will see the Collapse-Expand button in your Editor. Please click it and customize the needed parameters. When you click OK, the shortcode will be inserted.

Can I insert the same shortcode into a post and a sidebar widget?

Yes, you can use the same shortcode multiple times on the same page.

How do I nest shortcodes inside one another?

For inserting level 2 shortcode, please check the This shortcode should be nested in another shortcode” checkbox or use [bg_collapse_level2] shortcode. For level 3, please use [bg_collapse_level3] shortcode.

Will my other shortcodes work inside your shortcode?

Yes, we did our best to make them work. Some shortcodes (like Google Maps plugins shortcodes) might behave strangely, we recommend using our Google Maps – Simple Pins plugin if you need to hide your Google maps. If you have any issues, please let us know in the support thread.

I don’t want to use animation, can I turn it off?

Sure. Go to Tools->ShowHide/CollapseExpand screen (Settings tab), clear the Enable jQuery UI effects checkbox and set Custom animation speed (ms) to 0.

Reviews

Июнь 4, 2021
I am using this plugin for Hidden Answer Quiz. After searching around, I discovered this is the only Wordpress Hidden Answer plugin in the market, perfect for Hidden Answer Quiz, Reveal Hidden Coupon code, Hide and Reveal FAQs and so on. Initially, I was looking for something like a scratch off sticker that is used on coupon sites like savings.com, but this plugin does the job of hiding answers as well, so it’s a good option. I hope the developer will add more features such as a multiple choice quiz which is linked to the hidden answer. In this case, the hidden answer should not be revealed unless the user completes the multiple choice question by selecting/guessing/putting his or her own answer.
Июль 14, 2020
Very nice to work with – once you get a feel for how it works. Exceptionally well-coded and will do just about anything you need it for.
Июнь 25, 2020
Good for text show/hide. has colored buttons.
Июнь 11, 2020
I installed and used this plugin on a site I am admin for. They use Elementor for their page edits and I find it is a capable enough editor. However, I am not able to use the GUI components of this Show-Hide plugin within the text editor of Elementor. I was able to manually add the shortcode with options and get the desired effect…including hiding photos, etc. So, 5 stars for that and 6 stars if you get the GUI button to show up in Elementor editor!
Мартъи 12, 2020 1 reply
Hello, I’m sorry but I’ve set my review to one star cause the plugin isn’t really doing what is in the description -namely collapsing ANY widgets- as it is clearly stated here it only does with text/html widget. I’ll change my review once this is either removed from the description or actually offered as a functionality -since I’ve lost my time installing this and trying it, and looking all over on how to make it work, reading through the forum etc…
Read all 20 reviews

Contributors & Developers

“Show-Hide / Collapse-Expand” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.3.0

  • Enhanced plugin security

1.2.6

  • Fixed a vulnerability issue. Please update as soon as possible.
  • Checked compatibility with WP 6.1

1.2.5

  • Added compatibility for WP 5.7

1.2.4

  • Added compatibility for PHP 7.3+
  • Checked WP 5.5 compatibility

1.2.3

  • Fixed apostrophes causing errors in collapse and expand texts

1.2.2

  • Added custom_class shortcode attribute

1.2

  • Added the ‘stick-to-bottom’ option for links/buttons
  • Fixed onclick event for buttons
  • Fixed bug preventing working with plugins like Content View
  • Fixed bug interfering with css classes in some themes

1.1

  • Added inline_css shortcode attribute to allow styling every control individually
  • Added onclick shortcode attribute to allow adding custom JS functions to controls

1.0

  • Added custom animation speed selection.
  • Added support for jQuery UI Effects (blind, fold, highlight, slide).
  • Fixed issues with expandable lists.

0.1

Initial release.