Skip to content

gallery

Simone Montali edited this page Sep 9, 2019 · 2 revisions

Gallery

{
  "id": "gallery",
  "type": "gallery",
  "size": "half",
  "label": "label",
  "description": "description",
  "ctaLabel": "Add Image",
  "required": true
}

The gallery field allows you to input/output multiple images, selectable with WordPress' stock media picker.

Options

For the general option fields, check the getting started page.

Custom options

The gallery field has an additional option:

  • "ctaLabel" defines the Call To Action for the field's editing mode.

Filters

You can filter the field's fetched value by calling WordPress' add_filter with the tag "aeria_get_gallery".

Clone this wiki locally