This article covers how to setup Accordions within the Classic Editor
or the Block Editor.
Anchor | ||||
---|---|---|---|---|
|
Create a new Visual Editor widget in Page Builder for each item in the accordion.
...
When using the Page Builder editor, begin by adding a Post Loop widget.
Enter a title for the accordion section and ensure that the Template is set to content-accordion.php from the dropdown menu.
Establish the parameters for the post loop by selecting the type of post you wish to display, along with how you’d like those posts to be ordered. If you have many posts, you might consider using the Posts per Page field to limit the amount of posts that get displayed.
Visit the published page to view the accordions, editing the loop settings if needed.
Anchor | ||||
---|---|---|---|---|
|
Select UC Accordion Block
Add Title
Modify Settings and Styles
Add Content
Modify Settings and Styles
Click on Add Accordion
This is the same as selecting the UC Accordion Item Block
...
You can also add these accordionsto a sidebar. To do so, navigate to the Appearance → Widgets screen in your dashboard, add a Post Loop widget to the sidebar of your choice, and then follow the instructions above.
Related Articles
...