The [homerunner-property-spaces]
shortcode displays detailed information about sleeping arrangements and bed configurations for each space within the property. It shows a comprehensive breakdown of bed types and quantities for each room or space.
Basic Usage #
[homerunner-property-spaces]
Parameters #
No parameters available.
Technical Notes #
- Only works on single property pages (post type: property)
- Features:
- Displays all spaces/rooms with their names
- Shows detailed bed counts for each space
- Supports multiple bed types:
- King beds
- Queen beds
- Double beds
- Single beds
- Sofa beds
- Futon beds
- Floor mattresses
- Bunk beds
- Toddler beds
- Cribs
- Couches
- Hammock beds
- Air mattresses
- Water beds
- Responsive grid layout (1 column on mobile, 2 on tablet, 3 on desktop)
- Each space displayed as a card with bed icons and counts
- Uses ‘bedtypes’ custom field to store bed configuration data
- Renders using the property/spaces.php template
- Wrapped in a UK-scoped container for consistent styling