Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the disable-gutenberg domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home2/salephps/public_html/wordpress-mapbox/demo/wp-includes/functions.php on line 6131

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the js_composer domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home2/salephps/public_html/wordpress-mapbox/demo/wp-includes/functions.php on line 6131

Warning: Cannot modify header information - headers already sent by (output started at /home2/salephps/public_html/wordpress-mapbox/demo/wp-includes/functions.php:6131) in /home2/salephps/public_html/wordpress-mapbox/demo/wp-includes/rest-api/class-wp-rest-server.php on line 1902

Warning: Cannot modify header information - headers already sent by (output started at /home2/salephps/public_html/wordpress-mapbox/demo/wp-includes/functions.php:6131) in /home2/salephps/public_html/wordpress-mapbox/demo/wp-includes/rest-api/class-wp-rest-server.php on line 1902

Warning: Cannot modify header information - headers already sent by (output started at /home2/salephps/public_html/wordpress-mapbox/demo/wp-includes/functions.php:6131) in /home2/salephps/public_html/wordpress-mapbox/demo/wp-includes/rest-api/class-wp-rest-server.php on line 1902

Warning: Cannot modify header information - headers already sent by (output started at /home2/salephps/public_html/wordpress-mapbox/demo/wp-includes/functions.php:6131) in /home2/salephps/public_html/wordpress-mapbox/demo/wp-includes/rest-api/class-wp-rest-server.php on line 1902

Warning: Cannot modify header information - headers already sent by (output started at /home2/salephps/public_html/wordpress-mapbox/demo/wp-includes/functions.php:6131) in /home2/salephps/public_html/wordpress-mapbox/demo/wp-includes/rest-api/class-wp-rest-server.php on line 1902

Warning: Cannot modify header information - headers already sent by (output started at /home2/salephps/public_html/wordpress-mapbox/demo/wp-includes/functions.php:6131) in /home2/salephps/public_html/wordpress-mapbox/demo/wp-includes/rest-api/class-wp-rest-server.php on line 1902

Warning: Cannot modify header information - headers already sent by (output started at /home2/salephps/public_html/wordpress-mapbox/demo/wp-includes/functions.php:6131) in /home2/salephps/public_html/wordpress-mapbox/demo/wp-includes/rest-api/class-wp-rest-server.php on line 1902

Warning: Cannot modify header information - headers already sent by (output started at /home2/salephps/public_html/wordpress-mapbox/demo/wp-includes/functions.php:6131) in /home2/salephps/public_html/wordpress-mapbox/demo/wp-includes/rest-api/class-wp-rest-server.php on line 1902
{"id":2143,"date":"2014-02-03T10:16:02","date_gmt":"2014-02-03T10:16:02","guid":{"rendered":"http:\/\/wp\/?page_id=2143"},"modified":"2021-05-10T08:54:12","modified_gmt":"2021-05-10T08:54:12","slug":"shortcodes","status":"publish","type":"page","link":"https:\/\/www.salephpscripts.com\/wordpress-mapbox\/demo\/shortcodes\/","title":{"rendered":"Shortcodes"},"content":{"rendered":"
\n

[mapbox]<\/strong><\/h3>\n

This shortcode is used to build MapBox (OpenStreetMap) maps with listings locations as map markers. The best way is to build a map in Maps Manager and use such kind of shortcode [mapbox id=XXX], but it's possible to build custom map shortcode using following additional attributes:<\/p>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
Parameter<\/th>\n<\/th>\nDefault<\/th>\n<\/tr>\n
id<\/strong><\/td>\nThis is ID of the map created in the Maps Manager<\/td>\n0<\/td>\n<\/tr>\n
num<\/strong><\/td>\nNumber of markers to display on map (-1 gives all markers).<\/td>\n-1<\/td>\n<\/tr>\n
uid<\/strong><\/td>\nEnter unique string to connect this shortcode with the search form.<\/td>\n<\/td>\n<\/tr>\n
width<\/strong><\/td>\nSet map width (by default whole possible width).<\/td>\n<\/td>\n<\/tr>\n
height<\/strong><\/td>\nSet map height.<\/td>\n400<\/td>\n<\/tr>\n
radius_circle<\/strong><\/td>\nDisplay radius cycle on map when radius filter provided.<\/td>\n1<\/td>\n<\/tr>\n
clusters<\/strong><\/td>\nGroup map markers in clusters.<\/td>\n0<\/td>\n<\/tr>\n
sticky_scroll<\/strong><\/td>\nMakes the map to be sticky on scroll.<\/td>\n0<\/td>\n<\/tr>\n
sticky_scroll_toppadding<\/strong><\/td>\nSticky scroll top padding in pixels.<\/td>\n0<\/td>\n<\/tr>\n
map_style<\/strong><\/td>\nMapBox (OpenStreetMap) style. Whole list in directory settings.<\/td>\ndefault<\/td>\n<\/tr>\n
show_summary_button<\/strong><\/td>\nShow \"\u00ab Summary\" button in info window.<\/td>\n0<\/td>\n<\/tr>\n
show_readmore_button<\/strong><\/td>\nShow \"Read more \u00bb\" button in info window.<\/td>\n1<\/td>\n<\/tr>\n
directions_sidebar_open<\/strong><\/td>\nDirections sidebar opened by default.<\/td>\n0<\/td>\n<\/tr>\n
ajax_loading<\/strong><\/td>\nWhen 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.<\/td>\n0<\/td>\n<\/tr>\n
ajax_markers_loading<\/strong><\/td>\nMaps info window AJAX loading. This may additionally speed up loading.<\/td>\n0<\/td>\n<\/tr>\n
use_ajax_loader<\/strong><\/td>\nShow spinner on AJAX requests.<\/td>\n0<\/td>\n<\/tr>\n
counter<\/strong><\/td>\nShow locations counter.<\/td>\n1<\/td>\n<\/tr>\n
counter_text<\/strong><\/td>\nShow spinner on AJAX requests.<\/td>\nNumber of locations %d<\/td>\n<\/tr>\n
start_address<\/strong><\/td>\nWhen 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.<\/td>\n<\/td>\n<\/tr>\n
start_latitude<\/strong><\/td>\nStarting point latitude.<\/td>\n<\/td>\n<\/tr>\n
start_longitude<\/strong><\/td>\nStarting point longitude.<\/td>\n<\/td>\n<\/tr>\n
start_zoom<\/strong><\/td>\nStarting point zoom. Value from 0 (auto zoom) to 19.<\/td>\n0<\/td>\n<\/tr>\n
geolocation<\/strong><\/td>\nEnable automatic user Geolocation.<\/td>\n0<\/td>\n<\/tr>\n
draw_panel<\/strong><\/td>\nEnable Draw Panel.<\/td>\n0<\/td>\n<\/tr>\n
enable_full_screen<\/strong><\/td>\nEnable full screen button.<\/td>\n1<\/td>\n<\/tr>\n
enable_full_screen_by_default<\/strong><\/td>\nMap full screen opened by default.<\/td>\n0<\/td>\n<\/tr>\n
enable_wheel_zoom<\/strong><\/td>\nEnable zoom by mouse wheel. For desktops.<\/td>\n1<\/td>\n<\/tr>\n
enable_dragging_touchscreens<\/strong><\/td>\nEnable map dragging on touch screen devices.<\/td>\n1<\/td>\n<\/tr>\n
center_map_onclick<\/strong><\/td>\nCenter map on marker click.<\/td>\n0<\/td>\n<\/tr>\n
zoom_map_onclick<\/strong><\/td>\nZoom map on marker click. Value from 0 (auto zoom) to 19.<\/td>\n0<\/td>\n<\/tr>\n
search_on_map<\/strong><\/td>\nShow search form and listings panel on the map.<\/td>\n0<\/td>\n<\/tr>\n
search_on_map_open<\/strong><\/td>\nSearch form open by default.<\/td>\n0<\/td>\n<\/tr>\n
order_by<\/strong><\/td>\nPossible 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.<\/td>\npost_date<\/td>\n<\/tr>\n
order<\/strong><\/td>\nDirection of sorting: ASC or DESC.<\/td>\nASC<\/td>\n<\/tr>\n
show_keywords_search<\/strong><\/td>\nShow keywords search on the search form.<\/td>\n1<\/td>\n<\/tr>\n
keywords_ajax_search<\/strong><\/td>\nEnable listings autosuggestions by keywords.<\/td>\n1<\/td>\n<\/tr>\n
what_search<\/strong><\/td>\nDefault keywords on the search form.<\/td>\n<\/td>\n<\/tr>\n
show_categories_search<\/strong><\/td>\nShow categories search on the search form.<\/td>\n1<\/td>\n<\/tr>\n
categories_search_level<\/strong><\/td>\nCategories search depth level on the search form (1,2,3).<\/td>\n1<\/td>\n<\/tr>\n
category<\/strong><\/td>\nSelect certain category ID on the search form.<\/td>\n0<\/td>\n<\/tr>\n
exact_categories<\/strong><\/td>\nList of categories on the search form. Comma separated string of categories slugs or IDs.<\/td>\n<\/td>\n<\/tr>\n
show_address_search<\/strong><\/td>\nShow address search on the search form.<\/td>\n1<\/td>\n<\/tr>\n
address<\/strong><\/td>\nDefault address in the search form, recommended to set default radius.<\/td>\n<\/td>\n<\/tr>\n
show_locations_search<\/strong><\/td>\nShow locations search on the search form.<\/td>\n1<\/td>\n<\/tr>\n
locations_search_level<\/strong><\/td>\nLocations search depth level on the search form (1,2,3).<\/td>\n1<\/td>\n<\/tr>\n
location<\/strong><\/td>\nSelect certain location ID on the search form.<\/td>\n0<\/td>\n<\/tr>\n
exact_locations<\/strong><\/td>\nList of locations on the search form. Comma separated string of locations slugs or IDs.<\/td>\n<\/td>\n<\/tr>\n
author<\/strong><\/td>\nEnter ID of author.<\/td>\n<\/td>\n<\/tr>\n
categories<\/strong><\/td>\nComma separated string of categories IDs or slugs - use only IDs or only slugs.<\/td>\n<\/td>\n<\/tr>\n
locations<\/strong><\/td>\nComma separated string of locations IDs or slugs - use only IDs or only slugs.<\/td>\n<\/td>\n<\/tr>\n
include_categories_children<\/strong><\/td>\nInclude children of selected categories and locations. When enabled - any subcategories or sublocations will be included as well.<\/td>\n0<\/td>\n<\/tr>\n
post__in<\/strong><\/td>\nExact listings. Comma separated string of listings IDs. Possible to display exact listings.<\/td>\n<\/td>\n<\/tr>\n
field_SLUG<\/em><\/td>\nPossible to filter by content fields values like on the search form. Filters depend on fields types:<\/p>\n