[abpet-gallery] shortcode. It displays the images saved in your events’ galleries, either as a responsive grid or as a slider.ABP Gallery Shortcode
The ABP Gallery shortcode displays event images anywhere on your website in a gallery or slider layout. It collects the images attached to your events through the plugin’s event gallery field and presents them in an engaging, responsive format.
The shortcode includes two display styles. Gallery View presents the images in a responsive grid, while Slider View offers a smooth carousel that lets visitors browse the images interactively. Switch between them with the slider_style attribute.
Using the shortcode parameters you decide exactly which images appear: show the gallery from all events, display the images of one specific event with post_id, or build a gallery from a category or location with cat_id and loc_id. Use it for a complete event photo showcase, a venue gallery on the home page, or a single event’s image slider.
[abpet-gallery]Gallery or slider
| Attribute | Values | What it does |
|---|---|---|
slider_style |
gallery, slider | Responsive image grid or smooth carousel. |
post_id |
event ID | Only show the gallery images of one event. |
cat_id |
term ID | Only show images from events in a category. |
loc_id |
term ID | Only show images from events at a location. |
organizer_id, brand_id, speaker_id |
term ID | Only show images from events linked to that organizer, brand or speaker. |
column |
1–10 | Number of columns in the gallery grid. |
show |
number | Number of images loaded in the slider. |
The sub-items in this menu show the gallery and slider styles live, plus a gallery limited to a single event.
