WD Google Maps – Google Maps builder Plugin - Version 1.0.58

Version Description

  • Fixed: Conflict with Elementor.
Download this release

Release Info

Developer webdorado
Plugin Icon 128x128 WD Google Maps – Google Maps builder Plugin
Version 1.0.58
Comparing to
See all releases

Code changes from version 1.0.57 to 1.0.58

admin/controllers/elementorWidget.php CHANGED
@@ -25,7 +25,7 @@ class GMWDElementor extends \Elementor\Widget_Base {
25
  * @return string Widget icon.
26
  */
27
  public function get_icon() {
28
- return 'dashicons dashicons-location';
29
  }
30
 
31
  /**
25
  * @return string Widget icon.
26
  */
27
  public function get_icon() {
28
+ return 'twbb-map twbb-widget-icon';
29
  }
30
 
31
  /**
css/gmwd_elementor_icon/gmwd_elementor_icon.css CHANGED
@@ -1,10 +1,12 @@
 
 
1
  @font-face {
2
  font-family: 'twbb-icons';
3
  src: url('../../fonts/twbb-icons.eot');
4
  src: url('../../fonts/twbb-icons.eot') format('embedded-opentype'),
5
  url('../../fonts/twbb-icons.ttf') format('truetype'),
6
  url('../../fonts/twbb-icons.woff') format('woff'),
7
- url('../../fonts/twbb-icons.svg') format('svg');
8
  font-weight: normal;
9
  font-style: normal;
10
  }
@@ -32,21 +34,78 @@
32
  }
33
 
34
  /*ICONS*/
35
-
36
- .twbb-photo-gallery.twbb-widget-icon:before {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
37
  content: "\e906";
38
- color: #556068;
39
  }
40
- .twbb-slider-wd.twbb-widget-icon:before {
41
  content: "\e907";
42
- color: #556068;
43
  }
44
- .twbb-form-maker.twbb-widget-icon:before {
45
  content: "\e908";
46
- color: #556068;
47
  }
48
- .twbb-google-maps.twbb-widget-icon:before {
49
- content: "\e906";
50
- color: #556068;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
51
  }
52
-
1
+ /*2.0.0*/
2
+
3
  @font-face {
4
  font-family: 'twbb-icons';
5
  src: url('../../fonts/twbb-icons.eot');
6
  src: url('../../fonts/twbb-icons.eot') format('embedded-opentype'),
7
  url('../../fonts/twbb-icons.ttf') format('truetype'),
8
  url('../../fonts/twbb-icons.woff') format('woff'),
9
+ url('../../fonts/twbb-icon.svg') format('svg');
10
  font-weight: normal;
11
  font-style: normal;
12
  }
34
  }
35
 
36
  /*ICONS*/
37
+ .twbb-calendar.twbb-widget-icon:before {
38
+ content: "\e900";
39
+ }
40
+ .twbb-call-to-action.twbb-widget-icon:before {
41
+ content: "\e901";
42
+ }
43
+ .twbb-countdown.twbb-widget-icon:before {
44
+ content: "\e902";
45
+ }
46
+ .twbb-featured-image.twbb-widget-icon:before {
47
+ content: "\e903";
48
+ }
49
+ .twbb-flip-box.twbb-widget-icon:before {
50
+ content: "\e904";
51
+ }
52
+ .twbb-form-maker.twbb-widget-icon:before {
53
+ content: "\e905";
54
+ }
55
+ .twbb-map.twbb-widget-icon:before {
56
  content: "\e906";
 
57
  }
58
+ .twbb-menu.twbb-widget-icon:before {
59
  content: "\e907";
 
60
  }
61
+ .twbb-photo-gallery.twbb-widget-icon:before {
62
  content: "\e908";
 
63
  }
64
+ .twbb-post-comments.twbb-widget-icon:before {
65
+ content: "\e909";
66
+ }
67
+ .twbb-post-content.twbb-widget-icon:before {
68
+ content: "\e90a";
69
+ }
70
+ .twbb-post-excerpt.twbb-widget-icon:before {
71
+ content: "\e90b";
72
+ }
73
+ .twbb-post-info.twbb-widget-icon:before {
74
+ content: "\e90c";
75
+ }
76
+ .twbb-post-navigation.twbb-widget-icon:before {
77
+ content: "\e90d";
78
+ }
79
+ .twbb-posts.twbb-widget-icon:before {
80
+ content: "\e90e";
81
+ }
82
+ .twbb-posts-archive.twbb-widget-icon:before {
83
+ content: "\e90f";
84
+ }
85
+ .twbb-post-title.twbb-widget-icon:before {
86
+ content: "\e910";
87
+ }
88
+ .twbb-pricing-table.twbb-widget-icon:before {
89
+ content: "\e911";
90
+ }
91
+ .twbb-share-buttons.twbb-widget-icon:before {
92
+ content: "\e912";
93
+ }
94
+ .twbb-site-logo.twbb-widget-icon:before {
95
+ content: "\e913";
96
+ }
97
+ .twbb-site-title.twbb-widget-icon:before {
98
+ content: "\e914";
99
+ }
100
+ .twbb-slider-wd.twbb-widget-icon:before {
101
+ content: "\e915";
102
+ }
103
+ .twbb-testimonial-carousel.twbb-widget-icon:before {
104
+ content: "\e916";
105
+ }
106
+ .twbb-wd-facebook-feed.twbb-widget-icon:before {
107
+ content: "\e917";
108
+ }
109
+ .twbb-wd-instagram-feed.twbb-widget-icon:before {
110
+ content: "\e918";
111
  }
 
fonts/twbb-icons.ttf CHANGED
Binary file
fonts/twbb-icons.woff CHANGED
Binary file
gmwd_admin_class.php CHANGED
@@ -12,7 +12,7 @@ class GMWDAdmin
12
  // Variables //
13
  ////////////////////////////////////////////////////////////////////////////////////////
14
  protected static $instance = null;
15
- private static $version = '1.0.57';
16
  ////////////////////////////////////////////////////////////////////////////////////////
17
  // Constructor & Destructor //
18
  ////////////////////////////////////////////////////////////////////////////////////////
12
  // Variables //
13
  ////////////////////////////////////////////////////////////////////////////////////////
14
  protected static $instance = null;
15
+ private static $version = '1.0.58';
16
  ////////////////////////////////////////////////////////////////////////////////////////
17
  // Constructor & Destructor //
18
  ////////////////////////////////////////////////////////////////////////////////////////
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: webdorado,10web,wdsupport
3
  Tags: google map, google maps, map, map markers, maps, directions, google map plugin, google maps plugin, map plugin, wp google map, wp google maps, google map widget
4
  Requires at least: 3.4
5
- Tested up to: 5.1
6
- Stable tag: 1.0.57
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -11,7 +11,7 @@ License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
12
  == Description ==
13
 
14
- [Special Offer for all Premium Plugins](https://10web.io/plugins-bundle-pricing/)
15
  [WordPress 10Web Google Maps](https://10web.io/plugins/wordpress-google-maps/)
16
  [Demo](https://demo.10web.io/google-maps/)
17
  [User Guide](https://help.10web.io/hc/en-us/articles/360017782751-Installation-Wizard-and-API-Configuration)
@@ -139,8 +139,11 @@ Activate 10Web Google Maps by going to Plugins and pressing Activate button.
139
 
140
  == Changelog ==
141
 
 
 
 
142
  = 1.0.57 =
143
- Changed: Links to 10Web.io.
144
 
145
  = 1.0.55 =
146
  * Added: Gutenberg integration
2
  Contributors: webdorado,10web,wdsupport
3
  Tags: google map, google maps, map, map markers, maps, directions, google map plugin, google maps plugin, map plugin, wp google map, wp google maps, google map widget
4
  Requires at least: 3.4
5
+ Tested up to: 5.2
6
+ Stable tag: 1.0.58
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
11
 
12
  == Description ==
13
 
14
+
15
  [WordPress 10Web Google Maps](https://10web.io/plugins/wordpress-google-maps/)
16
  [Demo](https://demo.10web.io/google-maps/)
17
  [User Guide](https://help.10web.io/hc/en-us/articles/360017782751-Installation-Wizard-and-API-Configuration)
139
 
140
  == Changelog ==
141
 
142
+ = 1.0.58 =
143
+ * Fixed: Conflict with Elementor.
144
+
145
  = 1.0.57 =
146
+ * Changed: Links to 10Web.io.
147
 
148
  = 1.0.55 =
149
  * Added: Gutenberg integration
wd-google-maps.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin Name: 10Web Google Maps
5
  * Plugin URI: https://10web.io/plugins/wordpress-google-maps/
6
  * Description: 10Web Google Maps is an intuitive tool for creating Google maps with advanced markers, custom layers and overlays for your website.
7
- * Version: 1.0.57
8
  * Author: 10Web
9
  * Author URI: https://10web.io/plugins
10
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
@@ -53,9 +53,15 @@ add_action('elementor/editor/after_enqueue_styles', 'enqueue_editor_styles', 11)
53
  // Register 10Web category for Elementor widget if 10Web builder doesn't installed.
54
  add_action('elementor/elements/categories_registered', 'register_widget_category', 1, 1);
55
 
 
 
56
  function enqueue_editor_styles()
57
  {
58
- wp_enqueue_style('twbb-editor-styles', GMWD_URL . '/css/gmwd_elementor_icon/gmwd_elementor_icon.css', array(), '1.0.0');
 
 
 
 
59
  }
60
 
61
  /**
@@ -81,6 +87,18 @@ function register_widget_category($elements_manager)
81
  ));
82
  }
83
 
 
 
 
 
 
 
 
 
 
 
 
 
84
 
85
  function gmwd_map($shortcode_id, $map_id)
86
  {
4
  * Plugin Name: 10Web Google Maps
5
  * Plugin URI: https://10web.io/plugins/wordpress-google-maps/
6
  * Description: 10Web Google Maps is an intuitive tool for creating Google maps with advanced markers, custom layers and overlays for your website.
7
+ * Version: 1.0.58
8
  * Author: 10Web
9
  * Author URI: https://10web.io/plugins
10
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
53
  // Register 10Web category for Elementor widget if 10Web builder doesn't installed.
54
  add_action('elementor/elements/categories_registered', 'register_widget_category', 1, 1);
55
 
56
+ add_filter('tw_get_elementor_assets', 'register_elementor_assets');
57
+
58
  function enqueue_editor_styles()
59
  {
60
+ $key = 'twbb-editor-styles';
61
+ wp_deregister_style($key);
62
+ $assets = apply_filters('tw_get_elementor_assets', array());
63
+ wp_enqueue_style($key, $assets['css_path'], array(), $assets['version']);
64
+
65
  }
66
 
67
  /**
87
  ));
88
  }
89
 
90
+ function register_elementor_assets($assets)
91
+ {
92
+ $version = '2.0.0';
93
+ if (!isset($assets['version']) || version_compare($assets['version'], $version) === -1) {
94
+ $assets['version'] = $version;
95
+ $assets['css_path'] = GMWD_URL . '/css/gmwd_elementor_icon/gmwd_elementor_icon.css';
96
+ }
97
+
98
+ return $assets;
99
+ }
100
+
101
+
102
 
103
  function gmwd_map($shortcode_id, $map_id)
104
  {