Gallery panels

This will add a single panel in the admin interface, but this single panel will dynamically generate multiple panels in the published accordion, one panel for each image from the [gallery] shortcode.

You just need to drop the accordion slider shortcode in a post that contains a [gallery] shortcode, and the images from the [gallery] will automatically be loaded in the accordion. Then, if you want to hide the original gallery, you can add the hide attribute to the [gallery] shortcode: [gallery ids="1,2,3" hide="true"] .

This is the complete list of dynamic tags for Gallery panels:

TagDescription
[as_image] The gallery image, as an img HTML element. It accepts an optional parameter to specify the size of the image: [as_image.thumbnail]. Accepted sizes are: full, large, medium, thumbnail. The default value is full.
[as_image_src] The URL of the gallery image. It accepts an optional parameter to specify the size of the image: [as_image_src.thumbnail]. Accepted sizes are: full, large, medium, thumbnail. The default value is full.
[as_image_alt] The alt text of the gallery image.
[as_image_title] The title of the gallery image
[as_image_description] The description of the gallery image.

Have more questions? Submit a request

0 Comments

Article is closed for comments.
Powered by Zendesk