CBX Google Map


Long story short, I was searching for easy google map embed in wordpress using lat, lng and I didn’t find one
that is easy and works instantly. So I created one.

Key Features

  • Custom post type for map
  • Easy Shortcode
  • Works without custom post type using the same shortcode
  • Responsive with browser width and resize
  • Info window
  • Default global Setting
  • Meta field for custom post type
  • Easy geo complete feature while finding proper marker position in custom post type edit.
  • Easy copy shortcode with mouse click

Shortcode Params

The most short form of the shortcode is
[cbxgooglemap id=”google map post id here”] where id is post id of custom google map post type

The shortcode works without id and event other params can be override in shortcode params. Here are the other params,
if any param missing it will be taken from post meta field, if missing in meta field it will be taken from global default setting.

id      = post id, can be empty
width   = numeric value, '%' accepted, no 'px', if only numeric value then px will be added automatically, if empty will be taken from post meta if available
height  = nemeric value, no 'px', if empty value will be taken from post meta if available
zoom    = default 8, if empty from post meta if available
lat     = lattitude value, if empty from post meta , required(at least should be in post meta)
lng     = longitude value, if empty from post meta , required(at least should be in post meta)
heading = used for info window title, if empty will be used from post tile if available
address = used for info window content, if empty will be taken from post meta if available
scrollwheel = 1 enable , 0 disable, default 1 or comes from default config

Let us know which new feature you except.


  • Default Setting
  • Custom post listing
  • Map Edit-1
  • Map Edit-2
  • Frontend Map Embed


This section describes how to install the plugin and get it working.


  1. Upload folder cbxgooglemap to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to CBX Google map setting, put google map api key (in google project console you need, js map api, geo coding api, e)
  4. Place shortcode any where as need


Is there any custom function to call directly ?

No at this moment

Contributors & Developers

“CBX Google Map” is open source software. The following people have contributed to this plugin.


Translate “CBX Google Map” into your language.

Interested in development?

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



  • [New] New feaure to enable/disable mouse scroll wheel on map


  • Initial release