Advertisement
Guest User

vc-map

a guest
Apr 27th, 2017
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.42 KB | None | 0 0
  1. <?php
  2.  
  3. vc_map( array(
  4.     "name" => __( "Adam google map", "my-text-domain" ),
  5.     "base" => "adam_styled_map",
  6.     "category" => __( "Adam", "my-text-domain"),
  7.     "params" => array(
  8.         array(
  9.             "type" => "textfield",
  10.             "heading" => __( "Latitude", "my-text-domain" ),
  11.             "param_name" => "lat",
  12.             "value" => __( "24.751290", "my-text-domain" ),
  13.             "description" => __( "Give latitude of google map.", "my-text-domain" )
  14.         ),
  15.         array(
  16.             "type" => "textfield",
  17.             "heading" => __( "Longitude", "my-text-domain" ),
  18.             "param_name" => "lng",
  19.             "value" => __( "90.403457", "my-text-domain" ),
  20.             "description" => __( "Give longitude of google map", "my-text-domain" )
  21.         ),
  22.         array(
  23.             "type" => "textfield",
  24.             "heading" => __( "Map zoom", "my-text-domain" ),
  25.             "param_name" => "zoom",
  26.             "value" => __( "14", "my-text-domain" ),
  27.             "description" => __( "Give map zoom number. default is 14", "my-text-domain" )
  28.         ),
  29.         array(
  30.             "type" => "dropdown",
  31.             "heading" => __( "Enable scroll?", "my-text-domain" ),
  32.             "param_name" => "scroll",
  33.             "std" => 'false',
  34.             "value" => array(
  35.                 'false' => 'false',
  36.                 'true' => 'true',
  37.             ),
  38.             "description" => __( "false for disable mouse scroll and true for enable.", "my-text-domain" )
  39.         ),
  40.         array(
  41.             "type" => "textfield",
  42.             "heading" => __( "Location title", "my-text-domain" ),
  43.             "param_name" => "title",
  44.             "value" => __( "", "my-text-domain" ),
  45.             "description" => __( "Type your location title", "my-text-domain" )
  46.         ),
  47.         array(
  48.             "type" => "textfield",
  49.             "heading" => __( "Location description", "my-text-domain" ),
  50.             "param_name" => "desc",
  51.             "value" => __( "", "my-text-domain" ),
  52.             "description" => __( "Type your location description", "my-text-domain" )
  53.         ),
  54.         array(
  55.             "type" => "textfield",
  56.             "heading" => __( "Map height", "my-text-domain" ),
  57.             "param_name" => "height",
  58.             "value" => __( "400", "my-text-domain" ),
  59.             "description" => __( "Type your map height", "my-text-domain" )
  60.         ),
  61.  
  62.     )
  63. ) );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement