Shortcode reference

Every shortcode and attribute — the gallery, the single-case embed, the category carousel and the body map.

There are four shortcodes. [medbeafgallery] is in the free plugin; the other three are Pro. All of them work in the Block editor (Shortcode block), the Classic editor and page builders such as Elementor, Divi and WPBakery.

Free attributes

AttributeDefaultValues
items_per_page6Cases loaded at a time.
default_categoryallSlug of the category shown first.
show_filterstruefalse hides the category bar (and Pro’s filter sidebar or drawer).
card_stylefrom Designsplit, reveal, refined — Pro adds reveal-after, slider, toggle, stacked.
category_stylefrom Designcarousel, grid, buttons, dropdown — Pro adds tabs, photos, cards, areas, menu, search, icons, bar.

Pro attributes

AttributeDefaultValues
layoutfrom Designclassic, refined, strips, openrow, wall, masonry, spotlight, rows, editorial, angles, uncropped, collections
card_frameboxedboxed, framed, open
columnsfrom Designauto, 1, 2, 3, 4
presetdefaultdefault, clinical, luxury, spa, midnight
motionsubtlenone, subtle, lively
structuregallerygallery, map, match, hub, index, concerns, doctors
compareoffoff, on

gallery_layout and grid_columns are accepted as other names for layout and columns. An attribute that is left out uses the saved Design setting, so existing galleries keep their look.

[medbeafgallery layout="spotlight" preset="luxury"]
[medbeafgallery structure="hub" layout="classic" compare="on"]
[medbeafgallery default_category="veneers" show_filters="false" card_style="stacked"]

[mba_case] — one case (Pro)

AttributeDefaultValues
id(required)A published case’s ID
layoutautoauto, split, stacked, compact, story
viewsliderslider, before, after, side
show_titletruetrue, false
heading32–6
show_detailstruetrue, false
show_ctatruetrue, false
show_stagestruetrue, false
[mba_case id="123" layout="split" show_stages="false"]

Details: Single-case embed.

AttributeDefaultValues
category(required)Category slug
items_per_view3Slides visible at once
autoplayfalsetrue, false
autoplay_speed3000Milliseconds per slide (at least 1000)
show_navigationtrueArrows
show_dotstrueDots
looptruetrue, false
gap20Pixels between slides
[mba_category_carousel category="veneers" items_per_view="4" autoplay="true"]

Details: Category carousel.

[mba_body_map] — the map on any page (Pro)

AttributeDefaultValues
url(none)Your gallery page, to open it instead of listing the cases under the map
figuresfrom Discoveryface, body-front, body-back, smile, comma-separated
items_per_page, layout, card_style, columns, preset8, from DesignHow the cases under the map look
[mba_body_map figures="face,smile"]

Details: Find by area & Help me choose.

Builders

The Pro workspace builds the embed shortcodes for you under Embeds → Carousel and Embeds → Single case, and the Overview shows the gallery shortcode with a copy button.