WP Manifestindependent plugin directory
manifest / content / cmb2-mapbox

CMB2 Mapbox

Mapbox for CMB2

by Rob Clark · github.com/pixelwatt/cmb2-mapbox

2stars
1release downloads
0forks

Install

The author publishes release zips, so WP-CLI can install straight from GitHub:

wp plugin install https://github.com/pixelwatt/cmb2-mapbox/releases/download/v2.0.0-beta1/cmb2-mapbox.zip

Declares an update source (https://github.com/pixelwatt/cmb2-mapbox), so updates arrive through the plugin's own updater.

From the readme

CMB2 Mapbox This plugin adds a new CMB2 fieldtype for adding a single point to a Mapbox map. This plugin requires CMB2 and a Mapbox access token. Description This is the initial release of a plugin that extends CMB2 by adding a new fieldtype called "mapboxmap", which allows content editors to add a single point to a map. Location data for the chosen location is saved as an array under the meta key of your choice: To add a maxboxmap field: Optionally, you can set the default zoom for the map (used when loaded with no previously-set location): A PHP class, CMB2MBMap, has also been provided for building maps with pins from multiple posts. Documentation coming shortly. Installation 1. Upload the cmb2-mapbox folder to the /wp-content/plugins/ directory 2. Activate the plugin through the 'Plugins' menu in WordPress 3. Provide your Mapbox access token and optionally set the default map center by going to Settings CMB2 Mapbox 4. Add a mapboxmap field to a CMB2 metabox. 5. Profit.

Read the full README on GitHub →

Releases

TagPublishedAssetDownloads
v2.0.0-beta1 May 18, 2026 cmb2-mapbox.zip 1
1.5.3 Apr 4, 2024
1.5.1 Jul 9, 2023
1.5.0 Mar 30, 2023
1.0.3 Mar 9, 2021
1.0.2 Mar 8, 2021
v1.0.0-fix Dec 2, 2020