This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Baidu Maps Plugin


Easily create Custom Baidu Maps to add to any WordPress ost or page. You can create one or multiple maps
with our easy to use settings panel, then insert the map using a shortcode.

With Custom Baidu Maps you can customize each map with multiple locations with options to add/change location
coordinates, add a description, choose background and font colors and upload your own custom marker image.

Basic Usage with shortcodes :

To provide a map with the width and height of 500 * 400,
centered at latitude : 39.900 , longitude : 116.403
with a zoom of ’12’

[bmap width=”500″ height=”400″ lat=”39.900″ lng=”116.403″ zoom=”12″]

Options :
– width : width of the map entered in pixels
– height : height of the map entered in pixels
– lat : latitude of the map
– lng : longitude of the map
– zoom : zoom level of the map (1 – 19), lowest to highest

Advanced Usage Baidu Maps post-type :

  1. Enter your Baidu Developers API Key (if you have not already).
  2. Select the “Baidu Maps” post type from the wordpess menu.
  3. Click on “Add New”.
  4. Enter the map settings (height, width, zoom and coordinates).
  5. Upon publishing, add the new generated shortcode to the page content.

Adding a Marker on the map (optional) :

  1. Click on “Add Marker” below to add a new marker to this map.
  2. Enter the marker details (name, description, coordinates, background color, font color).
  3. You may also change the default marker image with you own image, click on “Choose Image” to select an image.
  4. Click on “Show Marker Details” if you wish to see the details visible at start.


Follow the steps below for the plugin installation :

  1. Upload to the /wp-content/plugins/ directory or add the plugin via wordpress plugin repository.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Enter your Baidu Developer API key in the settings page.


Why is the plugin showing an error “You have not entered your Baidu Developers API Key”

To use Baidu Maps, you need to have a Baidu Developers API Key.
To obtain the API Key please visit :

A Detailed guide on how to create the API Key is available in the Settings Page


Read all 3 reviews

Contributors & Developers

“Baidu Maps Plugin” is open source software. The following people have contributed to this plugin.


Translate “Baidu Maps Plugin” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



PHP warnings fixed and added instructions to create the Baidu Developers API Key


PHP warnings fixed and added instructions to create the Baidu Developers API Key


JS Bug fix
Preset default values for the map settings
Shortcode is now visible on the map page


Bug Fixes