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.7.8 |
Comparing to | |
See all releases |
Code changes from version 2.7.7 to 2.7.8
- css/recom.css +6 -0
- exclude-images.php +1 -0
- exclude-pages.php +1 -0
- img/Plugin.jpg +0 -0
- pinterest-pin-It-button.php +1 -1
- readme.txt +5 -2
- settings.php +162 -146
css/recom.css
CHANGED
@@ -1,3 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
.custom_gallery_layout_label
|
2 |
{
|
3 |
width: 74px !important;
|
1 |
+
|
2 |
+
#add-pin-image-url strong{
|
3 |
+
padding: 10px;
|
4 |
+
text-align: center;
|
5 |
+
}
|
6 |
+
|
7 |
.custom_gallery_layout_label
|
8 |
{
|
9 |
width: 74px !important;
|
exclude-images.php
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
<hr>
|
2 |
<div>
|
3 |
<h3><?php esc_html_e('To Exclude the image(s) from Pin Button On Image Hover. Please add image(s) URL below:', WEBLIZAR_PINIT_TD); ?></h3>
|
|
|
4 |
<input id="no-pin-image-url" name="no-pin-image-url" type="text" value="" placeholder="<?php esc_attr_e('Provide Image SRC URL', WEBLIZAR_PINIT_TD); ?>">
|
5 |
<?php wp_nonce_field( 'pinit_exclude_nonce_action', 'pinit_exclude_nonce_field' ); ?>
|
6 |
<button id="add-pin-image-url" name="add-pin-image-url" class="button button-primary" type="button" onclick="return SaveNoPinImage(this.value);"><strong><i class="fas fa-plus"></i> <?php esc_html_e('Add', WEBLIZAR_PINIT_TD); ?></strong></button>
|
1 |
<hr>
|
2 |
<div>
|
3 |
<h3><?php esc_html_e('To Exclude the image(s) from Pin Button On Image Hover. Please add image(s) URL below:', WEBLIZAR_PINIT_TD); ?></h3>
|
4 |
+
<br>
|
5 |
<input id="no-pin-image-url" name="no-pin-image-url" type="text" value="" placeholder="<?php esc_attr_e('Provide Image SRC URL', WEBLIZAR_PINIT_TD); ?>">
|
6 |
<?php wp_nonce_field( 'pinit_exclude_nonce_action', 'pinit_exclude_nonce_field' ); ?>
|
7 |
<button id="add-pin-image-url" name="add-pin-image-url" class="button button-primary" type="button" onclick="return SaveNoPinImage(this.value);"><strong><i class="fas fa-plus"></i> <?php esc_html_e('Add', WEBLIZAR_PINIT_TD); ?></strong></button>
|
exclude-pages.php
CHANGED
@@ -4,6 +4,7 @@ defined( 'ABSPATH' ) or die();
|
|
4 |
<hr>
|
5 |
<div>
|
6 |
<h3><?php esc_html_e('To Exclude the page(s) from Pin Button On Image Hover. Please add page(s) name below:', WEBLIZAR_PINIT_TD); ?></h3>
|
|
|
7 |
<input id="no-pin-image-page" name="no-pin-image-page" type="text" value="" placeholder="<?php esc_attr_e('Provide Page Name', WEBLIZAR_PINIT_TD); ?>">
|
8 |
<?php wp_nonce_field( 'pinit_exclude_page_nonce_action', 'pinit_exclude_page_nonce_field' ); ?>
|
9 |
<button id="add-pin-page-name" name="add-pin-page-name" class="button button-primary" type="button" onclick="return SaveNoPinPage(this.value);"><strong><i class="fas fa-plus"></i> <?php esc_html_e('Add', WEBLIZAR_PINIT_TD); ?></strong></button>
|
4 |
<hr>
|
5 |
<div>
|
6 |
<h3><?php esc_html_e('To Exclude the page(s) from Pin Button On Image Hover. Please add page(s) name below:', WEBLIZAR_PINIT_TD); ?></h3>
|
7 |
+
<br>
|
8 |
<input id="no-pin-image-page" name="no-pin-image-page" type="text" value="" placeholder="<?php esc_attr_e('Provide Page Name', WEBLIZAR_PINIT_TD); ?>">
|
9 |
<?php wp_nonce_field( 'pinit_exclude_page_nonce_action', 'pinit_exclude_page_nonce_field' ); ?>
|
10 |
<button id="add-pin-page-name" name="add-pin-page-name" class="button button-primary" type="button" onclick="return SaveNoPinPage(this.value);"><strong><i class="fas fa-plus"></i> <?php esc_html_e('Add', WEBLIZAR_PINIT_TD); ?></strong></button>
|
img/Plugin.jpg
ADDED
Binary file
|
pinterest-pin-It-button.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: Pin It Button On Image Hover And Post
|
4 |
-
* Version: 2.7.
|
5 |
* Description: Pinterest 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/
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: Pin It Button On Image Hover And Post
|
4 |
+
* Version: 2.7.8
|
5 |
* Description: Pinterest 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/
|
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.7.
|
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.7.7 =[18-03-2020]
|
114 |
- Minor Fix.
|
115 |
|
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.8
|
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.7.8 =[25-07-2020]
|
114 |
+
- Minor change in dashboard.
|
115 |
+
|
116 |
= Version 2.7.7 =[18-03-2020]
|
117 |
- Minor Fix.
|
118 |
|
settings.php
CHANGED
@@ -1,110 +1,125 @@
|
|
1 |
<style>
|
2 |
-
#post-social-1{
|
3 |
-
|
4 |
-
}
|
5 |
-
#post-social-2{
|
6 |
-
background-image: url('<?php echo WEBLIZAR_PINIT_PLUGIN_URL.'img/image-1.jpg'; ?>');
|
7 |
-
}
|
8 |
-
#post-social-3{
|
9 |
-
background-image: url('<?php echo WEBLIZAR_PINIT_PLUGIN_URL.'img/image-2.jpg'; ?>');
|
10 |
-
}
|
11 |
-
#post-social-4{
|
12 |
-
background-image: url('<?php echo WEBLIZAR_PINIT_PLUGIN_URL.'img/image-3.jpg'; ?>');
|
13 |
-
}
|
14 |
-
#post-social-5{
|
15 |
-
|
16 |
-
background: linear-gradient( rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5) ), url('<?php echo WEBLIZAR_PINIT_PLUGIN_URL.'img/pattern-1.png'; ?>') left top repeat, url('<?php echo WEBLIZAR_PINIT_PLUGIN_URL.'img/bg1.jpg'; ?>') center center fixed;
|
17 |
-
}
|
18 |
-
}
|
19 |
-
#post-social-6{
|
20 |
-
background-image: url('<?php echo WEBLIZAR_PINIT_PLUGIN_URL.'img/image-5.jpg'; ?>');
|
21 |
-
}
|
22 |
-
#post-social-7{
|
23 |
-
background-image: url('<?php echo WEBLIZAR_PINIT_PLUGIN_URL.'img/image-6.jpg'; ?>');
|
24 |
-
}
|
25 |
-
#post-social-8{
|
26 |
-
background-image: url('<?php echo WEBLIZAR_PINIT_PLUGIN_URL.'img/image-7.jpg'; ?>');
|
27 |
-
}
|
28 |
-
|
29 |
-
::-webkit-scrollbar {
|
30 |
-
width: 12px;
|
31 |
-
}
|
32 |
-
|
33 |
-
::-webkit-scrollbar-track {
|
34 |
-
outline: 0px solid slategrey;
|
35 |
-
background: transparent;
|
36 |
-
border-radius: 0px;
|
37 |
-
border:0px
|
38 |
-
}
|
39 |
-
|
40 |
-
::-webkit-scrollbar-thumb {
|
41 |
-
border-radius: 0px;
|
42 |
-
background: rgba(71,204,232,0.9);
|
43 |
-
border:0px;
|
44 |
-
outline: 0px solid slategrey;
|
45 |
-
}
|
46 |
-
a:focus {
|
47 |
-
-webkit-box-shadow: none !important;
|
48 |
-
box-shadow:none !important;
|
49 |
-
}
|
50 |
-
.wp-color-result{
|
51 |
-
height:24px;
|
52 |
-
}
|
53 |
-
.wp-color-result:hover {
|
54 |
-
text-underline:none;
|
55 |
-
}
|
56 |
-
|
57 |
-
.page-wrapper {
|
58 |
-
border-left: 1px solid #19191d;
|
59 |
-
margin: 0 0 0 315px;
|
60 |
-
padding: 15px 15px;
|
61 |
-
position: inherit;
|
62 |
-
}
|
63 |
-
#no-pin-image-url {
|
64 |
-
width: 80% !important;
|
65 |
-
}
|
66 |
-
.products p i {
|
67 |
-
color: #ef4238 !important;
|
68 |
-
}
|
69 |
-
a.btn.btn-primary.btn-lg.dmobtn {
|
70 |
-
background-image: linear-gradient(to bottom, #ef4238, #441411);
|
71 |
-
padding: 13px;
|
72 |
-
margin-top:15px;
|
73 |
-
}
|
74 |
-
|
75 |
-
a.btn.btn-primary.btn-lg.dmobtn:hover{
|
76 |
-
background-image: linear-gradient(to bottom, #ef4238, #441411);
|
77 |
-
background: #ed5c5c;
|
78 |
-
}
|
79 |
-
|
80 |
-
|
81 |
-
.products {
|
82 |
-
padding-bottom: 15px;
|
83 |
-
}
|
84 |
-
.acl-rate-us span.dashicons{
|
85 |
-
width: 30px;
|
86 |
-
height: 30px;
|
87 |
}
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
}
|
92 |
-
|
93 |
-
|
94 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
95 |
}
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
100 |
}
|
101 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
102 |
</style>
|
103 |
<div id="sidebar-wrapper">
|
104 |
<!-- Navigation -->
|
105 |
-
<nav
|
106 |
<div class="navbar-header mt-60">
|
107 |
-
<a
|
108 |
</div>
|
109 |
<!-- <ul class="nav navbar-top-links navbar-right coming-soon-top">
|
110 |
<li class="dropdown">
|
@@ -118,7 +133,7 @@ background: #ed5c5c;
|
|
118 |
<li class="sidebar-profile text-center ">
|
119 |
<span class="sidebar-profile-picture pint-anch">
|
120 |
<a href="https://www.weblizar.com" target="_blank">
|
121 |
-
<img class="img-fluid" src="<?php echo esc_url(WEBLIZAR_PINIT_PLUGIN_URL.'img/weblizarlogo.png'
|
122 |
</a>
|
123 |
</span>
|
124 |
<h5 style="color:#fff" class="acl-rate"><?php esc_html_e('Show Us Some Love (Rate Us)', WEBLIZAR_PINIT_TD); ?></h5>
|
@@ -134,9 +149,9 @@ background: #ed5c5c;
|
|
134 |
<li class="sidebar-profile text-center">
|
135 |
<span class="sidebar-profile-picture pint-anch">
|
136 |
<a href="#" target="_blank">
|
137 |
-
<img src="<?php echo esc_url(WEBLIZAR_PINIT_PLUGIN_URL.'img/
|
138 |
</a>
|
139 |
-
<a href="
|
140 |
<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>
|
141 |
</span>
|
142 |
</li>
|
@@ -173,12 +188,12 @@ background: #ed5c5c;
|
|
173 |
<p><?php esc_html_e('Show Pin It Button', WEBLIZAR_PINIT_TD); ?> <strong><?php esc_html_e('In Post', WEBLIZAR_PINIT_TD); ?></strong></p>
|
174 |
<?php
|
175 |
$PinItPost = get_option("WL_Enable_Pinit_Post");
|
176 |
-
if(!isset($PinItPost)) {
|
177 |
$PinItPost = 1;
|
178 |
}
|
179 |
?>
|
180 |
-
<input id="pinitpost" name="pinitpost" type="radio" value="1" <?php if($PinItPost == 1) echo "checked=checked"; ?>> <?php esc_html_e('Yes', WEBLIZAR_PINIT_TD); ?>
|
181 |
-
<input id="pinitpost" name="pinitpost" type="radio" value="0" <?php if($PinItPost == 0) echo "checked=checked"; ?>> <?php esc_html_e('No', WEBLIZAR_PINIT_TD); ?>
|
182 |
</div>
|
183 |
<hr>
|
184 |
|
@@ -186,25 +201,25 @@ background: #ed5c5c;
|
|
186 |
<p><?php esc_html_e('Show Pin It Button', WEBLIZAR_PINIT_TD); ?> <strong><?php esc_html_e('In Page', WEBLIZAR_PINIT_TD); ?></strong></p>
|
187 |
<?php
|
188 |
$PinItPage = get_option("WL_Enable_Pinit_Page");
|
189 |
-
if(!isset($PinItPage)) {
|
190 |
$PinItPage = 1;
|
191 |
}
|
192 |
?>
|
193 |
-
<input id="pinitpage" name="pinitpage" type="radio" value="1" <?php if($PinItPage == 1) echo "checked=checked"; ?>> <?php esc_html_e('Yes', WEBLIZAR_PINIT_TD); ?>
|
194 |
-
<input id="pinitpage" name="pinitpage" type="radio" value="0" <?php if($PinItPage == 0) echo "checked=checked"; ?>> <?php esc_html_e('No', WEBLIZAR_PINIT_TD); ?>
|
195 |
</div>
|
196 |
<hr>
|
197 |
|
198 |
<div>
|
199 |
<p><?php esc_html_e('Show Pin It Button', WEBLIZAR_PINIT_TD); ?> <strong><?php esc_html_e('On Image Hover', WEBLIZAR_PINIT_TD); ?></strong></p>
|
200 |
<?php
|
201 |
-
|
202 |
-
if(!isset($PinItOnHover)) {
|
203 |
$PinItOnHover = "true";
|
204 |
}
|
205 |
?>
|
206 |
-
<input id="pinitonhover" name="pinitonhover" type="radio" value="true" <?php if($PinItOnHover == "true") echo "checked=checked"; ?>> <?php esc_html_e('Yes', WEBLIZAR_PINIT_TD); ?>
|
207 |
-
<input id="pinitonhover" name="pinitonhover" type="radio" value="false" <?php if($PinItOnHover == "false") echo "checked=checked"; ?>> <?php esc_html_e('No', WEBLIZAR_PINIT_TD); ?>
|
208 |
</div>
|
209 |
<hr>
|
210 |
|
@@ -212,12 +227,12 @@ background: #ed5c5c;
|
|
212 |
<p><?php esc_html_e('Show Pin It Button', WEBLIZAR_PINIT_TD); ?> <strong><?php esc_html_e('On Mobile / Portable Devices', WEBLIZAR_PINIT_TD); ?></strong></p>
|
213 |
<?php
|
214 |
$PinItStatus = get_option("WL_Mobile_Status");
|
215 |
-
if(!isset($PinItStatus)) {
|
216 |
$PinItStatus = 1;
|
217 |
}
|
218 |
?>
|
219 |
-
<input id="pinitstatus" name="pinitstatus" type="radio" value="1" <?php if($PinItStatus == 1) echo "checked=checked"; ?>> <?php esc_html_e('Yes', WEBLIZAR_PINIT_TD); ?>
|
220 |
-
<input id="pinitstatus" name="pinitstatus" type="radio" value="0" <?php if($PinItStatus == 0) echo "checked=checked"; ?>> <?php esc_html_e('No', WEBLIZAR_PINIT_TD); ?>
|
221 |
</div>
|
222 |
<hr>
|
223 |
|
@@ -225,39 +240,39 @@ background: #ed5c5c;
|
|
225 |
<p><?php esc_html_e('Pin It Button Size (On Image Hover)', WEBLIZAR_PINIT_TD); ?></p>
|
226 |
<?php
|
227 |
$PinItSize = get_option("WL_Pinit_Btn_Size");
|
228 |
-
if(!isset($PinItSize)) {
|
229 |
$PinItSize = "small";
|
230 |
}
|
231 |
?>
|
232 |
<select id="pinitsize" name="pinitsize">
|
233 |
-
<option value="small" <?php if($PinItSize == "small") echo "selected=selected"; ?>><?php esc_html_e('Small', WEBLIZAR_PINIT_TD); ?></option>
|
234 |
-
<option value="large" <?php if($PinItSize == "large") echo "selected=selected"; ?>><?php esc_html_e('Large', WEBLIZAR_PINIT_TD); ?></option>
|
235 |
</select>
|
236 |
</div>
|
237 |
<hr>
|
238 |
-
<?php wp_nonce_field(
|
239 |
<button id="pinitsave" name="pinitsave" class="button button-primary" type="button" onclick="return SaveSettings();"><strong><i class="fas fa-save"></i> <?php esc_html_e('Save', WEBLIZAR_PINIT_TD); ?></strong></button>
|
240 |
<i id="loading" name="loading" style="display: none;" class="fas fa-cog fa-spin fa-3x"></i>
|
241 |
</div>
|
242 |
|
243 |
<!-- Exclude Images Tab -->
|
244 |
<div id="exclude-images" class="tab-pane fade">
|
245 |
-
<?php
|
246 |
</div>
|
247 |
|
248 |
<!-- Exclude Images Tab -->
|
249 |
<div id="exclude-pages" class="tab-pane fade">
|
250 |
-
<?php
|
251 |
</div>
|
252 |
|
253 |
<!-- Plugin Recommendation Tab -->
|
254 |
<div id="plug-recom" class="tab-pane fade">
|
255 |
-
<?php
|
256 |
</div>
|
257 |
|
258 |
<!-- Our Products Tab -->
|
259 |
<div id="our-product-tab" class="tab-pane fade">
|
260 |
-
<?php
|
261 |
</div>
|
262 |
|
263 |
<!-- Need Help Tab -->
|
@@ -287,28 +302,29 @@ background: #ed5c5c;
|
|
287 |
</div>
|
288 |
|
289 |
<script>
|
290 |
-
function SaveSettings(){
|
291 |
-
|
292 |
-
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
-
|
301 |
-
|
302 |
-
|
303 |
-
|
304 |
-
|
305 |
-
|
306 |
-
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
-
|
312 |
-
|
313 |
-
}
|
314 |
-
|
|
1 |
<style>
|
2 |
+
#post-social-1 {
|
3 |
+
background-image: url('<?php echo WEBLIZAR_PINIT_PLUGIN_URL . 'img/image-8.jpg'; ?>');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
}
|
5 |
+
|
6 |
+
#post-social-2 {
|
7 |
+
background-image: url('<?php echo WEBLIZAR_PINIT_PLUGIN_URL . 'img/image-1.jpg'; ?>');
|
8 |
}
|
9 |
+
|
10 |
+
#post-social-3 {
|
11 |
+
background-image: url('<?php echo WEBLIZAR_PINIT_PLUGIN_URL . 'img/image-2.jpg'; ?>');
|
12 |
+
}
|
13 |
+
|
14 |
+
#post-social-4 {
|
15 |
+
background-image: url('<?php echo WEBLIZAR_PINIT_PLUGIN_URL . 'img/image-3.jpg'; ?>');
|
16 |
+
}
|
17 |
+
|
18 |
+
#post-social-5 {
|
19 |
+
|
20 |
+
background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('<?php echo WEBLIZAR_PINIT_PLUGIN_URL . 'img/pattern-1.png'; ?>') left top repeat, url('<?php echo WEBLIZAR_PINIT_PLUGIN_URL . 'img/bg1.jpg'; ?>') center center fixed;
|
21 |
+
}
|
22 |
+
|
23 |
+
#post-social-6 {
|
24 |
+
background-image: url('<?php echo WEBLIZAR_PINIT_PLUGIN_URL . 'img/image-5.jpg'; ?>');
|
25 |
+
}
|
26 |
+
|
27 |
+
#post-social-7 {
|
28 |
+
background-image: url('<?php echo WEBLIZAR_PINIT_PLUGIN_URL . 'img/image-6.jpg'; ?>');
|
29 |
}
|
30 |
+
|
31 |
+
#post-social-8 {
|
32 |
+
background-image: url('<?php echo WEBLIZAR_PINIT_PLUGIN_URL . 'img/image-7.jpg'; ?>');
|
33 |
+
}
|
34 |
+
|
35 |
+
::-webkit-scrollbar {
|
36 |
+
width: 12px;
|
37 |
+
}
|
38 |
+
|
39 |
+
::-webkit-scrollbar-track {
|
40 |
+
outline: 0px solid slategrey;
|
41 |
+
background: transparent;
|
42 |
+
border-radius: 0px;
|
43 |
+
border: 0px
|
44 |
+
}
|
45 |
+
|
46 |
+
::-webkit-scrollbar-thumb {
|
47 |
+
border-radius: 0px;
|
48 |
+
background: rgba(71, 204, 232, 0.9);
|
49 |
+
border: 0px;
|
50 |
+
outline: 0px solid slategrey;
|
51 |
+
}
|
52 |
+
|
53 |
+
a:focus {
|
54 |
+
-webkit-box-shadow: none !important;
|
55 |
+
box-shadow: none !important;
|
56 |
}
|
57 |
|
58 |
+
.wp-color-result {
|
59 |
+
height: 24px;
|
60 |
+
}
|
61 |
+
|
62 |
+
.wp-color-result:hover {
|
63 |
+
text-underline: none;
|
64 |
+
}
|
65 |
+
|
66 |
+
.page-wrapper {
|
67 |
+
border-left: 1px solid #19191d;
|
68 |
+
margin: 0 0 0 315px;
|
69 |
+
padding: 15px 15px;
|
70 |
+
position: inherit;
|
71 |
+
}
|
72 |
+
|
73 |
+
#no-pin-image-url {
|
74 |
+
width: 80% !important;
|
75 |
+
}
|
76 |
+
|
77 |
+
.products p i {
|
78 |
+
color: #ef4238 !important;
|
79 |
+
}
|
80 |
+
|
81 |
+
a.btn.btn-primary.btn-lg.dmobtn {
|
82 |
+
background-image: linear-gradient(to bottom, #ef4238, #441411);
|
83 |
+
padding: 13px;
|
84 |
+
margin-top: 15px;
|
85 |
+
}
|
86 |
+
|
87 |
+
a.btn.btn-primary.btn-lg.dmobtn:hover {
|
88 |
+
background-image: linear-gradient(to bottom, #ef4238, #441411);
|
89 |
+
background: #ed5c5c;
|
90 |
+
}
|
91 |
+
|
92 |
+
|
93 |
+
.products {
|
94 |
+
padding-bottom: 15px;
|
95 |
+
}
|
96 |
+
|
97 |
+
.acl-rate-us span.dashicons {
|
98 |
+
width: 30px;
|
99 |
+
height: 30px;
|
100 |
+
}
|
101 |
+
|
102 |
+
.acl-rate-us span.dashicons-star-filled:before {
|
103 |
+
content: "\f155";
|
104 |
+
font-size: 30px;
|
105 |
+
}
|
106 |
+
|
107 |
+
.acl-rate-us {
|
108 |
+
color: #FBD229 !important;
|
109 |
+
padding-top: 5px !important;
|
110 |
+
}
|
111 |
+
|
112 |
+
.acl-rate {
|
113 |
+
color: #fff;
|
114 |
+
margin-top: 10px !important;
|
115 |
+
margin-bottom: 5px !important;
|
116 |
+
}
|
117 |
</style>
|
118 |
<div id="sidebar-wrapper">
|
119 |
<!-- Navigation -->
|
120 |
+
<nav class="navbar navbar-default navbar-static-top " role="navigation" style="margin-bottom: 0">
|
121 |
<div class="navbar-header mt-60">
|
122 |
+
<a class="navbar-brand coming-soon-admin-title" href="#"><?php esc_html_e('Pin It Button On Image Hover And In Post', WEBLIZAR_PINIT_TD); ?></a>
|
123 |
</div>
|
124 |
<!-- <ul class="nav navbar-top-links navbar-right coming-soon-top">
|
125 |
<li class="dropdown">
|
133 |
<li class="sidebar-profile text-center ">
|
134 |
<span class="sidebar-profile-picture pint-anch">
|
135 |
<a href="https://www.weblizar.com" target="_blank">
|
136 |
+
<img class="img-fluid" src="<?php echo esc_url(WEBLIZAR_PINIT_PLUGIN_URL . 'img/weblizarlogo.png'); ?>" alt="Profile Picture" />
|
137 |
</a>
|
138 |
</span>
|
139 |
<h5 style="color:#fff" class="acl-rate"><?php esc_html_e('Show Us Some Love (Rate Us)', WEBLIZAR_PINIT_TD); ?></h5>
|
149 |
<li class="sidebar-profile text-center">
|
150 |
<span class="sidebar-profile-picture pint-anch">
|
151 |
<a href="#" target="_blank">
|
152 |
+
<img src="<?php echo esc_url(WEBLIZAR_PINIT_PLUGIN_URL . 'img/Plugin.jpg'); ?>" alt="Profile Picture" />
|
153 |
</a>
|
154 |
+
<a href="https://weblizar.com/plugins/school-management/" target="_blank" class="pint-btn " style="background-color: #ef4238 !important; color: white !important;"><?php esc_html_e('View Demo', WEBLIZAR_PINIT_TD); ?></a>
|
155 |
<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>
|
156 |
</span>
|
157 |
</li>
|
188 |
<p><?php esc_html_e('Show Pin It Button', WEBLIZAR_PINIT_TD); ?> <strong><?php esc_html_e('In Post', WEBLIZAR_PINIT_TD); ?></strong></p>
|
189 |
<?php
|
190 |
$PinItPost = get_option("WL_Enable_Pinit_Post");
|
191 |
+
if (!isset($PinItPost)) {
|
192 |
$PinItPost = 1;
|
193 |
}
|
194 |
?>
|
195 |
+
<input id="pinitpost" name="pinitpost" type="radio" value="1" <?php if ($PinItPost == 1) echo "checked=checked"; ?>> <?php esc_html_e('Yes', WEBLIZAR_PINIT_TD); ?>
|
196 |
+
<input id="pinitpost" name="pinitpost" type="radio" value="0" <?php if ($PinItPost == 0) echo "checked=checked"; ?>> <?php esc_html_e('No', WEBLIZAR_PINIT_TD); ?>
|
197 |
</div>
|
198 |
<hr>
|
199 |
|
201 |
<p><?php esc_html_e('Show Pin It Button', WEBLIZAR_PINIT_TD); ?> <strong><?php esc_html_e('In Page', WEBLIZAR_PINIT_TD); ?></strong></p>
|
202 |
<?php
|
203 |
$PinItPage = get_option("WL_Enable_Pinit_Page");
|
204 |
+
if (!isset($PinItPage)) {
|
205 |
$PinItPage = 1;
|
206 |
}
|
207 |
?>
|
208 |
+
<input id="pinitpage" name="pinitpage" type="radio" value="1" <?php if ($PinItPage == 1) echo "checked=checked"; ?>> <?php esc_html_e('Yes', WEBLIZAR_PINIT_TD); ?>
|
209 |
+
<input id="pinitpage" name="pinitpage" type="radio" value="0" <?php if ($PinItPage == 0) echo "checked=checked"; ?>> <?php esc_html_e('No', WEBLIZAR_PINIT_TD); ?>
|
210 |
</div>
|
211 |
<hr>
|
212 |
|
213 |
<div>
|
214 |
<p><?php esc_html_e('Show Pin It Button', WEBLIZAR_PINIT_TD); ?> <strong><?php esc_html_e('On Image Hover', WEBLIZAR_PINIT_TD); ?></strong></p>
|
215 |
<?php
|
216 |
+
$PinItOnHover = get_option("WL_Pinit_Btn_On_Hover");
|
217 |
+
if (!isset($PinItOnHover)) {
|
218 |
$PinItOnHover = "true";
|
219 |
}
|
220 |
?>
|
221 |
+
<input id="pinitonhover" name="pinitonhover" type="radio" value="true" <?php if ($PinItOnHover == "true") echo "checked=checked"; ?>> <?php esc_html_e('Yes', WEBLIZAR_PINIT_TD); ?>
|
222 |
+
<input id="pinitonhover" name="pinitonhover" type="radio" value="false" <?php if ($PinItOnHover == "false") echo "checked=checked"; ?>> <?php esc_html_e('No', WEBLIZAR_PINIT_TD); ?>
|
223 |
</div>
|
224 |
<hr>
|
225 |
|
227 |
<p><?php esc_html_e('Show Pin It Button', WEBLIZAR_PINIT_TD); ?> <strong><?php esc_html_e('On Mobile / Portable Devices', WEBLIZAR_PINIT_TD); ?></strong></p>
|
228 |
<?php
|
229 |
$PinItStatus = get_option("WL_Mobile_Status");
|
230 |
+
if (!isset($PinItStatus)) {
|
231 |
$PinItStatus = 1;
|
232 |
}
|
233 |
?>
|
234 |
+
<input id="pinitstatus" name="pinitstatus" type="radio" value="1" <?php if ($PinItStatus == 1) echo "checked=checked"; ?>> <?php esc_html_e('Yes', WEBLIZAR_PINIT_TD); ?>
|
235 |
+
<input id="pinitstatus" name="pinitstatus" type="radio" value="0" <?php if ($PinItStatus == 0) echo "checked=checked"; ?>> <?php esc_html_e('No', WEBLIZAR_PINIT_TD); ?>
|
236 |
</div>
|
237 |
<hr>
|
238 |
|
240 |
<p><?php esc_html_e('Pin It Button Size (On Image Hover)', WEBLIZAR_PINIT_TD); ?></p>
|
241 |
<?php
|
242 |
$PinItSize = get_option("WL_Pinit_Btn_Size");
|
243 |
+
if (!isset($PinItSize)) {
|
244 |
$PinItSize = "small";
|
245 |
}
|
246 |
?>
|
247 |
<select id="pinitsize" name="pinitsize">
|
248 |
+
<option value="small" <?php if ($PinItSize == "small") echo "selected=selected"; ?>><?php esc_html_e('Small', WEBLIZAR_PINIT_TD); ?></option>
|
249 |
+
<option value="large" <?php if ($PinItSize == "large") echo "selected=selected"; ?>><?php esc_html_e('Large', WEBLIZAR_PINIT_TD); ?></option>
|
250 |
</select>
|
251 |
</div>
|
252 |
<hr>
|
253 |
+
<?php wp_nonce_field('pinitsetting_nonce_action', 'pinitsetting_nonce_field'); ?>
|
254 |
<button id="pinitsave" name="pinitsave" class="button button-primary" type="button" onclick="return SaveSettings();"><strong><i class="fas fa-save"></i> <?php esc_html_e('Save', WEBLIZAR_PINIT_TD); ?></strong></button>
|
255 |
<i id="loading" name="loading" style="display: none;" class="fas fa-cog fa-spin fa-3x"></i>
|
256 |
</div>
|
257 |
|
258 |
<!-- Exclude Images Tab -->
|
259 |
<div id="exclude-images" class="tab-pane fade">
|
260 |
+
<?php require_once("exclude-images.php"); ?>
|
261 |
</div>
|
262 |
|
263 |
<!-- Exclude Images Tab -->
|
264 |
<div id="exclude-pages" class="tab-pane fade">
|
265 |
+
<?php require_once("exclude-pages.php"); ?>
|
266 |
</div>
|
267 |
|
268 |
<!-- Plugin Recommendation Tab -->
|
269 |
<div id="plug-recom" class="tab-pane fade">
|
270 |
+
<?php require_once("recommendations.php"); ?>
|
271 |
</div>
|
272 |
|
273 |
<!-- Our Products Tab -->
|
274 |
<div id="our-product-tab" class="tab-pane fade">
|
275 |
+
<?php require_once("our_product.php"); ?>
|
276 |
</div>
|
277 |
|
278 |
<!-- Need Help Tab -->
|
302 |
</div>
|
303 |
|
304 |
<script>
|
305 |
+
function SaveSettings() {
|
306 |
+
jQuery('#pinitsave').hide();
|
307 |
+
jQuery('#loading').show();
|
308 |
+
jQuery.ajax({
|
309 |
+
type: "POST",
|
310 |
+
url: ajaxurl,
|
311 |
+
data: {
|
312 |
+
action: "save_pinit",
|
313 |
+
PinItPost: jQuery("input[name=pinitpost]:radio:checked").val(),
|
314 |
+
PinItPage: jQuery("input[name=pinitpage]:radio:checked").val(),
|
315 |
+
PinItOnHover: jQuery("input[name=pinitonhover]:radio:checked").val(),
|
316 |
+
PinItStatus: jQuery("input[name=pinitstatus]:radio:checked").val(),
|
317 |
+
//PinItColor: jQuery("select#pinitcolor").val(),
|
318 |
+
//PinItDesign: jQuery("select#pinitdesign").val(),
|
319 |
+
PinItSize: jQuery("select#pinitsize").val(),
|
320 |
+
PinItSettingNonce: jQuery("input#pinitsetting_nonce_field").val(),
|
321 |
+
},
|
322 |
+
dataType: 'html',
|
323 |
+
complete: function() {},
|
324 |
+
success: function(data) {
|
325 |
+
jQuery('#loading').hide();
|
326 |
+
jQuery('#pinitsave').show();
|
327 |
+
}
|
328 |
+
});
|
329 |
+
}
|
330 |
+
</script>
|