Pinterest Pin It Button On Image Hover And Post - Version 2.8.0

Version Description

= 0.1 = Starter version no upgrade is required.

Download this release

Release Info

Developer weblizar
Plugin Icon 128x128 Pinterest Pin It Button On Image Hover And Post
Version 2.8.0
Comparing to
See all releases

Code changes from version 2.7.9 to 2.8.0

Files changed (2) hide show
  1. pinterest-pin-It-button.php +20 -26
  2. readme.txt +14 -3
pinterest-pin-It-button.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Plugin Name: Weblizar Pin It Button On Image Hover And Post
4
- * Version: 2.7.9
5
  * Description: Weblizar pin it button on image hover plugin provides facility to pins your blog posts, pages and images into your Pinterest account boards.
6
  * Author: Weblizar
7
  * Author URI: https://weblizar.com/plugins/
@@ -14,7 +14,6 @@
14
  *
15
  */
16
 
17
-
18
  /**
19
  * Constant Values & Variables
20
  */
@@ -72,31 +71,25 @@ function wl_pinit_js()
72
  //don't show on mobile
73
  if (wp_is_mobile() && $PinItStatus == 0) {
74
  // do nothing - hide pinit button?>
75
- <script type="text/javascript" async defer
76
- data-pin-color="<?php echo esc_attr($PinItColor); ?>"
77
- <?php if ($PinItSize == "large") { ?>data-pin-height="28"
78
- <?php } ?> data-pin-hover="false"
79
- src="<?php echo WEBLIZAR_PINIT_PLUGIN_URL."js/pinit.js"; ?>">
80
- </script>
81
- <?php
82
  }
83
- if (! empty($all_exclude_pages) && is_page($all_exclude_pages)) {
84
- ?>
85
- <script type="text/javascript" async defer
86
- data-pin-color="<?php echo esc_html($PinItColor); ?>"
87
- <?php if ($PinItSize == "large") { ?>data-pin-height="28"
88
- <?php } ?> data-pin-hover="false"
89
- src="<?php echo WEBLIZAR_PINIT_PLUGIN_URL."js/pinit.js"; ?>">
90
- </script>
91
- <?php
92
- } else {
93
- ?><script type="text/javascript" async defer
94
- data-pin-color="<?php echo esc_html($PinItColor); ?>"
95
- <?php if ($PinItSize == "large") { ?>data-pin-height="28"
96
- <?php } ?>
97
- data-pin-hover="<?php echo esc_html($PinItOnHover); ?>"
98
- src="<?php echo WEBLIZAR_PINIT_PLUGIN_URL."js/pinit.js"; ?>">
99
- </script><?php
100
  }
101
 
102
  // exclude images pin it hover
@@ -315,5 +308,6 @@ function weblizar_pinitbutt_add_settings_link($links)
315
  array_unshift($links, $settings_link_pinitbutt);
316
  return $links;
317
  }
 
318
  $plugin_pinitbutt = plugin_basename(__FILE__);
319
  add_filter("plugin_action_links_$plugin_pinitbutt", 'weblizar_pinitbutt_add_settings_link');
1
  <?php
2
  /**
3
  * Plugin Name: Weblizar Pin It Button On Image Hover And Post
4
+ * Version: 2.10.0
5
  * Description: Weblizar pin it button on image hover plugin provides facility to pins your blog posts, pages and images into your Pinterest account boards.
6
  * Author: Weblizar
7
  * Author URI: https://weblizar.com/plugins/
14
  *
15
  */
16
 
 
17
  /**
18
  * Constant Values & Variables
19
  */
71
  //don't show on mobile
72
  if (wp_is_mobile() && $PinItStatus == 0) {
73
  // do nothing - hide pinit button?>
74
+ <script type="text/javascript" async defer
75
+ data-pin-color="<?php echo esc_attr($PinItColor); ?>"
76
+ <?php if ($PinItSize == "large") { ?>data-pin-height="28"
77
+ <?php } ?> data-pin-hover="false"
78
+ src="<?php echo WEBLIZAR_PINIT_PLUGIN_URL."js/pinit.js"; ?>">
79
+ </script><?php
 
80
  }
81
+ if (! empty($all_exclude_pages) && is_page($all_exclude_pages)) { ?>
82
+ <script type="text/javascript" async defer
83
+ data-pin-color="<?php echo esc_html($PinItColor); ?>"
84
+ <?php if ($PinItSize == "large") { ?>data-pin-height="28"
85
+ <?php } ?> data-pin-hover="false"
86
+ src="<?php echo WEBLIZAR_PINIT_PLUGIN_URL."js/pinit.js"; ?>">
87
+ </script><?php
88
+ } else { ?>
89
+ <script type="text/javascript" async defer
90
+ data-pin-color="<?php echo esc_html($PinItColor); ?>"
91
+ <?php if ($PinItSize == "large") { ?>data-pin-height="28" <?php } ?>
92
+ data-pin-hover="<?php echo esc_html($PinItOnHover); ?>" src="<?php echo WEBLIZAR_PINIT_PLUGIN_URL."js/pinit.js"; ?>"></script><?php
 
 
 
 
 
93
  }
94
 
95
  // exclude images pin it hover
308
  array_unshift($links, $settings_link_pinitbutt);
309
  return $links;
310
  }
311
+
312
  $plugin_pinitbutt = plugin_basename(__FILE__);
313
  add_filter("plugin_action_links_$plugin_pinitbutt", 'weblizar_pinitbutt_add_settings_link');
readme.txt CHANGED
@@ -5,8 +5,8 @@ Contributors: weblizar
5
  Donate link: https://www.weblizar.com/
6
  Tags: pinterest, pin images, pin photo, pin it button, pin plugin
7
  Requires at least: 3.8
8
- Tested up to: 5.5
9
- Stable tag: 2.7.9
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
@@ -110,6 +110,10 @@ Please use WordPress [support forum](http://wordpress.org/support/plugin/pintere
110
 
111
  For more information, see [Weblizar](https://wwww.weblizar.com/).
112
 
 
 
 
 
113
  = Version 2.7.9 =[18-11-2020]
114
  - Minor Fix.
115
 
@@ -179,14 +183,21 @@ For more information, see [Weblizar](https://wwww.weblizar.com/).
179
  - Invalid Argument supplied in foreach loop bug-fixed
180
  - Add new product in product page
181
  - minor changes applied
 
182
  = Version 2.6.1 - minor php error fix
 
183
  = Version 2.6 - Update Font-Awesome library + Add Our Product and Recommendation Page + Update Review Link + WordPress 4.9.6 Compatible
 
184
  = Version 2.5 - update + WordPress 4.8.1 Compatible
 
185
  = Version 2.4.0 - update
 
186
  = Version 2.3.9 10/10/2016 =
187
  * plugin version update
 
188
  = Version 2.3.8 16/09/2016 =
189
  * small update
 
190
  = Version 2.3.7 16/05/2016 =
191
  * small update
192
 
@@ -268,4 +279,4 @@ For more information, see [Weblizar](https://wwww.weblizar.com/).
268
  * New: Show Pinterest Pin It Button In Post
269
  * New: Show Pinterest Pin It Button In Page
270
  * New: Pinterest Pin It Button Settings
271
- * New: Customizable Button Size
5
  Donate link: https://www.weblizar.com/
6
  Tags: pinterest, pin images, pin photo, pin it button, pin plugin
7
  Requires at least: 3.8
8
+ Tested up to: 5.6
9
+ Stable tag: 2.8.0
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
110
 
111
  For more information, see [Weblizar](https://wwww.weblizar.com/).
112
 
113
+ = Version 2.8.0 =[10-12-2020]
114
+ - Tested Upto WordPress 5.6
115
+ - Improved Code Readability.
116
+
117
  = Version 2.7.9 =[18-11-2020]
118
  - Minor Fix.
119
 
183
  - Invalid Argument supplied in foreach loop bug-fixed
184
  - Add new product in product page
185
  - minor changes applied
186
+
187
  = Version 2.6.1 - minor php error fix
188
+
189
  = Version 2.6 - Update Font-Awesome library + Add Our Product and Recommendation Page + Update Review Link + WordPress 4.9.6 Compatible
190
+
191
  = Version 2.5 - update + WordPress 4.8.1 Compatible
192
+
193
  = Version 2.4.0 - update
194
+
195
  = Version 2.3.9 10/10/2016 =
196
  * plugin version update
197
+
198
  = Version 2.3.8 16/09/2016 =
199
  * small update
200
+
201
  = Version 2.3.7 16/05/2016 =
202
  * small update
203
 
279
  * New: Show Pinterest Pin It Button In Post
280
  * New: Show Pinterest Pin It Button In Page
281
  * New: Pinterest Pin It Button Settings
282
+ * New: Customizable Button Size