
A simple WordPress plugin that makes tables collapsible by clicking on the table header.
| Author: | WPApps (profile at wordpress.org) |
| WordPress version required: | 4.0 |
| WordPress version tested: | 6.6.2 |
| Plugin version: | 1.1.0 |
| Added to WordPress repository: | 04-07-2024 |
| Last updated: | 05-10-2024
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
| Rating, %: | 0 |
| Rated by: | 0 |
| Plugin URI: | |
| Total downloads: | 842 |
| Active installs: | 10+ |
![]() Click to start download |
|
WPApps Table Collapser is a lightweight plugin that makes your tables collapsible. By adding a collapsible-table class to your tables, you enable users to toggle the visibility of the table body by simply clicking on the table header.
Features
- Collapsible Tables: Make any table collapsible by adding a simple class.
- Toggle Indicator: Automatically adds a
+/-indicator to the last column of the table header. - Customizable: Style the toggle indicator and table appearance with your own CSS.
- Block Editor Support: Includes a Gutenberg block for easy table creation and collapsing functionality.
- Mobile Friendly: Works seamlessly on mobile devices with responsive design.
Usage:
- Ensure that your table has a
<thead>tag for the table header, though it’s not mandatory if you enable the “Allow Table Without<thead>” option in settings. - Add the class
collapsible-tableto your table. - Optionally, add a
data-titleattribute to your table to set a custom title for the mobile compact view. - The last column in the table header will have a toggle indicator (
+/-) added to it. Clicking anywhere in the header will show or hide the table body.
Screenshots
FAQ
ChangeLog





