[webmap]

This shortcode is used to build google maps with listings locations as map markers. The best way is to build a map in Maps Manager and use such kind of shortcode [webmap id=XXX], but it's possible to build custom map shortcode using following additional attributes:
ParameterDefault
idThis is ID of the map created in the Maps Manager0
numNumber of markers to display on map (-1 gives all markers).-1
uidEnter unique string to connect this shortcode with the search form.
widthSet map width (by default whole possible width).
heightSet map height.400
radius_circleDisplay radius cycle on map when radius filter provided.1
clustersGroup map markers in clusters.0
sticky_scrollMakes the map to be sticky on scroll.0
sticky_scroll_toppaddingSticky scroll top padding in pixels.0
map_styleGoogle Maps style. Whole list in directory settings.default
show_summary_buttonShow "« Summary" button in info window.0
show_readmore_buttonShow "Read more »" button in info window.1
directions_sidebar_openDirections sidebar opened by default.0
ajax_loadingWhen map contains lots of markers - this may slow down map markers loading. Select AJAX to speed up loading. Requires Starting Address or Starting Point coordinates Latitude and Longitude.0
ajax_markers_loadingMaps info window AJAX loading. This may additionally speed up loading.0
use_ajax_loaderShow spinner on AJAX requests.0
counterShow locations counter.1
counter_textShow spinner on AJAX requests.Number of locations %d
start_addressWhen map markers load by AJAX - it should have starting point and starting zoom. Enter start address or select latitude and longitude. Example: 1600 Amphitheatre Pkwy, Mountain View, CA 94043, USA.
start_latitudeStarting point latitude.
start_longitudeStarting point longitude.
start_zoomStarting point zoom. Value from 0 (auto zoom) to 19.0
geolocationEnable automatic user Geolocation.0
draw_panelEnable Draw Panel.0
enable_full_screenEnable full screen button.1
enable_full_screen_by_defaultMap full screen opened by default.0
enable_wheel_zoomEnable zoom by mouse wheel. For desktops.1
enable_dragging_touchscreensEnable map dragging on touch screen devices.1
center_map_onclickCenter map on marker click.0
center_map_onclickCenter map on marker click. Value from 0 (auto zoom) to 19.0
search_on_mapShow search form and listings panel on the map.0
search_on_map_openSearch form open by default.0
order_byPossible values: post_date, title, rand, distance - when listings search in radius. Also this is possible to order by some content fields, those types have ordering functionality: text string, date-time, digital number, price. Just need to set content field slug as this attribute.post_date
orderDirection of sorting: ASC or DESC.ASC
show_keywords_searchShow keywords search on the search form.1
what_searchDefault keywords on the search form.
show_categories_searchShow categories search on the search form.1
categories_search_levelCategories search depth level on the search form (1,2,3).1
categorySelect certain category ID on the search form.0
exact_categoriesList of categories on the search form. Comma separated string of categories slugs or IDs.
show_address_searchShow address search on the search form.1
addressDefault address in the search form, recommended to set default radius.
show_locations_searchShow locations search on the search form.1
locations_search_levelLocations search depth level on the search form (1,2,3).1
locationSelect certain location ID on the search form.0
exact_locationsList of locations on the search form. Comma separated string of locations slugs or IDs.
authorEnter ID of author.
categoriesComma separated string of categories IDs or slugs - use only IDs or only slugs.
locationsComma separated string of locations IDs or slugs - use only IDs or only slugs.
include_categories_childrenInclude children of selected categories and locations. When enabled - any subcategories or sublocations will be included as well.0
post__inExact listings. Comma separated string of listings IDs. Possible to display exact listings.
field_SLUGPossible to filter by content fields values like on the search form. Filters depend on fields types:
  • Text string and Textarea - filter in the following format: field_SLUG="string"
  • Digital value - here are 2 variants: when content field was configured to search by exact values - field_SLUG="number"; when content field was configured to search by MIN and MAX values - field_SLUG_min="number" and/or field_SLUG_max="number"
  • Price - the same as for Digital value type
  • Date-Time - define date range in the following format: field_SLUG_min="dd.mm.yyyy" and/or field_SLUG_max="dd.mm.yyyy"
  • Select list, Radio buttons and Checkboxes - filter in the following format: field_SLUG="comma separated selection items IDs". Select list, Radio buttons support only single ID.

[webmap-search]

This shortcode builds the search form connected with the map. Parameters of this shortcode:
ParameterDefault
uidEnter unique string to connect this shortcode with the map.
columnsNumber of columns to format search fields2
advanced_openAdvanced search panel is opened by default.0
show_keywords_searchShow keywords search on the search form.1
what_searchDefault keywords on the search form.
show_categories_searchShow categories search on the search form.1
categories_search_levelCategories search depth level on the search form (1,2,3).1
categorySelect certain category ID on the search form.0
exact_categoriesList of categories on the search form. Comma separated string of categories slugs or IDs.
show_address_searchShow address search on the search form.1
addressDefault address, recommended to set default radius.
show_locations_searchShow locations search on the search form.1
locations_search_levelLocations search depth level on the search form (1,2,3).1
locationSelect certain location ID on the search form.0
exact_locationsList of locations on the search form. Comma separated string of locations slugs or IDs.
search_fieldsSelect certain content fields in main search section (comma separated IDs).
search_fields_advancedSelect certain content fields in advanced search section (comma separated IDs).
search_bg_colorSearch form background HEX color.by setting*
search_bg_opacitySearch form background opacity (in percents).100
search_text_colorSearch form text HEX color.by setting*
search_overlayEnable/disable search form overlay image.by setting*
scroll_toScroll to listings, map or do not scroll after search button was pressed.listings
hide_search_buttonAllows to hide search button.0
on_row_search_buttonSearch button on one line with fields.0
sticky_scrollMake search form to be sticky on scroll.0
sticky_scroll_toppaddingSticky scroll top padding in pixels.0
field_SLUGPossible to filter by content fields values. Filters depend on fields types:
  • Text string and Textarea - filter in the following format: field_SLUG="string"
  • Digital value - here are 2 variants: when content field was configured to search by exact values - field_SLUG="number"; when content field was configured to search by MIN and MAX values - field_SLUG_min="number" and/or field_SLUG_max="number"
  • Price - the same as for Digital value type
  • Date-Time - define date range in the following format: field_SLUG_min="dd.mm.yyyy" and/or field_SLUG_max="dd.mm.yyyy"
  • Select list, Radio buttons and Checkboxes - filter in the following format: field_SLUG="comma separated selection items IDs". Select list, Radio buttons support only single ID.

[webdmap-submit]

Works only when Frontend submission & dashboard addon was enabled. This shortcode builds listings submission pages.

[webdmap-dashboard]

Works only when Frontend submission & dashboard addon was enabled. Logged in users have an ability to manage their listings and profile on the frontend dashboard page. This shortcode doesn't have any parameters.

[webmap-submit-button]

Works only when Frontend submission & dashboard addon was enabled. Renders "Submit new listing" button. This shortcode doesn't have any attributes.