Shortcodes
Shortcode
The following shortcodes are available when the Map View add on is enabled:
[propertyhive_map_search]
Attributes
Attribute: department
Description: Which department of properties to show
Default: (empty)
Possible Values: (empty), residential-sales, residential-lettings, commercial
Example: [propertyhive_map_search department="residential-sales"]
Attribute: availability_id
Description: Filter properties shown by a specific availability
Default: (empty)
Example: [propertyhive_map_search availability_id="residential-sales"]
Attribute: property_type_id
Description: Filter properties shown by a specific property type
Default: (empty)
Possible Values: (empty), residential-sales, residential-lettings, commercial
Example: [propertyhive_map_search property_type_id="42"]
Attribute: office_id
Description: Filter properties shown by a specific office
Default: (empty)
Example: [propertyhive_map_search office_id="43"]
Attribute: negotiator_id
Description: Filter properties shown by a specific negotiator
Default: (empty)
Example: [propertyhive_map_search negotiator_id="21"]
Attribute: scrollwheel
Description: Whether rolling the scrollwheel on the mouse should zoom the map
Default: true
Possible Values: true, false
Example: [propertyhive_map_search scrollwheel="false"]
Attribute: center_lat
Description: The central latitude used for the map. This can also be set in the settings area
Default: (empty)
Example: [propertyhive_map_search center_lat="53.13352" center_lng="-1.243434"]
Attribute: center_lng
Description: The central longitude used for the map. This can also be set in the settings area
Default: (empty)
Example: [propertyhive_map_search center_lat="53.13352" center_lng="-1.243434"]