Skip to content
Senior IT Developer, Software Architect, AI masterDocumentation

← All guides

Apartment content shortcodes

Display saved content. Without language the site language is used; apartment-specific text has priority over the template.

[vstrb_unit_description unit="ID" language="cs"] Description.
[vstrb_unit_details unit="ID" show="capacity,children,bedrooms,bathrooms,area,address" layout="table"] Property details; layout is grid (default), compact or table.
[vstrb_unit_gallery unit="ID" columns="3" link="lightbox" captions="1"] Gallery; link is lightbox, file or none; captions come from the Media Library.
[vstrb_unit_amenity_list unit="ID" language="cs"] Amenities.
[vstrb_unit_arrival_instructions unit="ID" language="cs"] Arrival instructions.
[vstrb_unit_arrival_instructions_by_code param="unit_code"] Matches the Public apartment code from the URL (preferred, hides internal IDs).
[vstrb_unit_arrival_instructions_by_name param="accommodation"] Matches the title or External accommodation names / aliases.
[vstrb_unit_arrival_instructions_by_reservation] Matches the guest stay (see below).

by_code / by_name parameters: param (GET parameter name, default unit_code / unit_name), code or name (fixed value for testing), match (exact, or contains for one unique partial match), show_title="1" and fallback.