2017 © Pedro Peláez
 

library cmb_field_map

image

digitoimistodude/cmb_field_map

  • Monday, April 30, 2018
  • by ronilaukkarinen
  • Repository
  • 3 Watchers
  • 1 Stars
  • 48 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 46 Forks
  • 0 Open issues
  • 13 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

30/04 2018

v1.4.2

1.4.2.0

  Sources   Download

30/04 2018

v2.0.0

2.0.0.0

  Sources   Download

30/04 2018

v2.0.1

2.0.1.0

  Sources   Download

30/04 2018

v1.3

1.3.0.0

  Sources   Download

30/04 2018

v1.4

1.4.0.0

  Sources   Download

30/04 2018

v1.4.1

1.4.1.0

  Sources   Download

30/04 2018

v2.0.4

2.0.4.0

  Sources   Download

30/04 2018

v2.0.2

2.0.2.0

  Sources   Download

30/04 2018

v2.0.3

2.0.3.0

  Sources   Download

17/06 2016

dev-master

9999999-dev 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