Version Description
- 2017-02-17 - Low priority =
- Added the ability for affiliates to make use of their affiliate IDs in the pro links
- Added better SSL support
- Added shortcode support for XML marker files
Download this release
Release Info
Developer | WPGMaps |
Plugin | WP Google Maps |
Version | 6.4.03 |
Comparing to | |
See all releases |
Code changes from version 6.4.02 to 6.4.03
- base/includes/wp-google-maps-polygons.php +2 -2
- readme.txt +6 -1
- wpGoogleMaps.php +39 -18
base/includes/wp-google-maps-polygons.php
CHANGED
@@ -37,7 +37,7 @@ function wpgmza_b_pro_add_poly($mid) {
|
|
37 |
<td>".__("Name","wp-google-maps")."</td><td><input type=\"text\" value=\"\" name=\"poly_name\" /></td>
|
38 |
</tr>
|
39 |
<tr>
|
40 |
-
<td>".__("Title","wp-google-maps")."</td><td><input disabled type=\"text\" value=\"".__("Pro version only","wp-google-maps")."\" /><i><a href='http://www.wpgmaps.com/purchase-professional-version/?utm_source=plugin&utm_medium=link&utm_campaign=polygons' title='".__("Pro Version","wp-google-maps")."'>".__("Get the Pro add-on","wp-google-maps")."</a></i></td>
|
41 |
</tr>
|
42 |
<tr>
|
43 |
<td>".__("Link","wp-google-maps")."</td><td><input disabled type=\"text\" value=\"pro version only\" /></td>
|
@@ -122,7 +122,7 @@ function wpgmza_b_pro_edit_poly($mid) {
|
|
122 |
<td>".__("Name","wp-google-maps")."</td><td><input type=\"text\" value=\"".esc_attr(stripslashes($pol->polyname))."\" name=\"poly_name\" /></td>
|
123 |
</tr>
|
124 |
<tr>
|
125 |
-
<td>".__("Title","wp-google-maps")."</td><td><input disabled type=\"text\" value=\"".__("Pro version only","wp-google-maps")."\" /><i><a href='http://www.wpgmaps.com/purchase-professional-version/?utm_source=plugin&utm_medium=link&utm_campaign=polygons' title='".__("Pro Version","wp-google-maps")."'>".__("Get the Pro add-on","wp-google-maps")."</a></i></td>
|
126 |
</tr>
|
127 |
<tr>
|
128 |
<td>".__("Link","wp-google-maps")."</td><td><input disabled type=\"text\" value=\"pro version only\" /></td>
|
37 |
<td>".__("Name","wp-google-maps")."</td><td><input type=\"text\" value=\"\" name=\"poly_name\" /></td>
|
38 |
</tr>
|
39 |
<tr>
|
40 |
+
<td>".__("Title","wp-google-maps")."</td><td><input disabled type=\"text\" value=\"".__("Pro version only","wp-google-maps")."\" /><i><a href='".wpgm_pro_link("http://www.wpgmaps.com/purchase-professional-version/?utm_source=plugin&utm_medium=link&utm_campaign=polygons")."' title='".__("Pro Version","wp-google-maps")."'>".__("Get the Pro add-on","wp-google-maps")."</a></i></td>
|
41 |
</tr>
|
42 |
<tr>
|
43 |
<td>".__("Link","wp-google-maps")."</td><td><input disabled type=\"text\" value=\"pro version only\" /></td>
|
122 |
<td>".__("Name","wp-google-maps")."</td><td><input type=\"text\" value=\"".esc_attr(stripslashes($pol->polyname))."\" name=\"poly_name\" /></td>
|
123 |
</tr>
|
124 |
<tr>
|
125 |
+
<td>".__("Title","wp-google-maps")."</td><td><input disabled type=\"text\" value=\"".__("Pro version only","wp-google-maps")."\" /><i><a href='".wpgm_pro_link("http://www.wpgmaps.com/purchase-professional-version/?utm_source=plugin&utm_medium=link&utm_campaign=polygons")."' title='".__("Pro Version","wp-google-maps")."'>".__("Get the Pro add-on","wp-google-maps")."</a></i></td>
|
126 |
</tr>
|
127 |
<tr>
|
128 |
<td>".__("Link","wp-google-maps")."</td><td><input disabled type=\"text\" value=\"pro version only\" /></td>
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: WPGMaps, NickDuncan, CodeCabin_, Jarryd Long, DylanAuty
|
|
3 |
Donate link: http://www.wpgmaps.com
|
4 |
Tags: google maps, maps, map, map markers, google map, google maps plugin, wp google maps, wp google map, map plugin, directions, google map plugin, map widget
|
5 |
Requires at least: 3.5
|
6 |
-
Tested up to: 4.
|
7 |
Stable tag: trunk
|
8 |
License: GPLv2
|
9 |
|
@@ -214,6 +214,11 @@ Please upgrade your version of WP Google Maps to version 6.0.27 as it includes m
|
|
214 |
|
215 |
== Changelog ==
|
216 |
|
|
|
|
|
|
|
|
|
|
|
217 |
= 6.4.02 - 2017-01-20 - Low priority =
|
218 |
* Removed an echo that was incorrectly placed
|
219 |
|
3 |
Donate link: http://www.wpgmaps.com
|
4 |
Tags: google maps, maps, map, map markers, google map, google maps plugin, wp google maps, wp google map, map plugin, directions, google map plugin, map widget
|
5 |
Requires at least: 3.5
|
6 |
+
Tested up to: 4.7
|
7 |
Stable tag: trunk
|
8 |
License: GPLv2
|
9 |
|
214 |
|
215 |
== Changelog ==
|
216 |
|
217 |
+
= 6.4.03 - 2017-02-17 - Low priority =
|
218 |
+
* Added the ability for affiliates to make use of their affiliate IDs in the pro links
|
219 |
+
* Added better SSL support
|
220 |
+
* Added shortcode support for XML marker files
|
221 |
+
|
222 |
= 6.4.02 - 2017-01-20 - Low priority =
|
223 |
* Removed an echo that was incorrectly placed
|
224 |
|
wpGoogleMaps.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: WP Google Maps
|
4 |
Plugin URI: https://www.wpgmaps.com
|
5 |
Description: The easiest to use Google Maps plugin! Create custom Google Maps with high quality markers containing locations, descriptions, images and links. Add your customized map to your WordPress posts and/or pages quickly and easily with the supplied shortcode. No fuss.
|
6 |
-
Version: 6.4.
|
7 |
Author: WP Google Maps
|
8 |
Author URI: https://www.wpgmaps.com
|
9 |
Text Domain: wp-google-maps
|
@@ -11,6 +11,12 @@ Domain Path: /languages
|
|
11 |
*/
|
12 |
|
13 |
/*
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
* 6.4.02 - 2017-01-20 - Low priority
|
15 |
* Removed an echo that was incorrectly placed
|
16 |
*
|
@@ -275,6 +281,7 @@ Domain Path: /languages
|
|
275 |
*/
|
276 |
|
277 |
|
|
|
278 |
global $wpgmza_version;
|
279 |
global $wpgmza_p_version;
|
280 |
global $wpgmza_t;
|
@@ -311,7 +318,7 @@ $wpgmza_tblname_poly = $wpdb->prefix . "wpgmza_polygon";
|
|
311 |
$wpgmza_tblname_polylines = $wpdb->prefix . "wpgmza_polylines";
|
312 |
$wpgmza_tblname_categories = $wpdb->prefix. "wpgmza_categories";
|
313 |
$wpgmza_tblname_category_maps = $wpdb->prefix. "wpgmza_category_maps";
|
314 |
-
$wpgmza_version = "6.4.
|
315 |
$wpgmza_p_version = "6.11";
|
316 |
$wpgmza_t = "basic";
|
317 |
define("WPGMAPS", $wpgmza_version);
|
@@ -634,7 +641,7 @@ function wpgmza_plugin_action_links( $links ) {
|
|
634 |
array_unshift( $links,
|
635 |
'<a class="edit" href="' . admin_url('admin.php?page=wp-google-maps-menu-settings') . '">' . __( 'Settings', 'wp-google-maps' ) . '</a>' );
|
636 |
array_unshift( $links,
|
637 |
-
'<a class="" target="_BLANK" href="https://www.wpgmaps.com/purchase-professional-version/?utm_source=plugin&utm_medium=link&utm_campaign=plugin_link_upgrade">' . __( 'Get Pro Version', 'wp-google-maps' ) . '</a>' );
|
638 |
|
639 |
|
640 |
return $links;
|
@@ -1804,7 +1811,7 @@ function wpgmaps_update_xml_file($mapid = false) {
|
|
1804 |
|
1805 |
$id = $result->id;
|
1806 |
$address = stripslashes($result->address);
|
1807 |
-
$description = stripslashes($result->description);
|
1808 |
$pic = $result->pic;
|
1809 |
if (!$pic) { $pic = ""; }
|
1810 |
$icon = $result->icon;
|
@@ -3902,7 +3909,7 @@ function wpgmaps_settings_page_basic() {
|
|
3902 |
$ret .= " <h3>".__("Marker Listing Settings","wp-google-maps")."</h3>";
|
3903 |
$ret .= " <p>".__("Changing these settings will alter the way the marker list appears on your website.","wp-google-maps")."</p>";
|
3904 |
$ret .= " <div class=\"update-nag update-att\">";
|
3905 |
-
$ret .= " <i class=\"fa fa-arrow-circle-right\"> </i> <a target='_blank' href=\"
|
3906 |
$ret .= " </div>";
|
3907 |
$ret .= " <hr />";
|
3908 |
|
@@ -4114,7 +4121,7 @@ function wpgmza_map_page() {
|
|
4114 |
else {
|
4115 |
wpgmza_stats("list_maps_basic");
|
4116 |
echo"<div class=\"wrap\"><div id=\"icon-edit\" class=\"icon32 icon32-posts-post\"><br></div><h2>".__("My Maps","wp-google-maps")."</h2>";
|
4117 |
-
echo"<p class='wpgmza_upgrade_nag'><i><a href='
|
4118 |
|
4119 |
$my_theme = wp_get_theme();
|
4120 |
|
@@ -4352,8 +4359,8 @@ function wpgmza_basic_menu() {
|
|
4352 |
}
|
4353 |
|
4354 |
$wpgmza_act = "disabled readonly";
|
4355 |
-
$wpgmza_act_msg = "<div class=\"update-nag update-att\" style=\"padding:5px; \">".__("Add custom icons, titles, descriptions, pictures and links to your markers with the","wp-google-maps")." \"<a href=\"
|
4356 |
-
$wpgmza_csv = "<p><a href=\"
|
4357 |
}
|
4358 |
|
4359 |
|
@@ -4567,7 +4574,7 @@ function wpgmza_basic_menu() {
|
|
4567 |
<div id=\"tabs-2\">
|
4568 |
<div class=\"update-nag update-att\">
|
4569 |
|
4570 |
-
<i class=\"fa fa-arrow-circle-right\"> </i> <a target='_BLANK' href=\"
|
4571 |
|
4572 |
</div>
|
4573 |
|
@@ -4741,7 +4748,7 @@ function wpgmza_basic_menu() {
|
|
4741 |
|
4742 |
<div class=\"update-nag update-att\">
|
4743 |
|
4744 |
-
<i class=\"fa fa-arrow-circle-right\"> </i> ".__("Get the rest of these advanced features with the Pro version for only <a href=\"
|
4745 |
|
4746 |
</div>
|
4747 |
|
@@ -4787,7 +4794,7 @@ function wpgmza_basic_menu() {
|
|
4787 |
<div id=\"tabs-5\" style=\"font-family:sans-serif;\">
|
4788 |
<div class=\"update-nag update-att\">
|
4789 |
|
4790 |
-
<i class=\"fa fa-arrow-circle-right\"> </i> ".__("Enable Marker Listing with the <a href=\"
|
4791 |
|
4792 |
</div>
|
4793 |
<br>
|
@@ -4987,9 +4994,9 @@ function wpgmza_basic_menu() {
|
|
4987 |
</div>
|
4988 |
|
4989 |
<br /><p>Get all of this and more for only $39.99 once off</p>
|
4990 |
-
<br /><a href=\"
|
4991 |
<br /><br />
|
4992 |
-
<a href=\"
|
4993 |
Have a sales question? Contact either Nick or Jarryd on <a href=\"mailto:nick@wpgmaps.com\">nick@wpgmaps.com</a> or use our <a href=\"http://www.wpgmaps.com/contact-us/\" target=\"_BLANK\">contact form</a>. <br /><br />
|
4994 |
Need help? <a href=\"http://www.wpgmaps.com/forums/forum/support-forum/\" target=\"_BLANK\">Ask a question on our support forum</a>.
|
4995 |
|
@@ -5078,7 +5085,7 @@ function wpgmza_basic_menu() {
|
|
5078 |
<div id=\"tabs-m-2\">
|
5079 |
<h2 style=\"padding-top:0; margin-top:0;\">".__("Advanced markers","wp-google-maps")."</h2>
|
5080 |
<div class=\"update-nag update-att\">
|
5081 |
-
<i class=\"fa fa-arrow-circle-right\"> </i> <a target=\"_BLANK\" href=\"
|
5082 |
</div><br>
|
5083 |
<table>
|
5084 |
<tr>
|
@@ -5152,7 +5159,7 @@ function wpgmza_basic_menu() {
|
|
5152 |
</div>
|
5153 |
<div id=\"tabs-m-5\">
|
5154 |
<h2 style=\"padding-top:0; margin-top:0;\"> ".__("Heatmaps","wp-google-maps")."</h2>
|
5155 |
-
<a target=\"_BLANK\" href=\"
|
5156 |
<a target=\"_BLANK\" href=\"https://www.wpgmaps.com/demo/heatmaps-demo/?utm_source=plugin&utm_medium=link&utm_campaign=heatmap_demo\">".__("View a demo.","wp-google-maps")."</a>
|
5157 |
</div>
|
5158 |
</div>
|
@@ -5190,15 +5197,15 @@ function wpgmza_basic_menu() {
|
|
5190 |
<table style='clear:both;'>
|
5191 |
<tr>
|
5192 |
<td><img src=\"".wpgmaps_get_plugin_url()."images/custom_markers.jpg\" width=\"260\" class='wpgmza-promo' title=\"".__("Add detailed information to your markers!")."\" alt=\"".__("Add custom markers to your map!","wp-google-maps")."\" /><br /><br /></td>
|
5193 |
-
<td valign=\"middle\"><span style=\"font-size:18px; color:#666; margin-left: 15px;\">".__("Add detailed information to your markers for only","wp-google-maps")." <strong>$39.99</strong>. ".__("Click","wp-google-maps")." <a href=\"https://www.wpgmaps.com/purchase-professional-version/?utm_source=plugin&utm_medium=link&utm_campaign=image1\" title=\"Pro Edition\" target=\"_BLANK\">".__("here","wp-google-maps")."</a></span></td>
|
5194 |
</tr>
|
5195 |
<tr>
|
5196 |
<td><img src=\"".wpgmaps_get_plugin_url()."images/custom_marker_icons.jpg\" width=\"260\" class='wpgmza-promo' title=\"".__("Add custom markers to your map!","wp-google-maps")."\" alt=\"".__("Add custom markers to your map!","wp-google-maps")."\" /><br /><br /></td>
|
5197 |
-
<td valign=\"middle\"><span style=\"font-size:18px; color:#666; margin-left: 15px;\">".__("Add different marker icons, or your own icons to make your map really stand out!","wp-google-maps")." ".__("Click","wp-google-maps")." <a href=\"https://www.wpgmaps.com/purchase-professional-version/?utm_source=plugin&utm_medium=link&utm_campaign=image3\" title=\"".__("Pro Edition","wp-google-maps")."\" target=\"_BLANK\">".__("here","wp-google-maps")."</a></span></td>
|
5198 |
</tr>
|
5199 |
<tr>
|
5200 |
<td><img src=\"".wpgmaps_get_plugin_url()."images/get_directions.jpg\" width=\"260\" class='wpgmza-promo' title=\"".__("Add custom markers to your map!","wp-google-maps")."\" alt=\"".__("Add custom markers to your map!","wp-google-maps")."\" /><br /><br /></td>
|
5201 |
-
<td valign=\"middle\"><span style=\"font-size:18px; color:#666; margin-left: 15px;\">".__("Allow your visitors to get directions to your markers!","wp-google-maps")." ".__("Click","wp-google-maps")." <a href=\"https://www.wpgmaps.com/purchase-professional-version/?utm_source=plugin&utm_medium=link&utm_campaign=image2\" title=\"".__("Pro Edition","wp-google-maps")."\" target=\"_BLANK\">".__("here","wp-google-maps")."</a></span></td>
|
5202 |
</tr>
|
5203 |
|
5204 |
</table>
|
@@ -6384,6 +6391,20 @@ function wpgmza_caching_notice_changes($markers = false, $return = false){
|
|
6384 |
|
6385 |
}
|
6386 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6387 |
function wpgmza_track_usage( $map_id ){
|
6388 |
|
6389 |
global $wpdb;
|
3 |
Plugin Name: WP Google Maps
|
4 |
Plugin URI: https://www.wpgmaps.com
|
5 |
Description: The easiest to use Google Maps plugin! Create custom Google Maps with high quality markers containing locations, descriptions, images and links. Add your customized map to your WordPress posts and/or pages quickly and easily with the supplied shortcode. No fuss.
|
6 |
+
Version: 6.4.03
|
7 |
Author: WP Google Maps
|
8 |
Author URI: https://www.wpgmaps.com
|
9 |
Text Domain: wp-google-maps
|
11 |
*/
|
12 |
|
13 |
/*
|
14 |
+
*
|
15 |
+
* 6.4.03 - 2017-02-17 - Low priority
|
16 |
+
* Added the ability for affiliates to make use of their affiliate IDs in the pro links
|
17 |
+
* Added better SSL support
|
18 |
+
* Added shortcode support for XML marker files
|
19 |
+
*
|
20 |
* 6.4.02 - 2017-01-20 - Low priority
|
21 |
* Removed an echo that was incorrectly placed
|
22 |
*
|
281 |
*/
|
282 |
|
283 |
|
284 |
+
|
285 |
global $wpgmza_version;
|
286 |
global $wpgmza_p_version;
|
287 |
global $wpgmza_t;
|
318 |
$wpgmza_tblname_polylines = $wpdb->prefix . "wpgmza_polylines";
|
319 |
$wpgmza_tblname_categories = $wpdb->prefix. "wpgmza_categories";
|
320 |
$wpgmza_tblname_category_maps = $wpdb->prefix. "wpgmza_category_maps";
|
321 |
+
$wpgmza_version = "6.4.03";
|
322 |
$wpgmza_p_version = "6.11";
|
323 |
$wpgmza_t = "basic";
|
324 |
define("WPGMAPS", $wpgmza_version);
|
641 |
array_unshift( $links,
|
642 |
'<a class="edit" href="' . admin_url('admin.php?page=wp-google-maps-menu-settings') . '">' . __( 'Settings', 'wp-google-maps' ) . '</a>' );
|
643 |
array_unshift( $links,
|
644 |
+
'<a class="" target="_BLANK" href="'.wpgm_pro_link("https://www.wpgmaps.com/purchase-professional-version/?utm_source=plugin&utm_medium=link&utm_campaign=plugin_link_upgrade").'">' . __( 'Get Pro Version', 'wp-google-maps' ) . '</a>' );
|
645 |
|
646 |
|
647 |
return $links;
|
1811 |
|
1812 |
$id = $result->id;
|
1813 |
$address = stripslashes($result->address);
|
1814 |
+
$description = do_shortcode(stripslashes($result->description));
|
1815 |
$pic = $result->pic;
|
1816 |
if (!$pic) { $pic = ""; }
|
1817 |
$icon = $result->icon;
|
3909 |
$ret .= " <h3>".__("Marker Listing Settings","wp-google-maps")."</h3>";
|
3910 |
$ret .= " <p>".__("Changing these settings will alter the way the marker list appears on your website.","wp-google-maps")."</p>";
|
3911 |
$ret .= " <div class=\"update-nag update-att\">";
|
3912 |
+
$ret .= " <i class=\"fa fa-arrow-circle-right\"> </i> <a target='_blank' href=\"".wpgm_pro_link("https://www.wpgmaps.com/purchase-professional-version/?utm_source=plugin&utm_medium=link&utm_campaign=mlisting_settings")."\">Add Beautiful Marker Listings</a> to your maps with the Pro version for only $39.99 once off. Support and updates included forever.";
|
3913 |
$ret .= " </div>";
|
3914 |
$ret .= " <hr />";
|
3915 |
|
4121 |
else {
|
4122 |
wpgmza_stats("list_maps_basic");
|
4123 |
echo"<div class=\"wrap\"><div id=\"icon-edit\" class=\"icon32 icon32-posts-post\"><br></div><h2>".__("My Maps","wp-google-maps")."</h2>";
|
4124 |
+
echo"<p class='wpgmza_upgrade_nag'><i><a href='".wpgm_pro_link("https://www.wpgmaps.com/purchase-professional-version/?utm_source=plugin&utm_medium=link&utm_campaign=mappage_1")."' target=\"_BLANK\" title='".__("Pro Version","wp-google-maps")."'>".__("Create unlimited maps","wp-google-maps")."</a> ".__("with the","wp-google-maps")." <a href='".wpgm_pro_link("https://www.wpgmaps.com/purchase-professional-version/?utm_source=plugin&utm_medium=link&utm_campaign=mappage_2")."' title='Pro Version' target=\"_BLANK\">".__("Pro Version","wp-google-maps")."</a> ".__("of WP Google Maps for only","wp-google-maps")." <strong>$39.99!</strong></i></p>";
|
4125 |
|
4126 |
$my_theme = wp_get_theme();
|
4127 |
|
4359 |
}
|
4360 |
|
4361 |
$wpgmza_act = "disabled readonly";
|
4362 |
+
$wpgmza_act_msg = "<div class=\"update-nag update-att\" style=\"padding:5px; \">".__("Add custom icons, titles, descriptions, pictures and links to your markers with the","wp-google-maps")." \"<a href=\"".wpgm_pro_link("https://www.wpgmaps.com/purchase-professional-version/?utm_source=plugin&utm_medium=link&utm_campaign=below_marker")."\" title=\"".__("Pro Edition","wp-google-maps")."\" target=\"_BLANK\">".__("Pro Edition","wp-google-maps")."</a>\" ".__("of this plugin for just","wp-google-maps")." <strong>$39.99</strong></div>";
|
4363 |
+
$wpgmza_csv = "<p><a href=\"".wpgm_pro_link("https://www.wpgmaps.com/purchase-professional-version/?utm_source=plugin&utm_medium=link&utm_campaign=csv_link")."\" target=\"_BLANK\" title=\"".__("Pro Edition","wp-google-maps")."\">".__("Purchase the Pro Edition","wp-google-maps")."</a> ".__("of WP Google Maps and save your markers to a CSV file!","wp-google-maps")."</p>";
|
4364 |
}
|
4365 |
|
4366 |
|
4574 |
<div id=\"tabs-2\">
|
4575 |
<div class=\"update-nag update-att\">
|
4576 |
|
4577 |
+
<i class=\"fa fa-arrow-circle-right\"> </i> <a target='_BLANK' href=\"".wpgm_pro_link("https://www.wpgmaps.com/purchase-professional-version/?utm_source=plugin&utm_medium=link&utm_campaign=directions")."\">Enable directions</a> with the Pro version for only $39.99 once off. Support and updates included forever.
|
4578 |
|
4579 |
</div>
|
4580 |
|
4748 |
|
4749 |
<div class=\"update-nag update-att\">
|
4750 |
|
4751 |
+
<i class=\"fa fa-arrow-circle-right\"> </i> ".__("Get the rest of these advanced features with the Pro version for only <a href=\"".wpgm_pro_link("https://www.wpgmaps.com/purchase-professional-version/?utm_source=plugin&utm_medium=link&utm_campaign=advanced")."\" target=\"_BLANK\">$39.99 once off</a>. Support and updates included forever.","wp-google-maps")."
|
4752 |
|
4753 |
</div>
|
4754 |
|
4794 |
<div id=\"tabs-5\" style=\"font-family:sans-serif;\">
|
4795 |
<div class=\"update-nag update-att\">
|
4796 |
|
4797 |
+
<i class=\"fa fa-arrow-circle-right\"> </i> ".__("Enable Marker Listing with the <a href=\"".wpgm_pro_link("https://www.wpgmaps.com/purchase-professional-version/?utm_source=plugin&utm_medium=link&utm_campaign=marker_listing")."\" target=\"_BLANK\">Pro version for only $39.99 once off</a>. Support and updates included forever.","wp-google-maps")."
|
4798 |
|
4799 |
</div>
|
4800 |
<br>
|
4994 |
</div>
|
4995 |
|
4996 |
<br /><p>Get all of this and more for only $39.99 once off</p>
|
4997 |
+
<br /><a href=\"".wpgm_pro_link("https://www.wpgmaps.com/purchase-professional-version/?utm_source=plugin&utm_medium=link&utm_campaign=upgradenow")."\" target=\"_BLANK\" title=\"Upgrade now for only $39.99 once off\" class=\"button-primary\" style=\"font-size:20px; display:block; width:220px; text-align:center; height:42px; line-height:41px;\">Upgrade Now</a>
|
4998 |
<br /><br />
|
4999 |
+
<a href=\"".wpgm_pro_link("https://www.wpgmaps.com/demo/")."\" target=\"_BLANK\">View the demos</a>.<br /><br />
|
5000 |
Have a sales question? Contact either Nick or Jarryd on <a href=\"mailto:nick@wpgmaps.com\">nick@wpgmaps.com</a> or use our <a href=\"http://www.wpgmaps.com/contact-us/\" target=\"_BLANK\">contact form</a>. <br /><br />
|
5001 |
Need help? <a href=\"http://www.wpgmaps.com/forums/forum/support-forum/\" target=\"_BLANK\">Ask a question on our support forum</a>.
|
5002 |
|
5085 |
<div id=\"tabs-m-2\">
|
5086 |
<h2 style=\"padding-top:0; margin-top:0;\">".__("Advanced markers","wp-google-maps")."</h2>
|
5087 |
<div class=\"update-nag update-att\">
|
5088 |
+
<i class=\"fa fa-arrow-circle-right\"> </i> <a target=\"_BLANK\" href=\"".wpgm_pro_link("https://www.wpgmaps.com/purchase-professional-version/?utm_source=plugin&utm_medium=link&utm_campaign=advanced_markers")."\">".__("Add advanced markers","wp-google-maps")."</a> ".__("with the Pro version","wp-google-maps")."
|
5089 |
</div><br>
|
5090 |
<table>
|
5091 |
<tr>
|
5159 |
</div>
|
5160 |
<div id=\"tabs-m-5\">
|
5161 |
<h2 style=\"padding-top:0; margin-top:0;\"> ".__("Heatmaps","wp-google-maps")."</h2>
|
5162 |
+
<a target=\"_BLANK\" href=\"".wpgm_pro_link("https://www.wpgmaps.com/purchase-professional-version/?utm_source=plugin&utm_medium=link&utm_campaign=heatmaps")."\">".__("Add dynamic heatmap data","wp-google-maps")."</a> ".__("with the Pro version.","wp-google-maps")."
|
5163 |
<a target=\"_BLANK\" href=\"https://www.wpgmaps.com/demo/heatmaps-demo/?utm_source=plugin&utm_medium=link&utm_campaign=heatmap_demo\">".__("View a demo.","wp-google-maps")."</a>
|
5164 |
</div>
|
5165 |
</div>
|
5197 |
<table style='clear:both;'>
|
5198 |
<tr>
|
5199 |
<td><img src=\"".wpgmaps_get_plugin_url()."images/custom_markers.jpg\" width=\"260\" class='wpgmza-promo' title=\"".__("Add detailed information to your markers!")."\" alt=\"".__("Add custom markers to your map!","wp-google-maps")."\" /><br /><br /></td>
|
5200 |
+
<td valign=\"middle\"><span style=\"font-size:18px; color:#666; margin-left: 15px;\">".__("Add detailed information to your markers for only","wp-google-maps")." <strong>$39.99</strong>. ".__("Click","wp-google-maps")." <a href=\"".wpgm_pro_link("https://www.wpgmaps.com/purchase-professional-version/?utm_source=plugin&utm_medium=link&utm_campaign=image1")."\" title=\"Pro Edition\" target=\"_BLANK\">".__("here","wp-google-maps")."</a></span></td>
|
5201 |
</tr>
|
5202 |
<tr>
|
5203 |
<td><img src=\"".wpgmaps_get_plugin_url()."images/custom_marker_icons.jpg\" width=\"260\" class='wpgmza-promo' title=\"".__("Add custom markers to your map!","wp-google-maps")."\" alt=\"".__("Add custom markers to your map!","wp-google-maps")."\" /><br /><br /></td>
|
5204 |
+
<td valign=\"middle\"><span style=\"font-size:18px; color:#666; margin-left: 15px;\">".__("Add different marker icons, or your own icons to make your map really stand out!","wp-google-maps")." ".__("Click","wp-google-maps")." <a href=\"".wpgm_pro_link("https://www.wpgmaps.com/purchase-professional-version/?utm_source=plugin&utm_medium=link&utm_campaign=image3")."\" title=\"".__("Pro Edition","wp-google-maps")."\" target=\"_BLANK\">".__("here","wp-google-maps")."</a></span></td>
|
5205 |
</tr>
|
5206 |
<tr>
|
5207 |
<td><img src=\"".wpgmaps_get_plugin_url()."images/get_directions.jpg\" width=\"260\" class='wpgmza-promo' title=\"".__("Add custom markers to your map!","wp-google-maps")."\" alt=\"".__("Add custom markers to your map!","wp-google-maps")."\" /><br /><br /></td>
|
5208 |
+
<td valign=\"middle\"><span style=\"font-size:18px; color:#666; margin-left: 15px;\">".__("Allow your visitors to get directions to your markers!","wp-google-maps")." ".__("Click","wp-google-maps")." <a href=\"".wpgm_pro_link("https://www.wpgmaps.com/purchase-professional-version/?utm_source=plugin&utm_medium=link&utm_campaign=image2")."\" title=\"".__("Pro Edition","wp-google-maps")."\" target=\"_BLANK\">".__("here","wp-google-maps")."</a></span></td>
|
5209 |
</tr>
|
5210 |
|
5211 |
</table>
|
6391 |
|
6392 |
}
|
6393 |
|
6394 |
+
function wpgm_pro_link($link) {
|
6395 |
+
if (defined('wpgm_aff')) {
|
6396 |
+
$id = sanitize_text_field(wpgm_aff);
|
6397 |
+
if ($id && $id !== "") {
|
6398 |
+
return "http://affiliatetracker.io/?aff=".$id."&affuri=".base64_encode($link);
|
6399 |
+
} else {
|
6400 |
+
return $link;
|
6401 |
+
}
|
6402 |
+
|
6403 |
+
} else {
|
6404 |
+
return $link;
|
6405 |
+
}
|
6406 |
+
}
|
6407 |
+
|
6408 |
function wpgmza_track_usage( $map_id ){
|
6409 |
|
6410 |
global $wpdb;
|