2017 © Pedro Peláez
 

wordpress-plugin cmb_field_map

image

julykaz/cmb_field_map

  • Monday, March 5, 2018
  • by julykaz
  • Repository
  • 1 Watchers
  • 0 Stars
  • 92 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 46 Forks
  • 0 Open issues
  • 14 Versions
  • 59 % 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

Install in a theme using composer:, (*3)

{
 "require": {
    "php": ">=5.3.0",
    "composer/installers": "v1.0.12",
    "webdevstudios/cmb2": "dev-master",
    "julykaz/cmb_field_map": "dev-master"
  },
  "autoload": {
    "files": [
      "vendor/cmb2/init.php",
      "vendor/cmb_field_map/cmb-field-map.php"
    ]
  },
  "extra": {
    "installer-paths": {
      "vendor/{$name}/": [
        "webdevstudios/cmb2",
        "julykaz/cmb_field_map"
      ]
    }
  } 
}

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

05/03 2018

v2.0.1

2.0.1.0

  Sources   Download

05/03 2018

v2.0.2

2.0.2.0

  Sources   Download

05/03 2018

v2.0.3

2.0.3.0

  Sources   Download

05/03 2018

v2.0.4

2.0.4.0

  Sources   Download

05/03 2018

v1.3

1.3.0.0

  Sources   Download

05/03 2018

v1.4

1.4.0.0

  Sources   Download

05/03 2018

v1.4.1

1.4.1.0

  Sources   Download

05/03 2018

v1.4.2

1.4.2.0

  Sources   Download

05/03 2018

v2.0.0

2.0.0.0

  Sources   Download

10/03 2017

dev-master

9999999-dev https://github.com/julykaz/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