Accordion Style for the Details Block (SCSS)
Styles the core Details block as a polished accordion with borders, a rotating plus icon and comfortable spacing, so FAQs look finished without a plugin.
Snippet Library
3,040 free snippets from the WPIDE team and the community. Copy the code, or add any snippet to your site in one click with WPIDE.
Styles the core Details block as a polished accordion with borders, a rotating plus icon and comfortable spacing, so FAQs look finished without a plugin.
Adds an FAQ pattern built from core Details blocks, so visitors click a question to reveal its answer, with no plugin and no JavaScript.
Adds a new Support section to the My Account area with its own URL and content, for help links, a contact form shortcode or FAQs.
Makes every Divi accordion load with all items closed instead of the first one open, and lets visitors close an open item again by clicking its title.
Adds a short list of common questions and answers (shipping, returns, warranty) at the bottom of every product page.
Adds a [faq_list] shortcode that shows FAQ posts as accessible collapsible questions and adds FAQPage structured data for them.
Styles collapsible FAQ items (from the FAQ list and ACF FAQ shortcodes, or any Details block) with dividers, a plus/minus marker and a visible keyboard focus ring.
Registers an "FAQs" post type (question as the title, answer as the content) with an FAQ Group taxonomy, for help centers and FAQ pages.
Adds an [acf_faq] shortcode that shows a question-and-answer repeater as accessible collapsible items and outputs matching FAQPage structured data.
Adds a [faq] shortcode for collapsible questions and answers, and outputs matching FAQPage structured data for every question on the page.
Turns every Details block (summary and hidden text) in a post or page into a question and answer in FAQPage JSON-LD, with nothing extra to fill in.
Adds the Order field to chosen post types and sorts them by it on the front end and in the admin, so you can control the order of team members, services or FAQs.
Makes neighboring Details blocks behave like an accordion: opening one question closes the others in the same group, which keeps long FAQs tidy.
Redirects the single pages of post types that only make sense in a list, such as testimonials, FAQs or team members, to their archive or another page.
Turns every H3 inside a block with the class "wpide-accordion" into a clickable question that shows or hides the content below it, for FAQs written as plain headings and paragraphs.