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

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 3.3
Comparing to
See all releases

Code changes from version 3.2 to 3.3

img/pint.jpg DELETED
Binary file
js/weblizar-smartech.js DELETED
@@ -1,104 +0,0 @@
1
- jQuery(function () {
2
- jQuery(".sidebar-toggle").on("click", function () {
3
- jQuery("body").toggleClass("sidebar-collapse");
4
- setTimeout(function () {
5
- jQuery(window).resize();
6
- }, 850);
7
- });
8
-
9
- jQuery(".panel").on("click", ".panel-collapse", function () {
10
- var jQuerypanel = jQuery(this).closest(".panel");
11
- jQuery(".panel-heading .panel-collapse i", jQuerypanel)
12
- .toggleClass("fa-caret-down")
13
- .toggleClass("fa-caret-up");
14
- jQuery(".panel-body", jQuerypanel).toggleClass("hidden");
15
- });
16
-
17
- if (jQuery().sparkline)
18
- jQuery("#page-title-statistics").sparkline(
19
- [
20
- 10,
21
- 3,
22
- 4,
23
- -3,
24
- -2,
25
- 5,
26
- 8,
27
- 11,
28
- 6,
29
- 7,
30
- -7,
31
- -5,
32
- 8,
33
- 9,
34
- 5,
35
- 6,
36
- 7,
37
- 2,
38
- 0,
39
- -4,
40
- -2,
41
- 4,
42
- ],
43
- {
44
- type: "bar",
45
- barColor: "#00a652",
46
- negBarColor: "#00a652",
47
- }
48
- );
49
-
50
- jQuery("#toggle-right-sidebar").on("click", function () {
51
- jQuery(".sidebar-right").toggleClass("open");
52
-
53
- var width = jQuery(window).width();
54
- if (width < 768) {
55
- jQuery(".sidebar-right").attr("style", "");
56
- } else {
57
- jQuery(".sidebar-right").height(jQuery("body").height() - 50);
58
- }
59
-
60
- jQuery(".sidebar-right").css("display", "block");
61
-
62
- setTimeout(function () {
63
- jQuery(window).resize();
64
- if (!jQuery(".sidebar-right").hasClass("open"))
65
- jQuery(".sidebar-right").hide(0);
66
- }, 500);
67
- });
68
- });
69
-
70
- jQuery(window).resize(function () {
71
- var width = jQuery(window).width();
72
- if (width < 768) {
73
- jQuery(".sidebar-right.open").attr("style", "");
74
- } else {
75
- jQuery(".sidebar-right.open").height(jQuery("body").height() - 50);
76
- }
77
- });
78
-
79
- //Loads the correct sidebar on window load,
80
- //collapses the sidebar on window resize.
81
- // Sets the min-height of #page-wrapper to window size
82
- jQuery(function () {
83
- jQuery(window).bind("load resize", function () {
84
- topOffset = 99;
85
- width =
86
- this.window.innerWidth > 0 ? this.window.innerWidth : this.screen.width;
87
- if (width < 768) {
88
- jQuery("div.navbar-collapse").addClass("collapse");
89
- topOffset = 100; // 2-row-menu
90
- } else {
91
- jQuery("div.navbar-collapse").removeClass("collapse");
92
- }
93
-
94
- height =
95
- this.window.innerHeight > 0
96
- ? this.window.innerHeight
97
- : this.screen.height;
98
- height = height - topOffset;
99
- if (height < 1) height = 1;
100
- if (height > topOffset) {
101
- jQuery(".page-wrapper").css("min-height", height + "px");
102
- }
103
- });
104
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
our_product.php CHANGED
@@ -1,134 +1,135 @@
1
  <div class="container col-container p-3">
2
  <div class="row text-center">
3
  <div class="col-sm-12 col-md-12">
4
- <img width="200" src="https://weblizar.com/wp-content/uploads/2016/04/logo.png" />
5
- <h2> <?php echo esc_html( 'Plugins', WEBLIZAR_PINIT_TD ); ?></h2>
6
  <hr>
7
  </div>
8
  </div>
9
  <div class="row p-3">
10
  <div class="col-sm-12 col-md-12 text-center">
11
- <a class="" href="" target="_new"><h3> <?php echo esc_html( 'Pro Plugins', WEBLIZAR_PINIT_TD ); ?></h3></a>
 
 
12
  </div>
13
  </div>
14
  <div class="row text-center">
15
  <div class="col products col-sm-6 col-md-4 p-3">
16
  <h4><?php echo esc_html( 'Testimonials Pro', WEBLIZAR_PINIT_TD ); ?></h4>
17
- <a class="btn btn-secondary btn-sm" href="https://wordpress.org/plugins/testimonial-by-weblizar/" target="_new" title="<?php echo esc_html( 'Download', WEBLIZAR_PINIT_TD ); ?> Plugin"><?php echo esc_html( 'Download', WEBLIZAR_PINIT_TD ); ?></a>
18
- <a class="btn btn-secondary btn-sm" href="https://weblizar.com/plugins/testimonial-pro/" target="_new" title="Plugin Details"><?php echo esc_html('Info.', WEBLIZAR_PINIT_TD); ?></a>
19
- <a class="btn btn-secondary btn-sm" href="http://demo.weblizar.com/testimonial-pro/" target="_new" title="Plugin Demo"><?php echo esc_html('View', WEBLIZAR_PINIT_TD); ?></a>
20
  </div>
21
-
22
  <div class="col products col-sm-6 col-md-4 p-3">
23
  <h4><?php echo esc_html( 'Multi Institute Management', WEBLIZAR_PINIT_TD ); ?></h4>
24
-
25
- <a class="btn btn-secondary btn-sm" href="https://wordpress.org/plugins/institute-management/" target="_new" title="<?php echo esc_html( 'Download', WEBLIZAR_PINIT_TD ); ?> Plugin"><?php echo esc_html( 'Download', WEBLIZAR_PINIT_TD ); ?></a>
26
- <a class="btn btn-secondary btn-sm" href="https://weblizar.com/plugins/multi-institute-management/" target="_new" title="Plugin Details"><?php echo esc_html('Info.', WEBLIZAR_PINIT_TD); ?></a>
27
- <a class="btn btn-secondary btn-sm" href="http://demo.weblizar.com/multi-institute-management/" target="_new" title="Plugin Demo"><?php echo esc_html('View', WEBLIZAR_PINIT_TD); ?></a>
28
  </div>
29
 
30
  <div class="col products col-sm-6 col-md-4 p-3">
31
  <h4><?php echo esc_html( 'Facebook Feed', WEBLIZAR_PINIT_TD ); ?></h4>
32
-
33
- <a class="btn btn-secondary btn-sm" href="https://wordpress.org/plugins/facebook-by-weblizar/" target="_new" title="<?php echo esc_html( 'Download', WEBLIZAR_PINIT_TD ); ?> Plugin"><?php echo esc_html( 'Download', WEBLIZAR_PINIT_TD ); ?></a>
34
- <a class="btn btn-secondary btn-sm" href="https://weblizar.com/plugins/facebook-feed-pro/" target="_new" title="Plugin Details"><?php echo esc_html('Info.', WEBLIZAR_PINIT_TD); ?></a>
35
- <a class="btn btn-secondary btn-sm" href="http://demo.weblizar.com/facebook-feed-pro/" target="_new" title="Plugin Demo"><?php echo esc_html('View', WEBLIZAR_PINIT_TD); ?></a>
36
  </div>
37
  <div class="col products col-sm-6 col-md-4 p-3">
38
  <h4> </h4>
39
-
40
- <a class="btn btn-secondary btn-sm" href="https://wordpress.org/plugins/weblizar-pinterest-feeds/" target="_new" title="<?php echo esc_html( 'Download', WEBLIZAR_PINIT_TD ); ?> Plugin"><?php echo esc_html( 'Download', WEBLIZAR_PINIT_TD ); ?></a>
41
- <a class="btn btn-secondary btn-sm" href="https://weblizar.com/plugins/pinterest-feed-pro/" target="_new" title="Plugin Details"><?php echo esc_html('Info.', WEBLIZAR_PINIT_TD); ?></a>
42
- <a class="btn btn-secondary btn-sm" href="http://demo.weblizar.com/pinterest-feed-pro/" target="_new" title="Plugin Demo"><?php echo esc_html('View', WEBLIZAR_PINIT_TD); ?></a>
43
  </div>
44
 
45
  <div class="col products col-sm-6 col-md-4 p-3">
46
  <h4><?php echo esc_html( 'SEO Image Optimizer', WEBLIZAR_PINIT_TD ); ?></h4>
47
- <a class="btn btn-secondary btn-sm" href="https://wordpress.org/plugins/seo-image-optimizer/" target="_new" title="<?php echo esc_html( 'Download', WEBLIZAR_PINIT_TD ); ?> Plugin"><?php echo esc_html( 'Download', WEBLIZAR_PINIT_TD ); ?></a>
48
- <a class="btn btn-secondary btn-sm" href="https://weblizar.com/plugins/seo-image-optimizer-pro/" target="_new" title="Plugin Details"><?php echo esc_html('Info.', WEBLIZAR_PINIT_TD); ?></a>
49
- <a class="btn btn-secondary btn-sm" href="http://demo.weblizar.com/seo-image-optimizer-pro/" target="_new" title="Plugin Demo"><?php echo esc_html('View', WEBLIZAR_PINIT_TD); ?></a>
50
- </div>
51
  <div class="col products col-sm-6 col-md-4 p-3">
52
  <h4><?php echo esc_html( 'Coming Soon Page ', WEBLIZAR_PINIT_TD ); ?></h4>
53
- <a class="btn btn-secondary btn-sm" href="https://wordpress.org/plugins/responsive-coming-soon-page/" target="_new" title="<?php echo esc_html( 'Download', WEBLIZAR_PINIT_TD ); ?> Plugin"><?php echo esc_html( 'Download', WEBLIZAR_PINIT_TD ); ?></a>
54
- <a class="btn btn-secondary btn-sm" href="https://weblizar.com/plugins/coming-soon-page-maintenance-mode-pro/" target="_new" title="Plugin Details"><?php echo esc_html('Info.', WEBLIZAR_PINIT_TD); ?></a>
55
- <a class="btn btn-secondary btn-sm" href="http://demo.weblizar.com/coming-soon-page-pro/" target="_new" title="Plugin Demo"><?php echo esc_html('View', WEBLIZAR_PINIT_TD); ?></a>
56
  </div>
57
  <div class="col products col-sm-6 col-md-4 p-3">
58
  <h4><?php echo esc_html( 'Recent Related Post', WEBLIZAR_PINIT_TD ); ?></h4>
59
- <a class="btn btn-secondary btn-sm" href="https://wordpress.org/plugins/recent-related-post-and-page/" target="_new" title="<?php echo esc_html( 'Download', WEBLIZAR_PINIT_TD ); ?> Plugin"><?php echo esc_html( 'Download', WEBLIZAR_PINIT_TD ); ?></a>
60
- <a class="btn btn-secondary btn-sm" href="https://weblizar.com/plugins/recent-related-post-and-page-pro/" target="_new" title="Plugin Details"><?php echo esc_html('Info.', WEBLIZAR_PINIT_TD); ?></a>
61
- <a class="btn btn-secondary btn-sm" href="http://demo.weblizar.com/recent-related-post-and-page-pro/" target="_new" title="Plugin Demo"><?php echo esc_html('View', WEBLIZAR_PINIT_TD); ?></a>
62
  </div>
63
  <div class="col products col-sm-6 col-md-4 p-3">
64
  <h4><?php echo esc_html( 'Pinterest Feed', WEBLIZAR_PINIT_TD ); ?></h4>
65
- <a class="btn btn-secondary btn-sm" href="https://wordpress.org/plugins/about-author/" target="_new" title="<?php echo esc_html( 'Download', WEBLIZAR_PINIT_TD ); ?> Plugin"><?php echo esc_html( 'Download', WEBLIZAR_PINIT_TD ); ?></a>
66
- <a class="btn btn-secondary btn-sm" href="https://weblizar.com/plugins/about-author-pro/" target="_new" title="Plugin Details"><?php echo esc_html('Info.', WEBLIZAR_PINIT_TD); ?></a>
67
- <a class="btn btn-secondary btn-sm" href="http://demo.weblizar.com/about-author-pro/" target="_new" title="Plugin Demo"><?php echo esc_html('View', WEBLIZAR_PINIT_TD); ?></a>
68
  </div>
69
 
70
  <div class="col products col-sm-6 col-md-4 p-3">
71
  <h4><?php echo esc_html( 'Ultimate Responsive Image Slider ', WEBLIZAR_PINIT_TD ); ?></h4>
72
- <a class="btn btn-secondary btn-sm" href="https://wordpress.org/plugins/unlimited-responsive-image-slider/" target="_new" title="<?php echo esc_html( 'Download', WEBLIZAR_PINIT_TD ); ?> Plugin"><?php echo esc_html( 'Download', WEBLIZAR_PINIT_TD ); ?></a>
73
- <a class="btn btn-secondary btn-sm" href="https://weblizar.com/plugins/ultimate-responsive-image-slider-pro/" target="_new" title="Plugin Details"><?php echo esc_html('Info.', WEBLIZAR_PINIT_TD); ?></a>
74
- <a class="btn btn-secondary btn-sm" href="http://demo.weblizar.com/ultimate-responsive-image-slider-pro/" target="_new" title="Plugin Demo"><?php echo esc_html('View', WEBLIZAR_PINIT_TD); ?></a>
75
  </div>
76
 
77
  <div class="col products col-sm-6 col-md-4 p-3">
78
  <h4><?php echo esc_html( 'Photo Gallery For Flickr', WEBLIZAR_PINIT_TD ); ?></h4>
79
- <a class="btn btn-secondary btn-sm" href="https://wordpress.org/plugins/photo-gallery-for-flickr/" target="_new" title="<?php echo esc_html( 'Download', WEBLIZAR_PINIT_TD ); ?> Plugin"><?php echo esc_html( 'Download', WEBLIZAR_PINIT_TD ); ?></a>
80
- <a class="btn btn-secondary btn-sm" href="https://weblizar.com/plugins/flickr-album-gallery-pro/" target="_new" title="Plugin Details"><?php echo esc_html('Info.', WEBLIZAR_PINIT_TD); ?></a>
81
- <a class="btn btn-secondary btn-sm" href="http://demo.weblizar.com/flickr-album-gallery-pro/" target="_new" title="Plugin Demo"><?php echo esc_html('View', WEBLIZAR_PINIT_TD); ?></a>
82
  </div>
83
  <div class="col products col-sm-6 col-md-4 p-3">
84
  <h4><?php echo esc_html( 'Responsive Portfolio', WEBLIZAR_PINIT_TD ); ?></h4>
85
- <a class="btn btn-secondary btn-sm" href="https://wordpress.org/plugins/responsive-portfolio/" target="_new" title="<?php echo esc_html( 'Download', WEBLIZAR_PINIT_TD ); ?> Plugin"><?php echo esc_html( 'Download', WEBLIZAR_PINIT_TD ); ?></a>
86
- <a class="btn btn-secondary btn-sm" href="https://weblizar.com/plugins/responsive-portfolio-pro/" target="_new" title="Plugin Details"><?php echo esc_html('Info.', WEBLIZAR_PINIT_TD); ?></a>
87
- <a class="btn btn-secondary btn-sm" href="http://demo.weblizar.com/responsive-portfolio-pro/" target="_new" title="Plugin Demo"><?php echo esc_html('View', WEBLIZAR_PINIT_TD); ?></a>
88
  </div>
89
  <div class="col products col-sm-6 col-md-4 p-3">
90
  <h4><?php echo esc_html( 'Lightbox Slider', WEBLIZAR_PINIT_TD ); ?></h4>
91
- <a class="btn btn-secondary btn-sm" href="https://wordpress.org/plugins/lightbox-slider/" target="_new" title="<?php echo esc_html( 'Download', WEBLIZAR_PINIT_TD ); ?> Plugin"><?php echo esc_html( 'Download', WEBLIZAR_PINIT_TD ); ?></a>
92
- <a class="btn btn-secondary btn-sm" href="https://weblizar.com/plugins/lightbox-slider-pro/" target="_new" title="Plugin Details"><?php echo esc_html('Info.', WEBLIZAR_PINIT_TD); ?></a>
93
- <a class="btn btn-secondary btn-sm" href="http://demo.weblizar.com/lightbox-slider-pro-demo/" target="_new" title="Plugin Demo"><?php echo esc_html('View', WEBLIZAR_PINIT_TD); ?></a>
94
  </div>
95
  <div class="col products col-sm-6 col-md-4 p-3">
96
  <h4> <?php echo esc_html( 'Responsive Photo Gallery', WEBLIZAR_PINIT_TD ); ?></h4>
97
- <a class="btn btn-secondary btn-sm" href="https://wordpress.org/plugins/responsive-gallery-with-lightbox/" target="_new" title="<?php echo esc_html( 'Download', WEBLIZAR_PINIT_TD ); ?> Plugin"><?php echo esc_html( 'Download', WEBLIZAR_PINIT_TD ); ?></a>
98
- <a class="btn btn-secondary btn-sm" href="https://weblizar.com/plugins/responsive-photo-gallery-pro/" target="_new" title="Plugin Details"><?php echo esc_html('Info.', WEBLIZAR_PINIT_TD); ?></a>
99
- <a class="btn btn-secondary btn-sm" href="http://demo.weblizar.com/responsive-photo-gallery-pro/" target="_new" title="Plugin Demo"><?php echo esc_html('View', WEBLIZAR_PINIT_TD); ?></a>
100
- </div>
101
  <div class="col products col-sm-6 col-md-4 p-3">
102
  <h4> <?php echo esc_html( 'Clock in Portal', WEBLIZAR_PINIT_TD ); ?></h4>
103
- <a class="btn btn-secondary btn-sm" href="https://wordpress.org/plugins/clock-in-portal/" target="_new" title="<?php echo esc_html( 'Download', WEBLIZAR_PINIT_TD ); ?> Plugin"><?php echo esc_html( 'Download', WEBLIZAR_PINIT_TD ); ?></a>
104
- <a class="btn btn-secondary btn-sm" href="https://weblizar.com/plugins/clockin-pro-plugin/" target="_new" title="Plugin Details"><?php echo esc_html('Info.', WEBLIZAR_PINIT_TD); ?></a>
105
- <a class="btn btn-secondary btn-sm" href="http://demo.weblizar.com/clockin-pro-admin/" target="_new" title="Admin Demo"><?php echo esc_html('View', WEBLIZAR_PINIT_TD); ?></a>
106
  </div>
107
  <div class="col products col-sm-6 col-md-4 p-3">
108
  <h4><?php echo esc_html( 'Admin Custom Login Pro', WEBLIZAR_PINIT_TD ); ?></h4>
109
- <a class="btn btn-secondary btn-sm" href="https://wordpress.org/plugins/admin-custom-login/" target="_new" title="<?php echo esc_html( 'Download', WEBLIZAR_PINIT_TD ); ?> Plugin"><?php echo esc_html( 'Download', WEBLIZAR_PINIT_TD ); ?></a>
110
- <a class="btn btn-secondary btn-sm" href="https://weblizar.com/plugins/admin-custom-login-pro/" target="_new" title="Plugin Details"><?php echo esc_html('Info.', WEBLIZAR_PINIT_TD); ?></a>
111
- <a class="btn btn-secondary btn-sm" href="http://demo.weblizar.com/admin-custom-login-pro-admin-demo/" target="_new" title="Admin Demo"><?php echo esc_html('View', WEBLIZAR_PINIT_TD); ?></a>
112
  </div>
113
  <div class="col products col-sm-6 col-md-4 p-3">
114
  <h4><?php echo esc_html( 'Institute Management Pro', WEBLIZAR_PINIT_TD ); ?></h4>
115
- <a class="btn btn-secondary btn-sm" href="https://wordpress.org/plugins/institute-management/" target="_new" title="<?php echo esc_html( 'Download', WEBLIZAR_PINIT_TD ); ?> Plugin"><?php echo esc_html( 'Download', WEBLIZAR_PINIT_TD ); ?></a>
116
- <a class="btn btn-secondary btn-sm" href="https://weblizar.com/plugins/institute-management-pro/" target="_new" title="Plugin Details"><?php echo esc_html('Info.', WEBLIZAR_PINIT_TD); ?></a>
117
- <a class="btn btn-secondary btn-sm" href="http://demo.weblizar.com/institute-management-pro/" target="_new" title="Admin Demo"><?php echo esc_html('View', WEBLIZAR_PINIT_TD); ?></a>
118
  </div>
119
 
120
  <div class="col products col-sm-6 col-md-4 p-3">
121
  <h4> <?php echo esc_html( 'Newsletter Subscription Form', WEBLIZAR_PINIT_TD ); ?></h4>
122
- <a class="btn btn-secondary btn-sm" href="https://wordpress.org/plugins/newsletter-subscription-form/" target="_new" title="<?php echo esc_html( 'Download', WEBLIZAR_PINIT_TD ); ?> Plugin"><?php echo esc_html( 'Download', WEBLIZAR_PINIT_TD ); ?></a>
123
- <a class="btn btn-secondary btn-sm" href="https://weblizar.com/plugins/newsletter-subscription-form-pro/" target="_new" title="Plugin Details"><?php echo esc_html('Info.', WEBLIZAR_PINIT_TD); ?></a>
124
- <a class="btn btn-secondary btn-sm" href="http://demo.weblizar.com/newsletter-subscription-form-pro/" target="_new" title="Plugin Demo"><?php echo esc_html('View', WEBLIZAR_PINIT_TD); ?></a>
125
  </div>
126
  </div>
127
-
128
  <!-- footer -->
129
  <div class="row m-3">
130
  <div class="col-sm-12 col-md-12 text-center">
131
- <a href="https://weblizar.com" target="_new" class="btn btn-primary btn-lg dmobtn"><?php echo esc_html( 'WEBLIZAR' ); ?></a>
132
  </div>
133
  </div>
134
  </div>
1
  <div class="container col-container p-3">
2
  <div class="row text-center">
3
  <div class="col-sm-12 col-md-12">
4
+ <h2> <?php echo esc_html( 'Plugins', WEBLIZAR_PINIT_TD ); ?></h2>
 
5
  <hr>
6
  </div>
7
  </div>
8
  <div class="row p-3">
9
  <div class="col-sm-12 col-md-12 text-center">
10
+ <a class="" href="" target="_new">
11
+ <h3> <?php echo esc_html( 'Pro Plugins', WEBLIZAR_PINIT_TD ); ?></h3>
12
+ </a>
13
  </div>
14
  </div>
15
  <div class="row text-center">
16
  <div class="col products col-sm-6 col-md-4 p-3">
17
  <h4><?php echo esc_html( 'Testimonials Pro', WEBLIZAR_PINIT_TD ); ?></h4>
18
+ <a class="btn btn-secondary btn-sm" href="<?php echo esc_url( 'https://wordpress.org/plugins/testimonial-by-weblizar/' ); ?>" target="_new" title="<?php echo esc_html( 'Download', WEBLIZAR_PINIT_TD ); ?> Plugin"><?php echo esc_html( 'Download', WEBLIZAR_PINIT_TD ); ?></a>
19
+ <a class="btn btn-secondary btn-sm" href="<?php echo esc_url('https://weblizar.com/plugins/testimonial-pro/'); ?>" target="_new" title="Plugin Details"><?php echo esc_html( 'Info.', WEBLIZAR_PINIT_TD ); ?></a>
20
+ <a class="btn btn-secondary btn-sm" href="<?php echo esc_url('http://demo.weblizar.com/testimonial-pro/'); ?>" target="_new" title="Plugin Demo"><?php echo esc_html( 'View', WEBLIZAR_PINIT_TD ); ?></a>
21
  </div>
22
+
23
  <div class="col products col-sm-6 col-md-4 p-3">
24
  <h4><?php echo esc_html( 'Multi Institute Management', WEBLIZAR_PINIT_TD ); ?></h4>
25
+
26
+ <a class="btn btn-secondary btn-sm" href="<?php echo esc_url( 'https://wordpress.org/plugins/institute-management/' ); ?>" target="_new" title="<?php echo esc_html( 'Download', WEBLIZAR_PINIT_TD ); ?> Plugin"><?php echo esc_html( 'Download', WEBLIZAR_PINIT_TD ); ?></a>
27
+ <a class="btn btn-secondary btn-sm" href="<?php echo esc_url('https://weblizar.com/plugins/multi-institute-management/'); ?>" target="_new" title="Plugin Details"><?php echo esc_html( 'Info.', WEBLIZAR_PINIT_TD ); ?></a>
28
+ <a class="btn btn-secondary btn-sm" href="<?php echo esc_url('http://demo.weblizar.com/multi-institute-management/'); ?>" target="_new" title="Plugin Demo"><?php echo esc_html( 'View', WEBLIZAR_PINIT_TD ); ?></a>
29
  </div>
30
 
31
  <div class="col products col-sm-6 col-md-4 p-3">
32
  <h4><?php echo esc_html( 'Facebook Feed', WEBLIZAR_PINIT_TD ); ?></h4>
33
+
34
+ <a class="btn btn-secondary btn-sm" href="<?php echo esc_url('https://wordpress.org/plugins/facebook-by-weblizar/'); ?>" target="_new" title="<?php echo esc_html( 'Download', WEBLIZAR_PINIT_TD ); ?> Plugin"><?php echo esc_html( 'Download', WEBLIZAR_PINIT_TD ); ?></a>
35
+ <a class="btn btn-secondary btn-sm" href="<?php echo esc_url('https://weblizar.com/plugins/facebook-feed-pro/'); ?>" target="_new" title="Plugin Details"><?php echo esc_html( 'Info.', WEBLIZAR_PINIT_TD ); ?></a>
36
+ <a class="btn btn-secondary btn-sm" href="<?echo esc_url('http://demo.weblizar.com/facebook-feed-pro/'); ?>" target="_new" title="Plugin Demo"><?php echo esc_html( 'View', WEBLIZAR_PINIT_TD ); ?></a>
37
  </div>
38
  <div class="col products col-sm-6 col-md-4 p-3">
39
  <h4> </h4>
40
+
41
+ <a class="btn btn-secondary btn-sm" href="<?php echo esc_url('https://wordpress.org/plugins/weblizar-pinterest-feeds/'); ?>" target="_new" title="<?php echo esc_html( 'Download', WEBLIZAR_PINIT_TD ); ?> Plugin"><?php echo esc_html( 'Download', WEBLIZAR_PINIT_TD ); ?></a>
42
+ <a class="btn btn-secondary btn-sm" href="<?php echo esc_url('https://weblizar.com/plugins/pinterest-feed-pro/'); ?>" target="_new" title="Plugin Details"><?php echo esc_html( 'Info.', WEBLIZAR_PINIT_TD ); ?></a>
43
+ <a class="btn btn-secondary btn-sm" href="<?php echo esc_url('http://demo.weblizar.com/pinterest-feed-pro/'); ?>" target="_new" title="Plugin Demo"><?php echo esc_html( 'View', WEBLIZAR_PINIT_TD ); ?></a>
44
  </div>
45
 
46
  <div class="col products col-sm-6 col-md-4 p-3">
47
  <h4><?php echo esc_html( 'SEO Image Optimizer', WEBLIZAR_PINIT_TD ); ?></h4>
48
+ <a class="btn btn-secondary btn-sm" href="<?php echo esc_url('https://wordpress.org/plugins/seo-image-optimizer/'); ?>" target="_new" title="<?php echo esc_html( 'Download', WEBLIZAR_PINIT_TD ); ?> Plugin"><?php echo esc_html( 'Download', WEBLIZAR_PINIT_TD ); ?></a>
49
+ <a class="btn btn-secondary btn-sm" href="<?php echo esc_url('https://weblizar.com/plugins/seo-image-optimizer-pro/'); ?>" target="_new" title="Plugin Details"><?php echo esc_html( 'Info.', WEBLIZAR_PINIT_TD ); ?></a>
50
+ <a class="btn btn-secondary btn-sm" href="<? echo esc_url('http://demo.weblizar.com/seo-image-optimizer-pro/'); ?>" target="_new" title="Plugin Demo"><?php echo esc_html( 'View', WEBLIZAR_PINIT_TD ); ?></a>
51
+ </div>
52
  <div class="col products col-sm-6 col-md-4 p-3">
53
  <h4><?php echo esc_html( 'Coming Soon Page ', WEBLIZAR_PINIT_TD ); ?></h4>
54
+ <a class="btn btn-secondary btn-sm" href="<?php echo esc_url('https://wordpress.org/plugins/responsive-coming-soon-page/'); ?>" target="_new" title="<?php echo esc_html( 'Download', WEBLIZAR_PINIT_TD ); ?> Plugin"><?php echo esc_html( 'Download', WEBLIZAR_PINIT_TD ); ?></a>
55
+ <a class="btn btn-secondary btn-sm" href="<?php echo esc_url('https://weblizar.com/plugins/coming-soon-page-maintenance-mode-pro/'); ?>" target="_new" title="Plugin Details"><?php echo esc_html( 'Info.', WEBLIZAR_PINIT_TD ); ?></a>
56
+ <a class="btn btn-secondary btn-sm" href="<?php echo esc_url('http://demo.weblizar.com/coming-soon-page-pro/'); ?>" target="_new" title="Plugin Demo"><?php echo esc_html( 'View', WEBLIZAR_PINIT_TD ); ?></a>
57
  </div>
58
  <div class="col products col-sm-6 col-md-4 p-3">
59
  <h4><?php echo esc_html( 'Recent Related Post', WEBLIZAR_PINIT_TD ); ?></h4>
60
+ <a class="btn btn-secondary btn-sm" href="<?php echo esc_url('https://wordpress.org/plugins/recent-related-post-and-page/'); ?>" target="_new" title="<?php echo esc_html( 'Download', WEBLIZAR_PINIT_TD ); ?> Plugin"><?php echo esc_html( 'Download', WEBLIZAR_PINIT_TD ); ?></a>
61
+ <a class="btn btn-secondary btn-sm" href="<?php echo esc_url('https://weblizar.com/plugins/recent-related-post-and-page-pro/'); ?>" target="_new" title="Plugin Details"><?php echo esc_html( 'Info.', WEBLIZAR_PINIT_TD ); ?></a>
62
+ <a class="btn btn-secondary btn-sm" href="<?php echo esc_url('http://demo.weblizar.com/recent-related-post-and-page-pro/'); ?>" target="_new" title="Plugin Demo"><?php echo esc_html( 'View', WEBLIZAR_PINIT_TD ); ?></a>
63
  </div>
64
  <div class="col products col-sm-6 col-md-4 p-3">
65
  <h4><?php echo esc_html( 'Pinterest Feed', WEBLIZAR_PINIT_TD ); ?></h4>
66
+ <a class="btn btn-secondary btn-sm" href="<?php echo esc_url('https://wordpress.org/plugins/about-author/'); ?>" target="_new" title="<?php echo esc_html( 'Download', WEBLIZAR_PINIT_TD ); ?> Plugin"><?php echo esc_html( 'Download', WEBLIZAR_PINIT_TD ); ?></a>
67
+ <a class="btn btn-secondary btn-sm" href="<?php echo esc_url('https://weblizar.com/plugins/about-author-pro/'); ?>" target="_new" title="Plugin Details"><?php echo esc_html( 'Info.', WEBLIZAR_PINIT_TD ); ?></a>
68
+ <a class="btn btn-secondary btn-sm" href="<?php echo esc_url('http://demo.weblizar.com/about-author-pro/'); ?>" target="_new" title="Plugin Demo"><?php echo esc_html( 'View', WEBLIZAR_PINIT_TD ); ?></a>
69
  </div>
70
 
71
  <div class="col products col-sm-6 col-md-4 p-3">
72
  <h4><?php echo esc_html( 'Ultimate Responsive Image Slider ', WEBLIZAR_PINIT_TD ); ?></h4>
73
+ <a class="btn btn-secondary btn-sm" href="<? echo esc_url('https://wordpress.org/plugins/unlimited-responsive-image-slider/'); ?>" target="_new" title="<?php echo esc_html( 'Download', WEBLIZAR_PINIT_TD ); ?> Plugin"><?php echo esc_html( 'Download', WEBLIZAR_PINIT_TD ); ?></a>
74
+ <a class="btn btn-secondary btn-sm" href="<? echo esc_url('https://weblizar.com/plugins/ultimate-responsive-image-slider-pro/'); ?>" target="_new" title="Plugin Details"><?php echo esc_html( 'Info.', WEBLIZAR_PINIT_TD ); ?></a>
75
+ <a class="btn btn-secondary btn-sm" href="<?php esc_url('http://demo.weblizar.com/ultimate-responsive-image-slider-pro/'); ?>" target="_new" title="Plugin Demo"><?php echo esc_html( 'View', WEBLIZAR_PINIT_TD ); ?></a>
76
  </div>
77
 
78
  <div class="col products col-sm-6 col-md-4 p-3">
79
  <h4><?php echo esc_html( 'Photo Gallery For Flickr', WEBLIZAR_PINIT_TD ); ?></h4>
80
+ <a class="btn btn-secondary btn-sm" href="<?php echo esc_url('https://wordpress.org/plugins/photo-gallery-for-flickr/'); ?>" target="_new" title="<?php echo esc_html( 'Download', WEBLIZAR_PINIT_TD ); ?> Plugin"><?php echo esc_html( 'Download', WEBLIZAR_PINIT_TD ); ?></a>
81
+ <a class="btn btn-secondary btn-sm" href="<? echo esc_url('https://weblizar.com/plugins/flickr-album-gallery-pro/'); ?>" target="_new" title="Plugin Details"><?php echo esc_html( 'Info.', WEBLIZAR_PINIT_TD ); ?></a>
82
+ <a class="btn btn-secondary btn-sm" href="<?php echo esc_url('http://demo.weblizar.com/flickr-album-gallery-pro/'); ?>" target="_new" title="Plugin Demo"><?php echo esc_html( 'View', WEBLIZAR_PINIT_TD ); ?></a>
83
  </div>
84
  <div class="col products col-sm-6 col-md-4 p-3">
85
  <h4><?php echo esc_html( 'Responsive Portfolio', WEBLIZAR_PINIT_TD ); ?></h4>
86
+ <a class="btn btn-secondary btn-sm" href="<?php echo esc_url('https://wordpress.org/plugins/responsive-portfolio/'); ?>" target="_new" title="<?php echo esc_html( 'Download', WEBLIZAR_PINIT_TD ); ?> Plugin"><?php echo esc_html( 'Download', WEBLIZAR_PINIT_TD ); ?></a>
87
+ <a class="btn btn-secondary btn-sm" href="<?php echo esc_url('https://weblizar.com/plugins/responsive-portfolio-pro/'); ?>" target="_new" title="Plugin Details"><?php echo esc_html( 'Info.', WEBLIZAR_PINIT_TD ); ?></a>
88
+ <a class="btn btn-secondary btn-sm" href="<?php echo esc_url('http://demo.weblizar.com/responsive-portfolio-pro/'); ?>" target="_new" title="Plugin Demo"><?php echo esc_html( 'View', WEBLIZAR_PINIT_TD ); ?></a>
89
  </div>
90
  <div class="col products col-sm-6 col-md-4 p-3">
91
  <h4><?php echo esc_html( 'Lightbox Slider', WEBLIZAR_PINIT_TD ); ?></h4>
92
+ <a class="btn btn-secondary btn-sm" href="<?php echo esc_url('https://wordpress.org/plugins/lightbox-slider/'); ?>" target="_new" title="<?php echo esc_html( 'Download', WEBLIZAR_PINIT_TD ); ?> Plugin"><?php echo esc_html( 'Download', WEBLIZAR_PINIT_TD ); ?></a>
93
+ <a class="btn btn-secondary btn-sm" href="<?php echo esc_url('https://weblizar.com/plugins/lightbox-slider-pro/'); ?>" target="_new" title="Plugin Details"><?php echo esc_html( 'Info.', WEBLIZAR_PINIT_TD ); ?></a>
94
+ <a class="btn btn-secondary btn-sm" href="<?php echo esc_url('http://demo.weblizar.com/lightbox-slider-pro-demo/'); ?>" target="_new" title="Plugin Demo"><?php echo esc_html( 'View', WEBLIZAR_PINIT_TD ); ?></a>
95
  </div>
96
  <div class="col products col-sm-6 col-md-4 p-3">
97
  <h4> <?php echo esc_html( 'Responsive Photo Gallery', WEBLIZAR_PINIT_TD ); ?></h4>
98
+ <a class="btn btn-secondary btn-sm" href="<? echo esc_url('https://wordpress.org/plugins/responsive-gallery-with-lightbox/'); ?>" target="_new" title="<?php echo esc_html( 'Download', WEBLIZAR_PINIT_TD ); ?> Plugin"><?php echo esc_html( 'Download', WEBLIZAR_PINIT_TD ); ?></a>
99
+ <a class="btn btn-secondary btn-sm" href="<?php echo esc_url('https://weblizar.com/plugins/responsive-photo-gallery-pro/'); ?>" target="_new" title="Plugin Details"><?php echo esc_html( 'Info.', WEBLIZAR_PINIT_TD ); ?></a>
100
+ <a class="btn btn-secondary btn-sm" href="<?php echo esc_url('http://demo.weblizar.com/responsive-photo-gallery-pro/'); ?>" target="_new" title="Plugin Demo"><?php echo esc_html( 'View', WEBLIZAR_PINIT_TD ); ?></a>
101
+ </div>
102
  <div class="col products col-sm-6 col-md-4 p-3">
103
  <h4> <?php echo esc_html( 'Clock in Portal', WEBLIZAR_PINIT_TD ); ?></h4>
104
+ <a class="btn btn-secondary btn-sm" href="<?php echo esc_url('https://wordpress.org/plugins/clock-in-portal/ '); ?> " target="_new" title="<?php echo esc_html( 'Download', WEBLIZAR_PINIT_TD ); ?> Plugin"><?php echo esc_html( 'Download', WEBLIZAR_PINIT_TD ); ?></a>
105
+ <a class="btn btn-secondary btn-sm" href="<?php echo esc_url('https://weblizar.com/plugins/clockin-pro-plugin/'); ?>" target="_new" title="Plugin Details"><?php echo esc_html( 'Info.', WEBLIZAR_PINIT_TD ); ?></a>
106
+ <a class="btn btn-secondary btn-sm" href="<?php echo esc_url('http://demo.weblizar.com/clockin-pro-admin/'); ?>" target="_new" title="Admin Demo"><?php echo esc_html( 'View', WEBLIZAR_PINIT_TD ); ?></a>
107
  </div>
108
  <div class="col products col-sm-6 col-md-4 p-3">
109
  <h4><?php echo esc_html( 'Admin Custom Login Pro', WEBLIZAR_PINIT_TD ); ?></h4>
110
+ <a class="btn btn-secondary btn-sm" href="<?php echo esc_url('https://wordpress.org/plugins/admin-custom-login/'); ?>" target="_new" title="<?php echo esc_html( 'Download', WEBLIZAR_PINIT_TD ); ?> Plugin"><?php echo esc_html( 'Download', WEBLIZAR_PINIT_TD ); ?></a>
111
+ <a class="btn btn-secondary btn-sm" href="<?php echo esc_url('https://weblizar.com/plugins/admin-custom-login-pro/'); ?>" target="_new" title="Plugin Details"><?php echo esc_html( 'Info.', WEBLIZAR_PINIT_TD ); ?></a>
112
+ <a class="btn btn-secondary btn-sm" href="<?php echo esc_url('http://demo.weblizar.com/admin-custom-login-pro-admin-demo/'); ?>" target="_new" title="Admin Demo"><?php echo esc_html( 'View', WEBLIZAR_PINIT_TD ); ?></a>
113
  </div>
114
  <div class="col products col-sm-6 col-md-4 p-3">
115
  <h4><?php echo esc_html( 'Institute Management Pro', WEBLIZAR_PINIT_TD ); ?></h4>
116
+ <a class="btn btn-secondary btn-sm" href="<?php echo esc_url('https://wordpress.org/plugins/institute-management/'); ?>" target="_new" title="<?php echo esc_html( 'Download', WEBLIZAR_PINIT_TD ); ?> Plugin"><?php echo esc_html( 'Download', WEBLIZAR_PINIT_TD ); ?></a>
117
+ <a class="btn btn-secondary btn-sm" href="<?php echo esc_url('https://weblizar.com/plugins/institute-management-pro/'); ?>" target="_new" title="Plugin Details"><?php echo esc_html( 'Info.', WEBLIZAR_PINIT_TD ); ?></a>
118
+ <a class="btn btn-secondary btn-sm" href="<?php echo esc_url('http://demo.weblizar.com/institute-management-pro/'); ?>" target="_new" title="Admin Demo"><?php echo esc_html( 'View', WEBLIZAR_PINIT_TD ); ?></a>
119
  </div>
120
 
121
  <div class="col products col-sm-6 col-md-4 p-3">
122
  <h4> <?php echo esc_html( 'Newsletter Subscription Form', WEBLIZAR_PINIT_TD ); ?></h4>
123
+ <a class="btn btn-secondary btn-sm" href=" <?php echo esc_url('https://wordpress.org/plugins/newsletter-subscription-form/'); ?>" target="_new" title="<?php echo esc_html( 'Download', WEBLIZAR_PINIT_TD ); ?> Plugin"><?php echo esc_html( 'Download', WEBLIZAR_PINIT_TD ); ?></a>
124
+ <a class="btn btn-secondary btn-sm" href="<?php echo esc_url('https://weblizar.com/plugins/newsletter-subscription-form-pro/'); ?>" target="_new" title="Plugin Details"><?php echo esc_html( 'Info.', WEBLIZAR_PINIT_TD ); ?></a>
125
+ <a class="btn btn-secondary btn-sm" href="<?php echo esc_url('http://demo.weblizar.com/newsletter-subscription-form-pro/'); ?>" target="_new" title="Plugin Demo"><?php echo esc_html( 'View', WEBLIZAR_PINIT_TD ); ?></a>
126
  </div>
127
  </div>
128
+
129
  <!-- footer -->
130
  <div class="row m-3">
131
  <div class="col-sm-12 col-md-12 text-center">
132
+ <a href="<?php echo esc_url('https://weblizar.com'); ?>" target="_new" class="btn btn-primary btn-lg dmobtn"><?php echo esc_html( 'WEBLIZAR' ); ?></a>
133
  </div>
134
  </div>
135
  </div>
pinterest-pin-It-button.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  /**
4
  * Plugin Name: Weblizar Pin It Button On Image Hover And Post
5
- * Version: 3.2
6
  * Description: Weblizar pin it button on image hover plugin provides facility to pins your blog posts, pages and images into your Pinterest account boards.
7
  * Author: Weblizar
8
  * Author URI: https://weblizar.com/plugins/
@@ -33,7 +33,7 @@ function PINITTranslation() {
33
  */
34
  register_activation_hook( __FILE__, 'PiniIt_DefaultSettings' );
35
  function PiniIt_DefaultSettings() {
36
- add_option( 'WL_Enable_Pinit_Post', 1 );
37
  add_option( 'WL_Enable_Pinit_Page', 1 );
38
  add_option( 'WL_Pinit_Btn_On_Hover', 'true' );
39
  add_option( 'WL_Mobile_Status', 1 );
@@ -68,20 +68,29 @@ function wl_pinit_js() {
68
  // do nothing - hide pinit button
69
  ?>
70
  <script type="text/javascript" async defer data-pin-color="<?php echo esc_attr( $PinItColor ); ?>"
71
- <?php if ( $PinItSize == 'large' ) { ?> data-pin-height="28" <?php } ?> data-pin-hover="false" src="<?php echo esc_url( WEBLIZAR_PINIT_PLUGIN_URL . 'js/pinit.js' ); ?>">
 
 
 
72
  </script>
73
  <?php
74
  }
75
  if ( ! empty( $all_exclude_pages ) && is_page( $all_exclude_pages ) ) {
76
  ?>
77
  <script type="text/javascript" async defer data-pin-color="<?php echo esc_html( $PinItColor ); ?>"
78
- <?php if ( $PinItSize == 'large' ) { ?> data-pin-height="28" <?php } ?> data-pin-hover="false" src="<?php echo esc_url( WEBLIZAR_PINIT_PLUGIN_URL . 'js/pinit.js' ); ?>">
 
 
 
79
  </script>
80
  <?php
81
  } else {
82
  ?>
83
  <script type="text/javascript" async defer data-pin-color="<?php echo esc_html( $PinItColor ); ?>"
84
- <?php if ( $PinItSize == 'large' ) { ?> data-pin-height="28" <?php } ?> data-pin-hover="<?php echo esc_html( $PinItOnHover ); ?>" src="<?php echo esc_url( WEBLIZAR_PINIT_PLUGIN_URL . 'js/pinit.js' ); ?>"></script>
 
 
 
85
  <?php
86
  }
87
 
@@ -159,18 +168,14 @@ function WL_PinItButtonPage() {
159
 
160
  // Load PinItAdminMenu Pages Assets JS/CSS/Images
161
  function PiniIt_Menu_Assets() {
162
- if ( is_admin() ) {
163
  wp_register_style( 'bootstrap', WEBLIZAR_PINIT_PLUGIN_URL . 'css/bootstrap.min.css' );
164
  wp_enqueue_style( 'bootstrap' );
165
  wp_register_style( 'weblizar-smartech-css', WEBLIZAR_PINIT_PLUGIN_URL . 'css/weblizar-smartech.css' );
166
  wp_enqueue_style( 'weblizar-smartech-css' );
167
- wp_register_style( 'weblizar-recom', WEBLIZAR_PINIT_PLUGIN_URL . 'css/recom.css' );
168
- wp_enqueue_style( 'weblizar-recom' );
169
  wp_enqueue_script( 'jquery' );
170
  wp_register_script( 'bootstrap', WEBLIZAR_PINIT_PLUGIN_URL . 'js/bootstrap.bundle.min.js' );
171
  wp_enqueue_script( 'bootstrap' );
172
- wp_register_script( 'weblizar-smartech-js', WEBLIZAR_PINIT_PLUGIN_URL . 'js/weblizar-smartech.js', array( 'jquery' ) );
173
- wp_enqueue_script( 'weblizar-smartech-js' );
174
  }
175
  }
176
 
@@ -181,8 +186,8 @@ function pinterest_pinit_button_settings_page() {
181
  // save pinit settings
182
  add_action( 'wp_ajax_save_pinit', 'PinItSaveSettings' );
183
  function PinItSaveSettings() {
184
- if ( isset( $_POST['PinItSettingNonce'] ) || wp_verify_nonce( $_POST['PinItSettingNonce'], 'pinitsetting_nonce_action' ) ) {
185
- if ( is_admin() ) {
186
  $PinItPost = isset( $_POST['PinItPost'] ) ? sanitize_text_field( $_POST['PinItPost'] ) : '';
187
  $PinItPage = isset( $_POST['PinItPage'] ) ? sanitize_text_field( $_POST['PinItPage'] ) : '';
188
  $PinItOnHover = isset( $_POST['PinItOnHover'] ) ? sanitize_text_field( $_POST['PinItOnHover'] ) : '';
@@ -225,10 +230,10 @@ function PinItSaveSettings() {
225
  /*Save Exclude Images*/
226
  add_action( 'wp_ajax_exclude_image', 'exclude_image_save' );
227
  function exclude_image_save() {
228
- if ( isset( $_POST['pinit_exclude_nonce_field'] ) || wp_verify_nonce( $_POST['pinit_exclude_nonce_field'], 'pinit_exclude_nonce_action' ) ) {
229
  $all_exclude_images = get_option( 'exclude_pin_it_images' );
230
  $img_url = isset( $_POST['img_url'] ) ? esc_url_raw( $_POST['img_url'] ) : '';
231
- if ( $img_url && is_admin() ) {
232
  $all_exclude_images[] = $img_url;
233
  update_option( 'exclude_pin_it_images', $all_exclude_images );
234
  }
@@ -243,10 +248,10 @@ function exclude_image_save() {
243
  add_action( 'wp_ajax_exclude_page', 'exclude_save_page' );
244
  function exclude_save_page() {
245
  // $all_exclude_pages = [];
246
- if ( isset( $_POST['pinit_exclude_page_nonce_field'] ) || wp_verify_nonce( $_POST['pinit_exclude_page_nonce_field'], 'pinit_exclude_page_nonce_action' ) ) {
247
  $all_exclude_pages = get_option( 'excluded_pint_it_pages' );
248
  $page_name = isset( $_POST['page_name'] ) ? sanitize_text_field( $_POST['page_name'] ) : '';
249
- if ( $page_name && is_admin() ) {
250
  $all_exclude_pages[] = $page_name;
251
  update_option( 'excluded_pint_it_pages', $all_exclude_pages );
252
  }
@@ -260,8 +265,8 @@ function exclude_save_page() {
260
  /*Delete Exclude Images*/
261
  add_action( 'wp_ajax_delete_exclude_images', 'exclude_image_delete' );
262
  function exclude_image_delete() {
263
- if ( isset( $_POST['pinit_exclude_nonce_field'] ) || wp_verify_nonce( $_POST['pinit_exclude_nonce_field'], 'pinit_exclude_nonce_action' ) ) {
264
- if ( is_admin() ) {
265
  $all_exclude_images = get_option( 'exclude_pin_it_images' );
266
  $img_ids = isset( $_POST['img_ids'] ) ? sanitize_text_field( $_POST['img_ids'] ) : '';
267
  foreach ( $img_ids as $id ) {
@@ -279,8 +284,8 @@ function exclude_image_delete() {
279
  /*Delete exclude pages*/
280
  add_action( 'wp_ajax_delete_exclude_pages', 'exclude_image_page' );
281
  function exclude_image_page() {
282
- if ( isset( $_POST['pinit_exclude_page_nonce_field'] ) || wp_verify_nonce( $_POST['pinit_exclude_page_nonce_field'], 'pinit_exclude_page_nonce_action' ) ) {
283
- if ( is_admin() ) {
284
  $all_exclude_pages = get_option( 'excluded_pint_it_pages' );
285
  $page_ids = isset( $_POST['page_ids'] ) ? sanitize_text_field( $_POST['page_ids'] ) : '';
286
  foreach ( $page_ids as $id ) {
2
 
3
  /**
4
  * Plugin Name: Weblizar Pin It Button On Image Hover And Post
5
+ * Version: 3.3
6
  * Description: Weblizar pin it button on image hover plugin provides facility to pins your blog posts, pages and images into your Pinterest account boards.
7
  * Author: Weblizar
8
  * Author URI: https://weblizar.com/plugins/
33
  */
34
  register_activation_hook( __FILE__, 'PiniIt_DefaultSettings' );
35
  function PiniIt_DefaultSettings() {
36
+ add_option( 'WL_Enable_Pinit_Post', 1 );
37
  add_option( 'WL_Enable_Pinit_Page', 1 );
38
  add_option( 'WL_Pinit_Btn_On_Hover', 'true' );
39
  add_option( 'WL_Mobile_Status', 1 );
68
  // do nothing - hide pinit button
69
  ?>
70
  <script type="text/javascript" async defer data-pin-color="<?php echo esc_attr( $PinItColor ); ?>"
71
+ <?php
72
+ if ( $PinItSize == 'large' ) {
73
+ ?>
74
+ data-pin-height="28" <?php } ?> data-pin-hover="false" src="<?php echo esc_url( WEBLIZAR_PINIT_PLUGIN_URL . 'js/pinit.js' ); ?>">
75
  </script>
76
  <?php
77
  }
78
  if ( ! empty( $all_exclude_pages ) && is_page( $all_exclude_pages ) ) {
79
  ?>
80
  <script type="text/javascript" async defer data-pin-color="<?php echo esc_html( $PinItColor ); ?>"
81
+ <?php
82
+ if ( $PinItSize == 'large' ) {
83
+ ?>
84
+ data-pin-height="28" <?php } ?> data-pin-hover="false" src="<?php echo esc_url( WEBLIZAR_PINIT_PLUGIN_URL . 'js/pinit.js' ); ?>">
85
  </script>
86
  <?php
87
  } else {
88
  ?>
89
  <script type="text/javascript" async defer data-pin-color="<?php echo esc_html( $PinItColor ); ?>"
90
+ <?php
91
+ if ( $PinItSize == 'large' ) {
92
+ ?>
93
+ data-pin-height="28" <?php } ?> data-pin-hover="<?php echo esc_html( $PinItOnHover ); ?>" src="<?php echo esc_url( WEBLIZAR_PINIT_PLUGIN_URL . 'js/pinit.js' ); ?>"></script>
94
  <?php
95
  }
96
 
168
 
169
  // Load PinItAdminMenu Pages Assets JS/CSS/Images
170
  function PiniIt_Menu_Assets() {
171
+ if ( current_user_can( 'manage_options' ) ) {
172
  wp_register_style( 'bootstrap', WEBLIZAR_PINIT_PLUGIN_URL . 'css/bootstrap.min.css' );
173
  wp_enqueue_style( 'bootstrap' );
174
  wp_register_style( 'weblizar-smartech-css', WEBLIZAR_PINIT_PLUGIN_URL . 'css/weblizar-smartech.css' );
175
  wp_enqueue_style( 'weblizar-smartech-css' );
 
 
176
  wp_enqueue_script( 'jquery' );
177
  wp_register_script( 'bootstrap', WEBLIZAR_PINIT_PLUGIN_URL . 'js/bootstrap.bundle.min.js' );
178
  wp_enqueue_script( 'bootstrap' );
 
 
179
  }
180
  }
181
 
186
  // save pinit settings
187
  add_action( 'wp_ajax_save_pinit', 'PinItSaveSettings' );
188
  function PinItSaveSettings() {
189
+ if ( isset( $_POST['PinItSettingNonce'] ) && wp_verify_nonce( $_POST['PinItSettingNonce'], 'pinitsetting_nonce_action' ) ) {
190
+ if ( current_user_can( 'manage_options' ) ) {
191
  $PinItPost = isset( $_POST['PinItPost'] ) ? sanitize_text_field( $_POST['PinItPost'] ) : '';
192
  $PinItPage = isset( $_POST['PinItPage'] ) ? sanitize_text_field( $_POST['PinItPage'] ) : '';
193
  $PinItOnHover = isset( $_POST['PinItOnHover'] ) ? sanitize_text_field( $_POST['PinItOnHover'] ) : '';
230
  /*Save Exclude Images*/
231
  add_action( 'wp_ajax_exclude_image', 'exclude_image_save' );
232
  function exclude_image_save() {
233
+ if ( isset( $_POST['pinit_exclude_nonce_field'] ) && wp_verify_nonce( $_POST['pinit_exclude_nonce_field'], 'pinit_exclude_nonce_action' ) ) {
234
  $all_exclude_images = get_option( 'exclude_pin_it_images' );
235
  $img_url = isset( $_POST['img_url'] ) ? esc_url_raw( $_POST['img_url'] ) : '';
236
+ if ( $img_url && current_user_can( 'manage_options' ) ) {
237
  $all_exclude_images[] = $img_url;
238
  update_option( 'exclude_pin_it_images', $all_exclude_images );
239
  }
248
  add_action( 'wp_ajax_exclude_page', 'exclude_save_page' );
249
  function exclude_save_page() {
250
  // $all_exclude_pages = [];
251
+ if ( isset( $_POST['pinit_exclude_page_nonce_field'] ) && wp_verify_nonce( $_POST['pinit_exclude_page_nonce_field'], 'pinit_exclude_page_nonce_action' ) ) {
252
  $all_exclude_pages = get_option( 'excluded_pint_it_pages' );
253
  $page_name = isset( $_POST['page_name'] ) ? sanitize_text_field( $_POST['page_name'] ) : '';
254
+ if ( $page_name && current_user_can( 'manage_options' ) ) {
255
  $all_exclude_pages[] = $page_name;
256
  update_option( 'excluded_pint_it_pages', $all_exclude_pages );
257
  }
265
  /*Delete Exclude Images*/
266
  add_action( 'wp_ajax_delete_exclude_images', 'exclude_image_delete' );
267
  function exclude_image_delete() {
268
+ if ( isset( $_POST['pinit_exclude_nonce_field'] ) && wp_verify_nonce( $_POST['pinit_exclude_nonce_field'], 'pinit_exclude_nonce_action' ) ) {
269
+ if ( current_user_can( 'manage_options' ) ) {
270
  $all_exclude_images = get_option( 'exclude_pin_it_images' );
271
  $img_ids = isset( $_POST['img_ids'] ) ? sanitize_text_field( $_POST['img_ids'] ) : '';
272
  foreach ( $img_ids as $id ) {
284
  /*Delete exclude pages*/
285
  add_action( 'wp_ajax_delete_exclude_pages', 'exclude_image_page' );
286
  function exclude_image_page() {
287
+ if ( isset( $_POST['pinit_exclude_page_nonce_field'] ) && wp_verify_nonce( $_POST['pinit_exclude_page_nonce_field'], 'pinit_exclude_page_nonce_action' ) ) {
288
+ if ( current_user_can( 'manage_options' ) ) {
289
  $all_exclude_pages = get_option( 'excluded_pint_it_pages' );
290
  $page_ids = isset( $_POST['page_ids'] ) ? sanitize_text_field( $_POST['page_ids'] ) : '';
291
  foreach ( $page_ids as $id ) {
readme.txt CHANGED
@@ -3,17 +3,19 @@ Contributors: weblizar
3
  Donate link: https://www.weblizar.com/
4
  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: 5.5
8
  Tested up to: 5.9
9
- Stable tag: 3.2
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
13
- Pin Your WordPress Blog Posts Pages Images With Pinterest Plugin
14
 
15
  == Description ==
16
 
 
 
17
  Weblizar Pin it button on image hover plugin provides facility to pins your blog posts, pages and images into your Pinterest account boards. Simply install then activate the plugin and start pinning.You can show or hide pin it button in post/page. You can enable or disable pin it button on image hover through plugin settings tab.
18
 
19
  **Features**
@@ -22,9 +24,7 @@ Weblizar Pin it button on image hover plugin provides facility to pins your blog
22
  * Show Pinterest Pin It Button In Post
23
  * Show Pinterest Pin It Button In Page
24
  * Pinterest Pin It Button Settings
25
- * Customizable Button Color On Hover
26
  * Customizable Button Size On Hover
27
- * Enable / Disable Pin button On Mobile & Portable Devices
28
  * Multilingual - Translatable in Any Language
29
 
30
  ### Weblizar - Pinterest Feed Pro Features
@@ -110,12 +110,17 @@ 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 3.2 =[19-02-2022]
 
 
 
 
114
  - Bootstrap library updated.
115
  - font-awesome library removed.
116
  - minor code fixes.
117
  - extra unused files removed.
118
 
 
119
  = Version 3.1 =[21-12-2021]
120
  - Updated : Product page
121
 
3
  Donate link: https://www.weblizar.com/
4
  Contributors: weblizar
5
  Donate link: https://www.weblizar.com/
6
+ Tags: pinterest, pin images, pin photo, pin it button
7
  Requires at least: 5.5
8
  Tested up to: 5.9
9
+ Stable tag: 3.3
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
13
+ Pin Your Images With weblizar pin it button on image hover and post.
14
 
15
  == Description ==
16
 
17
+ This plugin is using the pinterest javascript library to pin your images on your website and user is required to login to pinterest for the image to be pinned into your pinterest account.
18
+
19
  Weblizar Pin it button on image hover plugin provides facility to pins your blog posts, pages and images into your Pinterest account boards. Simply install then activate the plugin and start pinning.You can show or hide pin it button in post/page. You can enable or disable pin it button on image hover through plugin settings tab.
20
 
21
  **Features**
24
  * Show Pinterest Pin It Button In Post
25
  * Show Pinterest Pin It Button In Page
26
  * Pinterest Pin It Button Settings
 
27
  * Customizable Button Size On Hover
 
28
  * Multilingual - Translatable in Any Language
29
 
30
  ### Weblizar - Pinterest Feed Pro Features
110
 
111
  For more information, see [Weblizar](https://wwww.weblizar.com/).
112
 
113
+ = Version 3.2 =[22-02-2022]
114
+ - readme.txt updated.
115
+ - User permissions check.
116
+
117
+ = Version 3.2 =[18-02-2022]
118
  - Bootstrap library updated.
119
  - font-awesome library removed.
120
  - minor code fixes.
121
  - extra unused files removed.
122
 
123
+
124
  = Version 3.1 =[21-12-2021]
125
  - Updated : Product page
126
 
settings.php CHANGED
@@ -8,13 +8,13 @@
8
  <ul class="nav " id="side-menu">
9
  <li class="sidebar-profile text-center ">
10
  <span class="sidebar-profile-picture pint-anch">
11
- <a href="https://www.weblizar.com" target="_blank">
12
  <img class="img-fluid" src="<?php echo esc_url( WEBLIZAR_PINIT_PLUGIN_URL . 'img/weblizarlogo.png' ); ?>" alt="Profile Picture" />
13
  </a>
14
  </span>
15
  <h5 style="color:#fff" class="acl-rate"><?php esc_html_e( 'Show Us Some Love (Rate Us)', WEBLIZAR_PINIT_TD ); ?>
16
  </h5>
17
- <a class="acl-rate-us" href="https://wordpress.org/plugins/pinterest-pin-it-button-on-image-hover-and-post/#reviews" target="_blank">
18
  <span class="dashicons dashicons-star-filled"></span>
19
  <span class="dashicons dashicons-star-filled"></span>
20
  <span class="dashicons dashicons-star-filled"></span>
@@ -28,8 +28,8 @@
28
  <a href="#" target="_blank">
29
  <img src="<?php echo esc_url( WEBLIZAR_PINIT_PLUGIN_URL . 'img/Plugin.jpg' ); ?>" alt="Profile Picture" />
30
  </a>
31
- <a href="https://demo.weblizar.com/pinterest-feed-pro/" target="_blank" class="pint-btn " style="background-color: #ef4238 !important; color: white !important;"><?php esc_html_e( 'View Demo', WEBLIZAR_PINIT_TD ); ?></a>
32
- <a href="https://weblizar.com/plugins/pinterest-feed-pro/" target="_blank" class="pint-btn"><?php esc_html_e( 'Go Pro $18', WEBLIZAR_PINIT_TD ); ?></a>
33
  </span>
34
  </li>
35
  </ul>
8
  <ul class="nav " id="side-menu">
9
  <li class="sidebar-profile text-center ">
10
  <span class="sidebar-profile-picture pint-anch">
11
+ <a href="<?php echo esc_url('https://www.weblizar.com');?>" target="_blank">
12
  <img class="img-fluid" src="<?php echo esc_url( WEBLIZAR_PINIT_PLUGIN_URL . 'img/weblizarlogo.png' ); ?>" alt="Profile Picture" />
13
  </a>
14
  </span>
15
  <h5 style="color:#fff" class="acl-rate"><?php esc_html_e( 'Show Us Some Love (Rate Us)', WEBLIZAR_PINIT_TD ); ?>
16
  </h5>
17
+ <a class="acl-rate-us" href="<?php echo esc_url('https://wordpress.org/plugins/pinterest-pin-it-button-on-image-hover-and-post/#reviews');?>" target="_blank">
18
  <span class="dashicons dashicons-star-filled"></span>
19
  <span class="dashicons dashicons-star-filled"></span>
20
  <span class="dashicons dashicons-star-filled"></span>
28
  <a href="#" target="_blank">
29
  <img src="<?php echo esc_url( WEBLIZAR_PINIT_PLUGIN_URL . 'img/Plugin.jpg' ); ?>" alt="Profile Picture" />
30
  </a>
31
+ <a href="<?php echo esc_url('https://demo.weblizar.com/pinterest-feed-pro/');?>" target="_blank" class="pint-btn " style="background-color: #ef4238 !important; color: white !important;"><?php esc_html_e( 'View Demo', WEBLIZAR_PINIT_TD ); ?></a>
32
+ <a href="<?php echo esc_url('https://weblizar.com/plugins/pinterest-feed-pro/'); ?>" target="_blank" class="pint-btn"><?php esc_html_e( 'Go Pro $18', WEBLIZAR_PINIT_TD ); ?></a>
33
  </span>
34
  </li>
35
  </ul>