Accordion
Md FreeTurn Your Categories into Accordion Navigation
Accordion turns a taxonomy into a navigable list of sections. Readers can open a term to see its latest posts, then follow a link to the full archive.
Requirements
Details
Screenshots (5)
Updates (2)
- Bug fixAccordion links keep their padding with Marketers Delight 6.1's new menu styles
Add the MD → Accordion Nav widget to a sidebar or another widget area. Choose categories, tags, or a public custom taxonomy, then decide how its terms and posts should appear.
Child terms can nest under their parents. On a term archive or single post, the current term and its parents move to the top and open automatically.
A Navigable List of Terms
Let readers open a section to find recent posts, or go straight to the full archive.

The widget lists terms from a taxonomy. Each section can show its latest posts and a See more link to that term’s archive. Set the number of posts, choose the list order, and optionally show each term’s post count.
Accordion works with categories and tags, as well as public custom taxonomies. It can detect the taxonomy from the current post type when you want the same widget to adapt across sections of your site.
- Nested child terms or parent terms only
- Latest posts and an archive link in each section
- Automatic taxonomy detection for the current post type
Keep the Current Section in View
Accordion responds to the post or archive a reader is viewing.
Open the relevant terms
On a term archive or single post, the current term and its parent terms move to the top and open. The current post is highlighted in the list.

Filter posts by another taxonomy
Only show posts that share the current page's term in a second taxonomy, such as listing just the docs that share a product page's category. Every matching post shows, and a lone category opens on its own.
Choose what opens by default
Open the current page's category when the page loads, or leave every section closed. Set the term order, how many categories and posts show, excluded term IDs, and the label for each archive link.
Widget Settings
Set the navigation in Appearance → Widgets.
Taxonomy
Choose categories, tags, a public custom taxonomy, or auto-detect.
Term order
Sort by name, post count, slug, ID, term order, or latest post.
Nested terms
Show children inside their parents or list parent terms only.
Posts per term
Choose how many recent posts appear in each section, newest first; the default is five.
Categories to show
Show a set number of categories, with a See all link to the archive when there are more.
Post count
Optionally show the number of posts for each term.
Post filter
Only show posts that share the current page's term in another taxonomy.
See more link
Set the archive-link text, with {count} and {category} placeholders.
Works With Your Other Drop-ins
Accordion works with these Drop-ins when they’re active on your site.
Lists your doc categories and their docs in a docs sidebar.
Lists your Stream categories with their latest updates.
Frequently Asked Questions
Where do I add Accordion?
Go to Appearance → Widgets and add MD → Accordion Nav to a sidebar or any other widget area.
Can it list a custom taxonomy?
Yes. Choose any public custom taxonomy, or select auto-detect to use the taxonomy associated with the current post type.
How are child terms displayed?
They can nest under their parent terms. You can also show parent terms only.
What happens on a term archive or single post?
The current term and its parents move to the top and open, and the current post is highlighted.
What do I need to run it?
Marketers Delight 6.0 or later, WordPress 6.2 or later, and PHP 7.4 or later.




