Mapbox For Advanced Custom Fields

Once you've installed and activated the plugin... Now all you should do is add this code to functions: function acf_mapbox_api( $api ) { $api['key'] = 'XXXX'; // Please obtain an access token from your Mapbox account and replace the dummy value return $api; } add_filter( 'acf/fields/mapbox/api', 'acf_mapbox_api' ); And that's all! Use the shortcode [mapbox-map] to display your map on the post/page/custom post type.

Did this help solve your issue?