2017 © Pedro Peláez
 

wordpress-plugin cmb_field_map

Google Maps field type for Custom Metaboxes and Fields for WordPress

image

digimix/cmb_field_map

Google Maps field type for Custom Metaboxes and Fields for WordPress

  • Tuesday, March 1, 2016
  • by digimix
  • Repository
  • 1 Watchers
  • 0 Stars
  • 37 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 46 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

CMB2 Field Type: Google Maps

Description

Google Maps field type for CMB2., (*1)

The pw_map field stores the latitude/longitude values which you can then use to display a map in your theme., (*2)

Installation

You can install this field type as you would a WordPress plugin:, (*3)

  1. Download the plugin
  2. Place the plugin folder in your /wp-content/plugins/ directory
  3. Activate the plugin in the Plugin dashboard

Usage

pw_map

Save a location on a map. Example:, (*4)

array(
    'name' => 'Location',
    'desc' => 'Drag the marker to set the exact location',
    'id' => $prefix . 'location',
    'type' => 'pw_map',
    // 'split_values' => true, // Save latitude and longitude as two separate fields
),

Extra Parameters:

  • split_values Save the latitude/longitude values into two custom fields, they will be stored as $id . '_latitude' and $id . '_longitude'.

Screenshot

Image, (*5)

The Versions

01/03 2016

dev-master

9999999-dev https://github.com/digimix/cmb_field_map/

Google Maps field type for Custom Metaboxes and Fields for WordPress

  Sources   Download

plugin wordpress

14/12 2015

v2.1.2

2.1.2.0 https://github.com/mustardBees/cmb_field_map/

Google Maps field type for Custom Metaboxes and Fields for WordPress

  Sources   Download

plugin wordpress

13/03 2015

v2.1.1

2.1.1.0 https://github.com/mustardBees/cmb_field_map/

Google Maps field type for Custom Metaboxes and Fields for WordPress

  Sources   Download

plugin wordpress

05/03 2015

v2.1.0

2.1.0.0 https://github.com/mustardBees/cmb_field_map/

Google Maps field type for Custom Metaboxes and Fields for WordPress

  Sources   Download

plugin wordpress

25/02 2015

v2.0.5

2.0.5.0 https://github.com/mustardBees/cmb_field_map/

Google Maps field type for Custom Metaboxes and Fields for WordPress

  Sources   Download

plugin wordpress