Skip to main content
View Categories

Explorer Shortcode

1 min read

The [homerunner-explorer] shortcode is used to display available properties in grid format, with optional filters and map components.

Basic Usage #

[homerunner-explorer]

Overview #

Explorer is a combined user interface for visitors to find properties of their choice. It comes with 3 key components:

  • Filter panel
  • Property Grid
  • Interactive Map

Any of these key component elements can be enabled or disabled as needed.

Parameters #

Core Components #

ParameterDefaultDescription
filtertrueShow/Hide filters
gridtrueShow/Hide grid
maptrueShow/Hide map
featuredfalseShow/Hide featured properties
templatedefaultAssign grid template
photos_limit8Number of property images to show
per_page4Number of properties to display per load

Map Settings #

ParameterDefaultDescription
map_positionrightMap position, right or left
map_hidden0Use yes or 1 to hide map on page load
map_zoom5Default map zoom level
map_zoom_min0Minimum map zoom level
map_zoom_max18Maximum map zoom level
map_typeroadmapGoogle map type
marker_icon/assets/img/marker.pngMap marker icon
marker_clusteryesDisplay map marker in cluster

Filter Settings #

ParameterDefaultDescription
hide_filtersyesShow/hide filters btn
hide_start_overyesShow/hide start over btn
primary_filter_fieldslocation,date,guests,additional-filtersDisplay defined primary filter fields
additional_filter_fieldstype,amenityDisplay defined additional filter fields
extra_filter_fieldspets,orderDisplay defined other filter fields
primary_features_number7Number of amenity filters to display before load more button
autofilter_delay1200In milliseconds. Changing a filter will update listings after a given delay

Display Settings #

ParameterDefaultDescription
autoplaytrueAutoplay slide
autoplay_interval2000Autoplay duration in milliseconds
infinite_slidertrueLoop slider infinite times
slider_nav_outsidetrueShow slider nav outside when template is slider
photos_slide_animationslideProperty image slideshow effect
hide_groupsnoShow/hide groups
hide_ratingnoShow/hide rating
no_itemsNo properties found.Text for no properties

Price Display #

ParameterDefaultDescription
no_dates_pricePrice to show before performing date search. Possible values: base_price, average_price, lowest_price, none
with_dates_pricePrice to show after date search is performed. Possible values: base_price, average_price, lowest_price, none

Property Filters #

ParameterDefaultDescription
typeComma separated property type slugs. Properties having any of the given type will be shown
locationComma separated property location slugs. Properties having any of the given location will be shown
groupComma separated group slugs. Properties having any of the given group will be shown
amenityComma separated amenity slugs. Properties having all of the given amenities will be shown
amenity__orComma separated amenity slugs. Property having any of the given amenity will be shown
guests0Minimum allowed guests
bedrooms0Minimum bedrooms
bedrooms_eq0Exact bedrooms
bathrooms0Minimum bathrooms
title__likeFilter/search by property title

Grid Layout #

ParameterDefaultDescription
xscolSet grid size for extra small devices (below 480px)
scolSet grid size for small devices (between 480px to 767px)
mcolSet grid size for medium devices (between 768px to 959px)
lcolSet grid size for large devices (between 960px to 1199px)
xlcolSet grid size for small devices (above 1200px)
newtabfalseOpen grid property in new tab

Sorting #

ParameterDefaultDescription
sortdate__descSort results. Available values: date__desc, date__asc, featured, title__asc, title__desc, bedrooms__asc, bedrooms__desc, guests__asc, guests__desc, price__asc, price__desc