وضاحت
This plugin adds automatic accordion functionality to headings in WordPress content.
It provides collapsible sections for H2 and H3 headings, enabling a clear hierarchical reading experience for long-form content.
The plugin is designed to work with both classic and block-based themes, including Gutenberg editor content.
No external libraries are required.
Features
- Accordion behavior for H2 headings (primary sections)
- Nested toggle behavior for H3 headings within H2 sections
- H4 headings are preserved as part of the content structure (non-interactive)
- Works with Gutenberg block editor
- Works with classic editor
- Compatible with most WordPress themes
- Lightweight vanilla JavaScript implementation
- No external dependencies
انسٽاليشن
- Upload the plugin folder to /wp-content/plugins/
- Activate the plugin from the WordPress admin dashboard
- Add H2 and H3 headings in your posts or pages
FAQ
-
Does this plugin work with Gutenberg?
-
Yes, it works with both Gutenberg (block editor) and classic editor.
-
Does it require jQuery or any external library?
-
No. It is implemented using pure JavaScript.
-
Will it work with any theme?
-
It is designed to work with most WordPress themes, including block themes and classic themes.
-
Do H4 headings have accordion behavior?
-
No. H4 headings are not interactive and remain part of the content hierarchy.
جائزا
ھن پلگ ان لاءِ ڪي به رايا ناھن.
تعاون ڪندڙ & ڊولپرز
“Wareko Header Auto Accordion” اوپن سورس سافٽ ويئر آهي. ھيٺين ماڻھن ھن پلگ ان ۾ حصو ورتو آھي.
تعاون ڪندڙترجمو ڪريو “Wareko Header Auto Accordion” توهان جي ٻولي ۾.
ڊولپمينٽ ۾ دلچسپي؟
ڪوڊ براؤز ڪريو، چيڪ ڪريو SVN مخزن، يا رڪنيت حاصل ڪريو ڊولپمينٽ لاگ پاران RSS.
لاگ تبدیل ڪريو
3.0.0
- Changed file names, etc. No functional changes.
2.0.0
- Initial public release
- Added H2 accordion functionality
- Added H3 nested toggle functionality
- Improved compatibility with Gutenberg and block themes
- No external dependencies