The [homerunner-property-photos-slider]
shortcode displays an interactive carousel/slider of property photos on single property pages. Features include auto-play functionality, lightbox view for full-size images, navigation arrows, and a “More Photos” button for mobile and desktop views.
Basic Usage #
[homerunner-property-photos-slider]
Parameters #
No parameters available.
Technical Notes #
- Only works on single property pages (post type: property)
- Automatically retrieves photos from the property’s ‘photo_urls’ field
- Features:
- Auto-playing carousel with navigation arrows
- Lightbox view for full-size image display
- Responsive grid layout (5/6 width on mobile, 1/3 width on medium devices)
- “More Photos” button with modal view
- Renders using the property/photos-slider.php template
- Wrapped in a UK-scoped container for consistent styling