Description
AlitaYoko Accordion Boxes stores accordion content as a dedicated WordPress post type. Each box therefore keeps a stable identity independent of its position on a page.
Main features:
- Centrally managed Accordion Boxes and hierarchical categories
- Reduced rich-text editing interface for box content
- Interactive Gutenberg preview
- Gutenberg blocks for normal lists, browser-local favorites and random Shuffle selections
- Shortcodes
[reader_accordion],[reader_accordion_favorites]and[reader_accordion_shuffle] - Browser-local Read / Unread state
- New and Updated detection based on each reader’s local state
- Browser-local favorites with configurable star or heart controls
- Native sharing with copy, email and WhatsApp fallbacks
- Direct links that open the targeted box
- Personal toolbar with counters, reading progress, filters, search and open/close actions, including a compact icon mode
- Optional native WordPress comments per box, including global comment modes
- Lazy-loaded comment threads and configurable initial comment visibility
- Flexible styling for borders, shadows, spacing, colors, closed/open icon directions and behavior
- Non-destructive import from Lightweight Accordion blocks and shortcodes
- Automatic usage overview in the WordPress admin
- English source language with WordPress.org-ready internationalization
- Independent frontend language setting: Automatic, German or English
Language behavior
The WordPress admin follows WordPress and the current user’s configured locale.
Reader-facing frontend labels can be configured under Accordion Boxes > Settings > General:
- Automatic: follows the locale selected by WordPress or a multilingual plugin
- German: forces only Accordion Boxes frontend labels to German
- English: forces only Accordion Boxes frontend labels to English
The override affects only this plugin. It does not change the locale used by WordPress core, the active theme or other plugins.
For backwards compatibility, installations upgraded from versions before 0.9 keep German frontend labels until the administrator changes this setting. New installations default to Automatic.
Import
The importer under Accordion Boxes > Import scans saved WordPress content for Lightweight Accordion blocks and the [lightweight-accordion] and [lightweight-accordion-nested] shortcodes.
Source pages are never changed. Identical items already imported are skipped on subsequent imports. Existing Lightweight Accordion anchors are retained as aliases where possible.
Privacy
Reading state, seen boxes, the New-status baseline and favorites are stored in the reader’s browser using localStorage. The plugin does not create server-side reader profiles for these features.
When the Favorites view is opened, only the currently favorited box IDs are sent to a read-only endpoint on the same WordPress installation so published boxes can be rendered. These IDs are not stored server-side by the plugin.
Sharing activity is not logged by the plugin. Native sharing is handed to the browser’s Web Share API. Email and WhatsApp are opened only after an explicit reader action.
If comments are enabled, comment data is processed and stored through the normal WordPress comment system. The site’s WordPress privacy, cookie, moderation and anti-spam configuration continues to apply.
External services
Accordion Boxes can optionally offer a WhatsApp action in its share menu. No request to WhatsApp is made merely by loading an Accordion Boxes page.
Only after a reader explicitly chooses WhatsApp does the browser open https://wa.me/ and pass the share text configured by the site owner. Depending on the plugin settings, that text can contain the Accordion Box title, an excerpt and/or the direct link to the box.
This action uses the external WhatsApp service:
- Service: https://www.whatsapp.com/
- EEA Terms of Service: https://www.whatsapp.com/legal/terms-of-service-eea
- EEA Privacy Policy: https://www.whatsapp.com/legal/privacy-policy-eea
Native system sharing, link copying and email sharing do not contact WhatsApp unless the reader selects WhatsApp in the operating system’s own share interface.
Screenshots










Installation
- Upload the plugin ZIP under Plugins > Add Plugin > Upload Plugin, or replace an existing version.
- Activate the plugin.
- Create at least one category under Accordion Boxes > Categories, or import existing Lightweight Accordion content under Accordion Boxes > Import.
- Create Accordion Boxes, assign categories and publish them.
- Edit a page and insert the Accordion Boxes block.
- Select the desired category in the block settings.
- Configure global behavior under Accordion Boxes > Settings.
Shortcode example:
[reader_accordion category="electric-cars"]
Supported options:
category="slug"section="slug"(legacy alias)ids="12,15,19"limit="-1"orderby="menu_order|title|date|modified|ID|post__in"order="ASC|DESC"show_category_title="true|false"show_section_title="true|false"(legacy alias)
Favorites view:
[reader_accordion_favorites]
Supported options:
title="Your Favorites"show_title="true|false"sort="favorite_desc|favorite_asc|menu_order|title|date_desc|date_asc"
Shuffle view:
[reader_accordion_shuffle categories="electric-cars,climate" count="5"]
Supported options:
categories="slug-one,slug-two"(leave empty to use all categories)count="5"(1–100; if fewer boxes match, all matching boxes are shown)
The Shuffle block and shortcode choose a fresh random subset on each uncached frontend request. Shuffle shares resolve to a stable normal Accordion Boxes page or, for imported content, the original source page rather than to the random Shuffle page.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“AlitaYoko Accordion Boxes” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “AlitaYoko Accordion Boxes” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.1.1
- Renamed the plugin to AlitaYoko Accordion Boxes and aligned the WordPress.org slug/text domain with
alitayoko-accordion-boxes. - Removed the global migration admin notice; Lightweight Accordion migration guidance now appears only on the Import screen.
- Removed bundled WordPress translation catalogs in favor of translate.wordpress.org while retaining the plugin-specific German/English frontend language override.
- Kept existing post types, taxonomy keys, block namespaces, shortcodes, REST namespaces, option keys and browser-storage keys unchanged for backwards compatibility.
1.1.0
- Added configurable box shadows with horizontal/vertical offset, blur, spread, color and opacity.
- Fixed custom border colors changing to the generic hover gray after boxes were read or hovered.
- Added an independent expand-icon direction for the open state.
- Added a compact toolbar layout with icon-based counters, filters and bulk controls plus a collapsible search field.
- Added the dynamic Accordion Shuffle block and
[reader_accordion_shuffle]shortcode with multi-category selection and configurable random item count. - Kept Shuffle sharing stable by resolving share links to normal category pages or imported source pages rather than random Shuffle pages.
- Added matching editor previews, usage detection and German translations for the new features.
1.0.0
- First stable release of Accordion Boxes.
- Promoted the fully Plugin Check-clean 0.9.2 codebase without functional changes.
- Finalized release metadata and version consistency for WordPress.org distribution.
0.9.2
- Added all required translator comments for placeholder-based strings reported by Plugin Check.
- Replaced import-result query parameters with a short-lived per-user transient and tightened target-category input sanitization.
- Added compatibility-aware translation loading: WordPress 6.8+ uses core just-in-time loading, with a legacy fallback only for WordPress 6.3–6.7.
- Documented intentional core
the_contentfilter usage and bounded taxonomy/meta queries for static analysis. - Added WordPress.org contributor
alitayokoandTested up to: 7.1metadata.
0.9.1
- Hardened the Lightweight Accordion importer with capability-aware publishing, category creation and term assignment.
- Hardened comment return URLs to same-origin HTTP/HTTPS destinations.
- Added Privacy Policy Guide text for browser-local state, favorites rendering, WordPress comments and optional WhatsApp sharing.
- Improved accessibility with controlled-region relationships, live status announcements, progress semantics and reduced-motion-aware scrolling.
- Open All no longer marks every opened box as read or mass-loads comments.
- Improved performance by request-caching parsed settings and invalidating the usage map only when relevant content changes.
- Moved importer behavior out of inline JavaScript and into an enqueued admin asset.
- Added explicit no-cache headers to personalized Favorites rendering.
- Added WordPress.org readme disclosure for the optional WhatsApp external service.
0.9.0
- Changed the plugin source language to English and internationalized reader/admin strings.
- Added German frontend language support for
de_CHandde_DE. - Added German Gutenberg editor localization support.
- Added a frontend-only language setting: Automatic, German or English.
- Kept the WordPress admin language independent from the frontend language override.
- Preserved German frontend labels automatically when upgrading from pre-0.9 versions.
- Prepared plugin strings for WordPress translation workflows.
- Updated the WordPress.org-style readme to use English as its base language.
0.8.3
- Added configurable initial comment visibility: collapsed, automatic, or automatic only when comments already exist.
- Comment threads remain lazy-loaded in all modes.
- Open All does not trigger mass-loading of comment threads.
0.8.2
- Moved the comment action to the first position in the box actions.
- Added global comment availability modes: per box, allow all, or close all.
0.8.1
- Fixed REST authentication for logged-in commenters using
X-WP-Nonce. - Renamed the Design menu to Settings.
- Added optional toolbar background and text colors.
0.8.0
- Added personal toolbar, progress, filters, search and open/close actions.
- Added optional native WordPress comments with lazy loading.
0.7.1
- Fixed sharing from Favorites, native share title handling and share-menu clipping.
0.7.0
- Added sharing with native Web Share and configurable fallbacks.
0.6.0
- Added browser-local favorites and Favorites block/shortcode.
0.5.0
- Added New and Updated reader states.
0.4.0
- Added Lightweight Accordion importer and compact read controls.
0.3.0
- Added interactive editor preview, categories, usage overview and extended styling.
0.2.0
- Added reduced box editor and Read / Unread state.
0.1.0
- Initial test version.
