Adding a collection into content

Collections allow you to showcase related content within a post

Accordion

Using ‘accordion’ will show each item in the collection as an expandable box, with the option to show/collapse each item. When an item is expanded, the post title anchors to the top of the browser screen.

To add the accordion feature to a collection, simply add accordion=”on” to the shortcode:

collections7

This will display on the front-end similar to the below example:

collections8

You can choose to show the accordion display on mobile only – for this use accordion=”mobile” in the shortcode.

Next page Previous page

Guides & Features