Pagelines has a shortcode to use to create accordions on your pages or in your posts.  You can even have two accordions though you need to make sure that the name of the accordions are unique and that the number is unique regardless of accordion.

Accordion 1

Here is some content

Some more content

 Accordion 2

Here is some content

Some more content

 

Code for Accordions

[pl_accordion name="First Accordion"]

[pl_accordioncontent name="First Tab" number="1" heading="My First Tab"]

Here is some content

[/pl_accordioncontent]

[pl_accordioncontent name="Second Tab" number="2" heading="My Second Tab"]

Some more content

[/pl_accordioncontent]

[/pl_accordion]

[pl_accordion name="Second Accordion"]

[pl_accordioncontent name="First Tab" number="3" heading="My First "]

Here is some content

[/pl_accordioncontent]

[pl_accordioncontent name="Second Tab " number="4" heading="My Second Tab "]

Some more content

[/pl_accordioncontent]

[/pl_accordion]

Note that in the second accordion the numbers are not 1 and 2 but 3 and 4.

 

Share →

Leave a Reply

Pagelines Sections

Filtering
Accordions
About Business Branding