1. Home
  2. How To – Configurations
  3. How to Create a Post Accordion from Posts

How to Create a Post Accordion from Posts

Transform your WordPress content — including posts, pages, and custom post types — into a Post Accordion. This is the most efficient way to build a self-updating knowledge base or service list directly from your existing site content without manual entry.

Steps to Create an Accordion from Posts:

1. Select Post Type:

In the accordion content settings, choose which content source you want:

  • Posts – Show all posts
  • Pages – Show all pages

2. Filter Posts:

Choose how posts are selected:

  • Latest – Display the latest posts
  • Taxonomy – Filter posts by taxonomy (e.g., categories, tags)
  • Specific Posts – Show only the selected posts (you will see a field to choose which ones)

3. Select Taxonomy:

If you choose Taxonomy as your filter, pick a taxonomy type such as Category, Post_tag, or Post_format.

4. Choose Term(s):

Select one or more terms within the chosen taxonomy to determine which posts appear in the accordion.

5. Set Operator:

Define how terms should be used together:

  • IN – Posts with any of the selected terms.
  • AND – Posts that match all selected terms.
  • NOT IN – Exclude posts with selected terms.

6. Order By:

Control the display sequence of your posts by ID, Date, Random, Title, Modified, Menu Order & Drag-Drop.

7. Order:

Choose whether to display posts in ascending or descending order.

8. Total Posts to Show:

Set how many posts you want to include in the accordion.

Publish the Post Accordion:

After configuring your post accordion:

  • Click Publish.
  • Copy the generated shortcode.
  • Paste the shortcode into any page, post, sidebar, or block to display the accordion.

Your posts will now appear as a fully functional accordion on the frontend.

Updated on March 3, 2026