Version Description
= 0.1 = Starter version no upgrade is required.
Download this release
Release Info
Developer | weblizar |
Plugin | Pinterest Pin It Button On Image Hover And Post |
Version | 2.8.1 |
Comparing to | |
See all releases |
Code changes from version 2.8.0 to 2.8.1
- js/pinit.js +14 -6
- js/weblizar-smartech.js +91 -61
- pinterest-pin-It-button.php +2 -4
- readme.txt +5 -2
js/pinit.js
CHANGED
@@ -5,9 +5,17 @@
|
|
5 |
}, 10))
|
6 |
}(window, document, "//assets.pinterest.com/js/pinit_main.js"); */
|
7 |
|
8 |
-
!
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
}, 10))
|
6 |
}(window, document, "//assets.pinterest.com/js/pinit_main.js"); */
|
7 |
|
8 |
+
!(function (a, b, c) {
|
9 |
+
var d, e, f;
|
10 |
+
(f = "PIN_" + ~~(new Date().getTime() / 864e5)),
|
11 |
+
a[f] ||
|
12 |
+
((a[f] = !0),
|
13 |
+
a.setTimeout(function () {
|
14 |
+
(d = b.getElementsByTagName("SCRIPT")[0]),
|
15 |
+
(e = b.createElement("SCRIPT")),
|
16 |
+
(e.type = "text/javascript"),
|
17 |
+
(e.async = !0),
|
18 |
+
(e.src = c),
|
19 |
+
d.parentNode.insertBefore(e, d);
|
20 |
+
}, 10));
|
21 |
+
})(window, document, "//assets.pinterest.com/js/pinit_main.js");
|
js/weblizar-smartech.js
CHANGED
@@ -1,74 +1,104 @@
|
|
1 |
-
jQuery(function() {
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
|
|
|
|
14 |
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
|
22 |
-
|
23 |
-
|
24 |
|
25 |
-
var width = jQuery(window).width();
|
26 |
-
if (width < 768) {
|
27 |
-
jQuery('.sidebar-right').attr('style', '')
|
28 |
-
} else {
|
29 |
-
jQuery('.sidebar-right').height(jQuery('body').height() - 50)
|
30 |
-
}
|
31 |
-
|
32 |
-
jQuery('.sidebar-right').css('display', 'block');
|
33 |
-
|
34 |
-
setTimeout(function() {
|
35 |
-
jQuery(window).resize()
|
36 |
-
if (!jQuery('.sidebar-right').hasClass('open'))
|
37 |
-
jQuery('.sidebar-right').hide(0);
|
38 |
-
}, 500)
|
39 |
-
})
|
40 |
-
|
41 |
-
});
|
42 |
-
|
43 |
-
jQuery(window).resize(function() {
|
44 |
var width = jQuery(window).width();
|
45 |
if (width < 768) {
|
46 |
-
|
47 |
} else {
|
48 |
-
|
49 |
}
|
50 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
|
52 |
//Loads the correct sidebar on window load,
|
53 |
//collapses the sidebar on window resize.
|
54 |
// Sets the min-height of #page-wrapper to window size
|
55 |
-
jQuery(function() {
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
|
|
65 |
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
}
|
|
|
|
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 |
+
});
|
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.
|
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/
|
@@ -20,7 +20,6 @@
|
|
20 |
define("WEBLIZAR_PINIT_PLUGIN_URL", plugin_dir_url(__FILE__));
|
21 |
define("WEBLIZAR_PINIT_TD", "weblizar_pinit");
|
22 |
|
23 |
-
|
24 |
/**
|
25 |
* Get Ready Plugin Translation
|
26 |
*/
|
@@ -45,8 +44,7 @@ function PiniIt_DefaultSettings()
|
|
45 |
add_option("WL_Pinit_Btn_Size", "small");
|
46 |
}
|
47 |
|
48 |
-
function front_jquery()
|
49 |
-
{
|
50 |
wp_enqueue_script('jquery');
|
51 |
wp_enqueue_script('wl-pin-main', WEBLIZAR_PINIT_PLUGIN_URL . 'js/main.js', array(), false, true);
|
52 |
}
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: Weblizar Pin It Button On Image Hover And Post
|
4 |
+
* Version: 2.8.1
|
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/
|
20 |
define("WEBLIZAR_PINIT_PLUGIN_URL", plugin_dir_url(__FILE__));
|
21 |
define("WEBLIZAR_PINIT_TD", "weblizar_pinit");
|
22 |
|
|
|
23 |
/**
|
24 |
* Get Ready Plugin Translation
|
25 |
*/
|
44 |
add_option("WL_Pinit_Btn_Size", "small");
|
45 |
}
|
46 |
|
47 |
+
function front_jquery() {
|
|
|
48 |
wp_enqueue_script('jquery');
|
49 |
wp_enqueue_script('wl-pin-main', WEBLIZAR_PINIT_PLUGIN_URL . 'js/main.js', array(), false, true);
|
50 |
}
|
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.
|
9 |
-
Stable tag: 2.
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
@@ -110,6 +110,9 @@ 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.8.0 =[10-12-2020]
|
114 |
- Tested Upto WordPress 5.6
|
115 |
- Improved Code Readability.
|
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.7
|
9 |
+
Stable tag: 2.10.1
|
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.10.1 =[20-03-2021]
|
114 |
+
- Tested Upto WordPress 5.7
|
115 |
+
|
116 |
= Version 2.8.0 =[10-12-2020]
|
117 |
- Tested Upto WordPress 5.6
|
118 |
- Improved Code Readability.
|