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

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

Code changes from version 2.6.1 to 2.6.2

css/img/Thumbs.db ADDED
Binary file
css/weblizar-smartech.css CHANGED
@@ -733,8 +733,8 @@ display:none !important;
733
  .sidebar ul li a.active .sidebar-item-subtitle {
734
  color: #a6a4b2; }
735
  .sidebar ul li a:hover, .sidebar ul li a:active, .sidebar ul li a:focus {
736
- border-left: 5px solid #ef4238;
737
- background-color: #33313a; }
738
  .sidebar ul li a:hover .sidebar-item-icon, .sidebar ul li a:active .sidebar-item-icon, .sidebar ul li a:focus .sidebar-item-icon {
739
  margin-left: 10px;
740
  -moz-transform: rotate(360deg);
@@ -820,10 +820,10 @@ display:none !important;
820
  -ms-transition: all 0.5s ease;
821
  transition: all 0.5s ease; }
822
  .sidebar .sidebar-profile .sidebar-profile-picture img {
823
- max-width: 100%;
824
- -moz-border-radius: 100%;
825
  -webkit-border-radius: 100%;
826
- border-radius: 100%;
827
  -webkit-box-shadow: 0px 2px 0px rgba(0, 0, 0, 0.25);
828
  -moz-box-shadow: 0px 2px 0px rgba(0, 0, 0, 0.25);
829
  box-shadow: 0px 2px 0px rgba(0, 0, 0, 0.25);
@@ -1823,4 +1823,8 @@ font-family: Georgia,"Times New Roman","Bitstream Charter",Times,serif;
1823
 
1824
  /* input[type=checkbox] {
1825
  visibility: hidden;
1826
- } */
 
 
 
 
733
  .sidebar ul li a.active .sidebar-item-subtitle {
734
  color: #a6a4b2; }
735
  .sidebar ul li a:hover, .sidebar ul li a:active, .sidebar ul li a:focus {
736
+ /* border-left: 5px solid #ef4238;
737
+ background-color: #33313a;*/ }
738
  .sidebar ul li a:hover .sidebar-item-icon, .sidebar ul li a:active .sidebar-item-icon, .sidebar ul li a:focus .sidebar-item-icon {
739
  margin-left: 10px;
740
  -moz-transform: rotate(360deg);
820
  -ms-transition: all 0.5s ease;
821
  transition: all 0.5s ease; }
822
  .sidebar .sidebar-profile .sidebar-profile-picture img {
823
+ max-width: 85%;
824
+ /* -moz-border-radius: 100%;
825
  -webkit-border-radius: 100%;
826
+ border-radius: 100%;*/
827
  -webkit-box-shadow: 0px 2px 0px rgba(0, 0, 0, 0.25);
828
  -moz-box-shadow: 0px 2px 0px rgba(0, 0, 0, 0.25);
829
  box-shadow: 0px 2px 0px rgba(0, 0, 0, 0.25);
1823
 
1824
  /* input[type=checkbox] {
1825
  visibility: hidden;
1826
+ } */
1827
+
1828
+ #wpfooter{
1829
+ position: relative !important;
1830
+ }
img/Thumbs.db ADDED
Binary file
img/weblizarlogo.png ADDED
Binary file
our_product.php CHANGED
@@ -239,6 +239,13 @@
239
  <a class="btn btn-secondary btn-sm" href="https://weblizar.com/best-free-wordpress-themes/" target="_new" title="Download Theme"><i class="fas fa-download"></i></a>
240
  <a class="btn btn-secondary btn-sm" href="https://weblizar.com/themes/weblizar-premium-theme/" target="_new" title="Theme Details"><i class="fas fa-info"></i></a>
241
  <a class="btn btn-secondary btn-sm" href="http://demo.weblizar.com/preview/#weblizar" target="_new" title="Theme Demo"><i class="fas fa-eye"></i></a>
 
 
 
 
 
 
 
242
  </div>
243
  </div>
244
 
239
  <a class="btn btn-secondary btn-sm" href="https://weblizar.com/best-free-wordpress-themes/" target="_new" title="Download Theme"><i class="fas fa-download"></i></a>
240
  <a class="btn btn-secondary btn-sm" href="https://weblizar.com/themes/weblizar-premium-theme/" target="_new" title="Theme Details"><i class="fas fa-info"></i></a>
241
  <a class="btn btn-secondary btn-sm" href="http://demo.weblizar.com/preview/#weblizar" target="_new" title="Theme Demo"><i class="fas fa-eye"></i></a>
242
+ </div>
243
+ <div class="col products col-sm-6 col-md-4 p-3">
244
+ <h4>Love Wedding Premium</h4>
245
+ <p class="icon-size"><i class="fas fa-heart"></i></p>
246
+ <a class="btn btn-secondary btn-sm" href="https://weblizar.com/best-free-wordpress-themes/" target="_new" title="Download Theme"><i class="fas fa-download"></i></a>
247
+ <a class="btn btn-secondary btn-sm" href="https://weblizar.com/themes/love-wedding-premium-theme/" target="_new" title="Theme Details"><i class="fas fa-info"></i></a>
248
+ <a class="btn btn-secondary btn-sm" href="http://demo.weblizar.com/love-wedding/" target="_new" title="Theme Demo"><i class="fas fa-eye"></i></a>
249
  </div>
250
  </div>
251
 
pinterest-pin-It-button.php CHANGED
@@ -1,11 +1,11 @@
1
  <?php
2
  /**
3
  * Plugin Name: Pinterest Pin It Button On Image Hover And After Post & Page Content
4
- * Version: 2.6.1
5
  * Description: Pin Your WordPress Blog Posts Pages Images With Pinterest
6
  * Author: Weblizar
7
- * Author URI: http://weblizar.com/plugins/
8
- * Plugin URI: http://weblizar.com/plugins/pinterest-pin-it-button/
9
  *
10
  * This program is free software; you can redistribute it and/or
11
  * modify it under the terms of the GNU General Public License
@@ -65,11 +65,10 @@ function wl_pinit_js() {
65
 
66
  // exclude images pin it hover
67
  $imags_urls = array();
68
- $imags_urls = get_option('exclude_pin_it_images');
69
- //print_r($imags_urls);
70
  ?>
71
  <script>
72
- <?php if(count($imags_urls) > 0) { foreach($imags_urls as $imags_url) { if($imags_url) { ?>
73
  jQuery(document).ready(function(){
74
  var nopin_img_src = "<?php echo $imags_url; ?>";
75
  jQuery("img").each(function(){
@@ -83,7 +82,6 @@ function wl_pinit_js() {
83
  <?php
84
  }
85
 
86
-
87
  //Add Pin It Button After Post Content
88
  function Load_pin_it_button_after_post_content($content){
89
  if (is_single() && get_post_type( $post = get_post() ) == "post") {
@@ -102,7 +100,6 @@ function Load_pin_it_button_after_post_content($content){
102
  }
103
  add_filter( "the_content", "Load_pin_it_button_after_post_content" );
104
 
105
-
106
  //Add Pin It Button After Page Content
107
  function Load_pin_it_button_after_page_content($content){
108
  if (!is_single() && get_post_type( $post = get_post() ) == "page") {
@@ -123,7 +120,6 @@ add_filter( "the_content", "Load_pin_it_button_after_page_content" );
123
 
124
  //Plugin Settings Admin Menu
125
  add_action('admin_menu','WL_PinItButtonPage');
126
-
127
  function WL_PinItButtonPage() {
128
  $PinItAdminMenu = add_menu_page( 'Pinterest PinIt Button Settings', 'Pinterest PinIt Button', 'administrator', 'pinterest-pinit-button-on-hover', 'pinterest_pinit_button_settings_page', 'dashicons-admin-post');
129
  add_action( 'admin_print_styles-' . $PinItAdminMenu, 'PiniIt_Menu_Assets' );
1
  <?php
2
  /**
3
  * Plugin Name: Pinterest Pin It Button On Image Hover And After Post & Page Content
4
+ * Version: 2.6.2
5
  * Description: Pin Your WordPress Blog Posts Pages Images With Pinterest
6
  * Author: Weblizar
7
+ * Author URI: https://weblizar.com/plugins/
8
+ * Plugin URI: https://weblizar.com/plugins/pinterest-pin-it-button/
9
  *
10
  * This program is free software; you can redistribute it and/or
11
  * modify it under the terms of the GNU General Public License
65
 
66
  // exclude images pin it hover
67
  $imags_urls = array();
68
+ $imags_urls = get_option( 'exclude_pin_it_images', array() );
 
69
  ?>
70
  <script>
71
+ <?php if((is_array($imags_urls)) && count($imags_urls)) { foreach($imags_urls as $imags_url) { if($imags_url) { ?>
72
  jQuery(document).ready(function(){
73
  var nopin_img_src = "<?php echo $imags_url; ?>";
74
  jQuery("img").each(function(){
82
  <?php
83
  }
84
 
 
85
  //Add Pin It Button After Post Content
86
  function Load_pin_it_button_after_post_content($content){
87
  if (is_single() && get_post_type( $post = get_post() ) == "post") {
100
  }
101
  add_filter( "the_content", "Load_pin_it_button_after_post_content" );
102
 
 
103
  //Add Pin It Button After Page Content
104
  function Load_pin_it_button_after_page_content($content){
105
  if (!is_single() && get_post_type( $post = get_post() ) == "page") {
120
 
121
  //Plugin Settings Admin Menu
122
  add_action('admin_menu','WL_PinItButtonPage');
 
123
  function WL_PinItButtonPage() {
124
  $PinItAdminMenu = add_menu_page( 'Pinterest PinIt Button Settings', 'Pinterest PinIt Button', 'administrator', 'pinterest-pinit-button-on-hover', 'pinterest_pinit_button_settings_page', 'dashicons-admin-post');
125
  add_action( 'admin_print_styles-' . $PinItAdminMenu, 'PiniIt_Menu_Assets' );
readme.txt CHANGED
@@ -1,12 +1,12 @@
1
  === Pinterest Pin It Button On Image Hover And Post ===
2
  Contributors: weblizar
3
- Donate link: http://www.weblizar.com/
4
  Contributors: weblizar
5
- Donate link: http://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: 4.9.6
9
- Stable tag: 2.6.1
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
@@ -72,6 +72,10 @@ Please use WordPress [support forum](http://wordpress.org/support/plugin/pintere
72
 
73
  For more information, see [Weblizar](http://wwww.weblizar.com/).
74
 
 
 
 
 
75
  = Version 2.6.1 - minor php error fix
76
  = Version 2.6 - Update Font-Awesome library + Add Our Product and Recommendation Page + Update Review Link + WordPress 4.9.6 Compatible
77
  = Version 2.5 - update + WordPress 4.8.1 Compatible
1
  === Pinterest Pin It Button On Image Hover And Post ===
2
  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: 3.8
8
+ Tested up to: 4.9.7
9
+ Stable tag: 2.6.2
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
72
 
73
  For more information, see [Weblizar](http://wwww.weblizar.com/).
74
 
75
+ = Version 2.6.2 =
76
+ - Invalid Argument supplied in foreach loop bug-fixed
77
+ - Add new product in product page
78
+ - minor changes applied
79
  = Version 2.6.1 - minor php error fix
80
  = Version 2.6 - Update Font-Awesome library + Add Our Product and Recommendation Page + Update Review Link + WordPress 4.9.6 Compatible
81
  = Version 2.5 - update + WordPress 4.8.1 Compatible
settings.php CHANGED
@@ -105,10 +105,11 @@ background: #ed5c5c;
105
  <ul class="nav " id="side-menu">
106
  <li class="sidebar-profile text-center">
107
  <span class="sidebar-profile-picture">
108
- <img src="<?php echo esc_url(WEBLIZAR_PINIT_PLUGIN_URL.'img/photo.jpg' ); ?>" alt="Profile Picture"/>
 
 
109
  </span>
110
- <p class="sidebar-profile-description">Powered By</p>
111
- <h3 class="sidebar-profile-name">Weblizar</h3>
112
  <style>
113
  .acl-rate-us span.dashicons{
114
  width: 30px;
105
  <ul class="nav " id="side-menu">
106
  <li class="sidebar-profile text-center">
107
  <span class="sidebar-profile-picture">
108
+ <a href="https://www.weblizar.com" target="_blank">
109
+ <img src="<?php echo esc_url(WEBLIZAR_PINIT_PLUGIN_URL.'img/weblizarlogo.png' ); ?>" alt="Profile Picture"/>
110
+ </a>
111
  </span>
112
+
 
113
  <style>
114
  .acl-rate-us span.dashicons{
115
  width: 30px;