1. Home
  2. Docs
  3. Shortcode

Shortcode

See the examples page for more examples of WordPress integration with WP Mapbox GL JS.

WP Mapbox GL JS has extensive shortcode settings for your WordPress installation.

Here are the most basic examples.

Single Map
[ wp_mapbox_gl_js 
   style="mapbox://styles/mapbox/streets-v10"]

Multi Map - 
[ wp_mapbox_gl_js 
   styles="mapbox://styles/mapbox/outdoors-v10,mapbox://styles/mapbox/light-v9" 
   titles="Outdoors,Light"]

Articles

Was this article helpful to you? Yes No

How can we help?