Server : Apache System : Linux ls31.server.ly 3.10.0-962.3.2.lve1.5.68.el7.x86_64 #1 SMP Wed Apr 6 11:12:23 UTC 2022 x86_64 User : medchoco ( 2906) PHP Version : 8.3.16 Disable Function : mail Directory : /home/medchoco/www/wp-content/plugins/redux-framework/sample/sections/extensions/ |
Upload File : |
<?php /** * Redux Pro Google Maps Sample config. * For full documentation, please visit: http:https://devs.redux.io/ * * @package Redux Pro */ defined( 'ABSPATH' ) || exit; Redux::set_section( $opt_name, array( 'title' => esc_html__( 'Google Maps', 'your-textdomain-here' ), 'desc' => esc_html__( 'For full documentation on this field, visit: ', 'your-textdomain-here' ) . '<a href="https://devs.redux.io/premium/google-maps.html" target="_blank">https://devs.redux.io/premium/google-maps.html</a>', 'subsection' => true, 'fields' => array( array( 'id' => 'location_geocode', 'type' => 'google_maps', 'title' => esc_html__( 'Google Maps', 'your-textdomain-here' ), 'subtitle' => esc_html__( 'This map is set using only address information with a zoom factor of 3. Lat/Long is returned automatically.', 'your-textdomain-here' ), 'show_api_key' => true, 'default' => array( 'zoom' => '17', // Zoom far: 3 zoom close 17. 'street_number' => '1600', // Address. 'route' => 'Pennsylvania Avenue', // STREET. 'locality' => 'Washington', // CITY. 'administrative_area_level_1' => 'DC', // STATE. 'postal_code' => '20500', 'country' => 'United States', ), ), array( 'id' => 'location_geocode2', 'type' => 'google_maps', 'title' => esc_html__( 'Google Maps', 'your-textdomain-here' ), 'subtitle' => esc_html__( 'This map is set using only latitude and longitude with a zoom factor of 7. When setting a Google map using lat/long, address information will not be returned.', 'your-textdomain-here' ), 'show_api_key' => false, 'full_width' => true, 'default' => array( 'latitude' => 38.8976758, 'longitude' => - 77.03648229999999, 'zoom' => 7, ), ), ), ) );