Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- vc_map( array(
- "name" => __( "Adam google map", "my-text-domain" ),
- "base" => "adam_styled_map",
- "category" => __( "Adam", "my-text-domain"),
- "params" => array(
- array(
- "type" => "textfield",
- "heading" => __( "Latitude", "my-text-domain" ),
- "param_name" => "lat",
- "value" => __( "24.751290", "my-text-domain" ),
- "description" => __( "Give latitude of google map.", "my-text-domain" )
- ),
- array(
- "type" => "textfield",
- "heading" => __( "Longitude", "my-text-domain" ),
- "param_name" => "lng",
- "value" => __( "90.403457", "my-text-domain" ),
- "description" => __( "Give longitude of google map", "my-text-domain" )
- ),
- array(
- "type" => "textfield",
- "heading" => __( "Map zoom", "my-text-domain" ),
- "param_name" => "zoom",
- "value" => __( "14", "my-text-domain" ),
- "description" => __( "Give map zoom number. default is 14", "my-text-domain" )
- ),
- array(
- "type" => "dropdown",
- "heading" => __( "Enable scroll?", "my-text-domain" ),
- "param_name" => "scroll",
- "std" => 'false',
- "value" => array(
- 'false' => 'false',
- 'true' => 'true',
- ),
- "description" => __( "false for disable mouse scroll and true for enable.", "my-text-domain" )
- ),
- array(
- "type" => "textfield",
- "heading" => __( "Location title", "my-text-domain" ),
- "param_name" => "title",
- "value" => __( "", "my-text-domain" ),
- "description" => __( "Type your location title", "my-text-domain" )
- ),
- array(
- "type" => "textfield",
- "heading" => __( "Location description", "my-text-domain" ),
- "param_name" => "desc",
- "value" => __( "", "my-text-domain" ),
- "description" => __( "Type your location description", "my-text-domain" )
- ),
- array(
- "type" => "textfield",
- "heading" => __( "Map height", "my-text-domain" ),
- "param_name" => "height",
- "value" => __( "400", "my-text-domain" ),
- "description" => __( "Type your map height", "my-text-domain" )
- ),
- )
- ) );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement