Wareko Header Auto Accordion Admin

この記事は約5分で読めます。
スポンサーリンク
スポンサーリンク

Automatically adds accordion-style collapsible behavior to H2 and H3 headings inside the WordPress Classic Editor.

Improve editing visibility and organization for long-form content inside the WordPress admin editor.

About This Plugin

Wareko Header Auto Accordion Admin is a lightweight WordPress admin plugin designed specifically for the Classic Editor experience.

It automatically transforms H2 and H3 headings inside the WordPress Classic Editor into interactive accordion sections, allowing content creators to expand and collapse content blocks while editing.

This helps improve readability and navigation when working with long articles, documentation, manuals, tutorials, or highly structured content.

Unlike frontend accordion plugins, this plugin works only inside the WordPress admin editing interface and does not affect published page rendering.

Features

  • Accordion-style interaction for H2 headings inside Classic Editor
  • Nested toggle support for H3 headings within H2 sections
  • Improves editing visibility for long-form content
  • Works inside the WordPress admin editor only
  • Designed specifically for Classic Editor workflow
  • Lightweight vanilla JavaScript implementation
  • No jQuery required
  • No external dependencies
  • Does not affect frontend rendering

Screenshots

Editor Expanded State

This screenshot shows the WordPress Classic Editor with H2 and H3 headings displayed in expanded mode.

Editors can easily navigate structured content while writing or reviewing long posts.

Editor Collapsed State

Sections can be collapsed interactively to reduce visual clutter and improve focus during editing.

This helps editors focus on specific sections without scrolling through large amounts of content.

Installation

  1. Upload the plugin folder to /wp-content/plugins/
  2. Activate the plugin from the WordPress admin dashboard
  3. Open a post or page using the Classic Editor
  4. Use H2 and H3 headings inside the editor
  5. Click headings to expand or collapse sections while editing

Requirements

  • WordPress 6.0 or later
  • Compatible with Classic Editor
  • PHP 7.4 or later recommended

Frequently Asked Questions

Does this affect the public website?

No. This plugin works only inside the WordPress admin Classic Editor and does not change frontend rendering.

Does it work with Gutenberg?

No. This plugin is specifically designed for the Classic Editor editing experience.

Does it require jQuery or external libraries?

No. The plugin uses lightweight vanilla JavaScript only.

Can it be used together with frontend accordion plugins?

Yes. Since this plugin only affects the admin editor interface, it does not conflict with frontend accordion implementations.

Developer

Developed by Wareko.