Show / Hide Section Block
Show / Hide Section Block provides four blocks that are used to display a group of elements that each contain a and an arbitrary number of additional blocks.
Consider an alternative
Show / Hide Section Block shows warning signs in 2026 — compare the alternatives below before installing. It runs on 90+ sites, is rated 5/5 and was last updated 2 years ago, and scores 41/100 on our health check.
- Small user base (90+ active installs)
- Very few reviews so far
- No update in over a year
- Only tested up to WordPress 6.8 (latest is 7.1)
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where Show / Hide Section Block stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| collapsible | #91 |
| details | >100 |
| summary | >100 |
Version adoption
Share of active sites per release.
Rating breakdown
★★★★★★★★★★ 5 from 1 reviews
About Show / Hide Section Block
From the official readme · v3.1.0Description
Show / Hide Section Block provides four blocks that are used to display a group of <details> elements that each contain a <summary> and an arbitrary number of additional blocks.
- The Show Hide Group block is a wrapping
<div>. - The Show Hide Section block is a wrapping
<details>. One or more of these blocks is added to a Show Hide Group block. - The Show Hide Summary block contains the content for a
<summary>tag. One of these blocks is inside each Show Hide Section block. - The Show Hide Details block contains arbitrary content. One of these blocks is added inside each Show Hide Section block.
The HTML output for an individual section is:
<!-- Each section block has a details element. -->
<details class="wp-block-happyprime-show-hide-section">
<!-- Each details element has a summary and additional, collapsible content. -->
<summary class="wp-block-happyprime-show-hide-summary">Summary text</summary>
<!-- Additional inner blocks of any type are populated here. -->
</details>
The HTML output for the group is:
<div class="wp-block-happyprime-show-hide-group">
<!-- Optional based on attribute -->
<button class="toggle-all" aria-expanded="false">Open all</button>
<details class="wp-block-happyprime-show-hide-section">
<summary class="wp-block-happyprime-show-hide-summary"></summary>
<!-- Additional blocks to be shown/hidden -->
</details>
<details class="wp-block-happyprime-show-hide-section">
<summary class="wp-block-happyprime-show-hide-summary"></summary>
<!-- Additional blocks to be shown hidden -->
</details>
<!-- Additional section blocks -->
</div>
An option is provided in the block’s side panel to toggle an “Open all”/”Close all” button. If this is toggled on for a block, an additional <button> element will be inserted and JavaScript will be used on the front-end to control the show/hide behavior of all <details> elements in the group at once.
If the toggle is off, no JavaScript is loaded on the front end and only the browser’s default behavior is used for opening and closing <details> elements.
Changelog
3.1.0
- Automatically open an associated
<details>element when its anchor is used in a URL. - Update dependencies.
- Confirm compatibility with WordPress 6.8.
- Confirm license in plugin header.
3.0.0
- Refactor block markup to improve editorial experience and formatting options.
- Introduce
happyprime/show-hide-summaryblock to manage<summary>content. - Introduce
happyprime/show-hide-detailsblock to manage remaningin<details>content. - Upgrade
happyprime/show-hide-groupandhappyprime/show-hide-sectionblocks to API v3. - Add a deprecation routine to transform 2.0.x block markup into the new format.
- Replace
@wordpress/scriptswith slimmer build configuration. - Bump minimum WordPress version to 6.4; confirm compatibility with 6.7.
2.0.3
- Fix an issue where the front-end script was enqueued twice.
2.0.2
- Fix an issue preventing Open All toggle from working in Chrome.
- Update
@wordpress/scriptsdependency to 26.3.0. - Improve block organization, use of
block.json.
2.0.1
- Add a variety of
supportsoptions toblock.jsonso that core styles can be applied as expected. - Improve asset loading so that the front-end script is only enqueued when the block is in use and when the the open/close all option is selected.
- Add languages directory, POT file for translations.
2.0.0
Initial public release.
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best Show / Hide Section Block alternatives
All collapsible plugins →FAQ
Show / Hide Section Block: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is Show / Hide Section Block free?
Yes. Show / Hide Section Block is free to download and use from the official WordPress.org plugin directory.
Is Show / Hide Section Block safe to use in 2026?
Show / Hide Section Block shows warning signs in 2026 — compare the alternatives below before installing. It runs on 90+ sites, is rated 5/5 and was last updated 2 years ago, and scores 41/100 on our health check.
How many websites use Show / Hide Section Block?
Show / Hide Section Block is active on 90+ WordPress websites and has been downloaded 3,024 times since it launched in March 2023. It was downloaded 145 times in the last 30 days.
Does Show / Hide Section Block work with WordPress 7.1?
Show / Hide Section Block is officially tested up to WordPress 6.8.13, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
What PHP version does Show / Hide Section Block need?
Show / Hide Section Block requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Show / Hide Section Block last updated?
The latest version, 3.1.0, was released on May 8, 2025 (2 years ago).
Who makes Show / Hide Section Block?
Show / Hide Section Block is developed and maintained by Happy Prime.
What are the best alternatives to Show / Hide Section Block?
The most popular alternatives to Show / Hide Section Block are Lightweight Accordion (10K+ installs), WPB Accordion Menu (10K+ installs) and Expand + Collapse Funk (700+ installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card
