Accordion Repeater builds an accordion from a repeater field on your page, post or options page. Add or edit questions in the field and the accordion updates. Turn on FAQ schema and search engines can read your questions and answers too.
A product FAQ from an ACF repeater, then delivery, gym and hotel FAQs from plain post meta arrays, each with different settings. Click a question to open it.
Rows come from an ACF repeater on this page. Single Open and Open First Item are on, with plus and minus icons and a lilac active colour.
Solid European oak from FSC-certified forests, finished with a hard-wearing oil that brings out the grain.
Rows come from a plain post meta array. Bottom Only borders, chevron icons and no backgrounds. Several answers can be open at once.
Dark title and answer backgrounds, a purple active title and circled plus and minus icons. Single Open is on.
Title Align and Content Align set to centre, no borders, an 18px radius and caret icons. The first answer starts open.
What time is check-in?
Is there parking?
Are dogs welcome?
Set up the field once, then manage the content from the post editor.
Add a repeater field with a title sub-field and a content sub-field, using ACF, Meta Box, Pods, JetEngine, ACPT or Phox Studio.
Drop Accordion Repeater onto your page and enter the repeater name and the two sub-field names.
Each row in the repeater becomes an accordion item. Add, edit or reorder rows and the accordion follows.
Set it up once and edit the questions in your custom fields.
Reads repeaters from ACF, Meta Box, ACPT, Pods, JetEngine, Phox Studio or native WordPress meta. Auto Detect finds the right one for you.
Pull rows from the current post or page, or from a global options page so the same FAQ can appear anywhere.
Turn on FAQ schema to output structured data, so search engines can read your questions and answers.
Let visitors open several items at once, or close the others when one opens.
Show the first answer open when the page loads, so visitors see an example straight away.
Use p, div or h2 to h6 for the question titles to fit your page's heading structure.
Set the title background, the active title colour and the content background.
Choose open and close icons, their colours and size, and align titles and content left, centre or right.
Set the gap between items, padding, a bottom-only border option, and corner radius.
Anywhere the questions change more often than the page design.
Give each product or service its own questions, stored with the post.
Keep one set of questions on an options page and show it in several templates.
List lessons or modules as expandable rows from a repeater.
Show opening details, policies or extra info for each listing.
Let clients edit FAQs in simple fields without touching the page layout.
Add FAQ schema to landing pages without writing any JSON.
This is the full list of settings in the Breakdance editor, with their default values.
| Control | What it does | Default |
|---|---|---|
| Content | ||
| Field Source | Auto Detect, ACF, Meta Box, ACPT, Pods, JetEngine, Phox Studio or native WordPress meta. | Auto Detect |
| Data Location | Read the repeater from the current post or page, or from an options page. | Current post |
| Repeater Name | The name of the repeater field, e.g. faq_items. | — |
| Title Field | The sub-field used for each question, e.g. question. | — |
| Content Field | The sub-field used for each answer, e.g. answer. | — |
| Single Open | Close other items when one opens. | Off |
| Open First Item | Show the first item open on page load. | Off |
| Title Heading Tag | p, div, or h2 to h6. | p |
| Enable FAQ Schema | Output FAQ structured data for search engines. | Off |
| Design | ||
| Width & borders | Container width and border settings. | 100% |
| Gap | Space between accordion items. | — |
| Colours | Title background, active title, and content background. | Active title #6D6D6D |
| Padding | Title padding and content padding. | — |
| Icons | Open and close icons, icon colour, open colour and size. | Plus / cross, 16px |
| Alignment | Title and content alignment. | — |
| Borders | Bottom-only option, border width, colour and radius. | — |
| Typography | Title, active title and content text styles. | — |
ACF, Meta Box, ACPT, Pods, JetEngine, Phox Studio and native WordPress meta. Leave Field Source on Auto Detect and it will work out which one you are using.
Yes. Put the repeater on an options page and set Data Location to Options/Settings Page. Every Accordion Repeater that points at it will show the same rows.
It adds structured data to the page describing each question and answer. Search engines can use it to understand your FAQ. Only turn it on for real question-and-answer content.
Yes. With Data Location set to the current post, one template can show a different FAQ for every post, taken from that post's own repeater.
No. With Field Source set to Native WordPress Meta, it reads an array of rows saved in ordinary post meta. Three of the demos above work this way.
Accordion Repeater is included with Phox Elements, along with 140+ other premium elements for Breakdance.