This article is about to create an accordion using the Accordion plugin.
How to create a new accordion?
After installing the Accordions plugin, you will see the menu Accordions.
To create a new Accordion, go to the Accordions menu. Now click on the Add New button.
Now you will find the Accordion option. Here, enter the name of the Accordion.
Now customize the Accordion, then click on the Publish button.
To display this Accordion, copy the Shortcode from Shortcode tab and paste it into the post content area.
Short-code inside content
Short-code for themes PHP files
<?php echo do_shortcode("[accordions id='1234' ]"); ?>