Active installations10K+Adoption metric — not a quality score
WordPress.org rating5.0 / 5 from 36 ratings
Official packageDirect from WordPress.org
Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →
WP PlugIndex currently records Accordion Blocks version 1.5.0 as active, updated 4y ago and tested up to WordPress 5.9.
Overview
About this plugin
Accordion Blocks is a simple plugin that adds a Gutenberg block for adding accordion drop-downs to your pages.
The accordions should blend seamlessly with your theme. However, you may want to add custom styles to your theme.
Features
Adds a Gutenberg block for adding accordions to your site.
Supports multiple accordions with individual settings for each accordion item.
Scroll page to title when it’s clicked open (including setting a scroll offset position).
Set the HTML heading tag for the title element (h1–h6, button).
Set defaults to be applied to all new accordion items or reset a specific accordion item to the defaults.
Supports adding custom block styles using wp.blocks.registerBlockStyle.
Output
The plugin will ultimately output following HTML (simplified for this example):
<div class="wp-block-pb-accordion-item c-accordion__item js-accordion-item" data-initially-open="false" data-click-to-close="true" data-auto-close="true" data-scroll="false" data-scroll-offset="0"> <h2 id="at-76840" class="c-accordion__title js-accordion-controller" tabindex="0" role="button" aria-controls="ac-76840" aria-expanded="false"> Title with H2 tag </h2> <div id="ac-76840" class="c-accordion__content" style="display:none" aria-hidden="true"> <p>Content</p> </div> </div>
Custom CSS
You can use the following CSS classes to customize the look of the accordion.
c-accordion__content {} /* An accordion item content container */
WordPress.org metadata
Plugin tags
Topics listed for this plugin in the WordPress.org directory.
accordion
accordions
block
gutenberg
responsive
Compatibility & maintenance
Compatibility & maintenance
Tested up to WordPress 5.9
Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 5.9.
Current WordPress releaseWordPress 7.1
WordPress.org Tested up to5.9
Minimum requirementsWordPress 5.9 · PHP 7.3
Update activity7 Feb 20224y ago
“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.
Changes recorded by WP PlugIndex
Recent tracked changes
No tracked version or compatibility changes have been recorded by WP PlugIndex yet.
Tracking & source
WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.