gallery.php
Gallery utility settings
Table of Contents
- gallery() : mixed
- Create a gallery with a given ACF gallery fields
Functions
gallery()
Create a gallery with a given ACF gallery fields
gallery([array<string|int, mixed> $args = null ]) : mixed
Return Html output of different type of galleries, from a specific acf gallery field or a group of fields
Parameters
Gallery Settings
ACF field ora array of field for Images source. Complex field will be parsed with field_parse() @param String|Array $args['field'] Gallery array @param String $args['gallery'] Gallery type. Avable type: boxed, slide, full-slide, vertical
Gallery ID. Generate ids for images too.
Button class, if empty button dosen't renderize
full | true . Buttons navigation class. if empty buttons dosen't renderize
Enable Slide support or disable it
Buttons close class
Image size thumb|medium|large|full (Default: large)
Inner wrapper class
Item gallery class
Add caption box indicating a class to associate
Add caption description box
Add target gallery window id for gallery hendler attribute
Gallery list item attribute
Todo
Button close to improve