Version Description
- Facebook like box clipping issue fixed
- Pinterest all issues fixed
- Other minor code fixes
Download this release
Release Info
Developer | BeingMaverick |
Plugin | Add Twitter, Facebook Like, Google plus one Social share |
Version | 2.4.1 |
Comparing to | |
See all releases |
Code changes from version 2.4.0 to 2.4.1
- readme.txt +8 -2
- tf_display.php +7 -5
- twitter-facebook-share.php +1 -1
readme.txt
CHANGED
@@ -4,8 +4,8 @@ Plugin Site: http://www.searchtechword.com
|
|
4 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=86FHBFVUYN45J
|
5 |
Tags: Facebook like, twitter button, twitter share,LinkedIn, Google +1 button, Google plus one, Stumbleupon, social share, twitter facebook share,stumbleupon, LinkedIn share, floating sharebar, facebook, +1, pinterest button, pinterest share
|
6 |
Requires at least: 2.8
|
7 |
-
Tested up to: 3.
|
8 |
-
Stable tag: 2.4.
|
9 |
|
10 |
== Description ==
|
11 |
<br />
|
@@ -65,6 +65,12 @@ You can Check Screen Shots on my website. I use the same plugin to display Socia
|
|
65 |
|
66 |
== Changelog ==
|
67 |
|
|
|
|
|
|
|
|
|
|
|
|
|
68 |
= 2.4.0 =
|
69 |
* Bug fix for Facebook Like on IE
|
70 |
* Support https sites
|
4 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=86FHBFVUYN45J
|
5 |
Tags: Facebook like, twitter button, twitter share,LinkedIn, Google +1 button, Google plus one, Stumbleupon, social share, twitter facebook share,stumbleupon, LinkedIn share, floating sharebar, facebook, +1, pinterest button, pinterest share
|
6 |
Requires at least: 2.8
|
7 |
+
Tested up to: 3.8.1
|
8 |
+
Stable tag: 2.4.1
|
9 |
|
10 |
== Description ==
|
11 |
<br />
|
65 |
|
66 |
== Changelog ==
|
67 |
|
68 |
+
= 2.4.1 =
|
69 |
+
|
70 |
+
* Facebook like box clipping issue fixed
|
71 |
+
* Pinterest all issues fixed
|
72 |
+
* Other minor code fixes
|
73 |
+
|
74 |
= 2.4.0 =
|
75 |
* Bug fix for Facebook Like on IE
|
76 |
* Support https sites
|
tf_display.php
CHANGED
@@ -28,10 +28,11 @@ function twitter_facebook_share_init() {
|
|
28 |
if ($option['active_buttons']['linkedin']==true) {
|
29 |
wp_enqueue_script('twitter_facebook_share_linkedin', 'http'.(is_ssl()?'s':'').'://platform.linkedin.com/in.js','','',$option['jsload']);
|
30 |
}
|
|
|
31 |
if ($option['active_buttons']['pinterest']==true) {
|
32 |
wp_enqueue_script('twitter_facebook_share_pinterest', 'http'.(is_ssl()?'s':'').'://assets.pinterest.com/js/pinit.js','','',$option['jsload']);
|
33 |
}
|
34 |
-
|
35 |
wp_enqueue_style('tfg_style', '/wp-content/plugins/twitter-facebook-google-plusone-share/tfg_style.css');
|
36 |
|
37 |
|
@@ -212,7 +213,7 @@ function kc_social_share($source)
|
|
212 |
if ($option['active_buttons']['facebook_like']==true) {
|
213 |
$output .= '
|
214 |
<div class="buttons">
|
215 |
-
<iframe src="http'.(is_ssl()?'s':'').'://www.facebook.com/plugins/like.php?href=' . urlencode($post_link) . '&layout=box_count&show_faces=false&action=like&font=verdana&colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:
|
216 |
</div>';
|
217 |
}
|
218 |
|
@@ -237,7 +238,7 @@ function kc_social_share($source)
|
|
237 |
</div>';
|
238 |
}
|
239 |
if ($option['active_buttons']['linkedin']==true) {
|
240 |
-
$output .= '<div class="buttons" style="padding-left:0px;"><script type="in/share" data-url="' . $post_link . '" data-counter="top"></script></div>';
|
241 |
}
|
242 |
if ($option['active_buttons']['stumbleupon']==true) {
|
243 |
$output .= '
|
@@ -245,8 +246,9 @@ function kc_social_share($source)
|
|
245 |
}
|
246 |
if ($option['active_buttons']['pinterest']==true) {
|
247 |
$post_image = tf_get_image(array('post_id' => $post->ID));
|
248 |
-
$output .= '<div class="buttons" style="padding-left:5px;">
|
249 |
-
<a href="http'.(is_ssl()?'s':'').'://pinterest.com/pin/create/button/?url=' . $post_link . '&media=' . $post_image . '"
|
|
|
250 |
}
|
251 |
$output .= '</div><div style="clear:both"></div>';
|
252 |
return $output;
|
28 |
if ($option['active_buttons']['linkedin']==true) {
|
29 |
wp_enqueue_script('twitter_facebook_share_linkedin', 'http'.(is_ssl()?'s':'').'://platform.linkedin.com/in.js','','',$option['jsload']);
|
30 |
}
|
31 |
+
/*
|
32 |
if ($option['active_buttons']['pinterest']==true) {
|
33 |
wp_enqueue_script('twitter_facebook_share_pinterest', 'http'.(is_ssl()?'s':'').'://assets.pinterest.com/js/pinit.js','','',$option['jsload']);
|
34 |
}
|
35 |
+
*/
|
36 |
wp_enqueue_style('tfg_style', '/wp-content/plugins/twitter-facebook-google-plusone-share/tfg_style.css');
|
37 |
|
38 |
|
213 |
if ($option['active_buttons']['facebook_like']==true) {
|
214 |
$output .= '
|
215 |
<div class="buttons">
|
216 |
+
<iframe src="http'.(is_ssl()?'s':'').'://www.facebook.com/plugins/like.php?href=' . urlencode($post_link) . '&layout=box_count&show_faces=false&action=like&font=verdana&colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:60px; height:65px;"></iframe>
|
217 |
</div>';
|
218 |
}
|
219 |
|
238 |
</div>';
|
239 |
}
|
240 |
if ($option['active_buttons']['linkedin']==true) {
|
241 |
+
$output .= '<div class="buttons" style="padding-left: 0px;"><script type="in/share" data-url="' . $post_link . '" data-counter="top"></script></div>';
|
242 |
}
|
243 |
if ($option['active_buttons']['stumbleupon']==true) {
|
244 |
$output .= '
|
246 |
}
|
247 |
if ($option['active_buttons']['pinterest']==true) {
|
248 |
$post_image = tf_get_image(array('post_id' => $post->ID));
|
249 |
+
$output .= '<div class="buttons" style="padding-top: 5px; padding-left: 5px; padding-top: 35px;">
|
250 |
+
<a href="http'.(is_ssl()?'s':'').'://pinterest.com/pin/create/button/?url=' . urlencode($post_link) . '&media= ' . urlencode($post_image) . '" data-pin-do="buttonPin" data-pin-config="above" data-pin-height="28"><img src="//assets.pinterest.com/images/pidgets/pinit_fg_en_rect_gray_28.png" /></a>
|
251 |
+
<script type="text/javascript" async src="//assets.pinterest.com/js/pinit.js"></script></div>';
|
252 |
}
|
253 |
$output .= '</div><div style="clear:both"></div>';
|
254 |
return $output;
|
twitter-facebook-share.php
CHANGED
@@ -5,7 +5,7 @@ Description: WordPress plugin for twitter, facebook, Google +1 (plus one) and ot
|
|
5 |
Author: Kunal Chichkar
|
6 |
Author URI: http://www.searchtechword.com
|
7 |
Plugin URI: http://www.searchtechword.com/2011/06/wordpress-plugin-add-twitter-facebook-google-plus-one-share
|
8 |
-
Version: 2.4.
|
9 |
License: GPL
|
10 |
*/
|
11 |
/*
|
5 |
Author: Kunal Chichkar
|
6 |
Author URI: http://www.searchtechword.com
|
7 |
Plugin URI: http://www.searchtechword.com/2011/06/wordpress-plugin-add-twitter-facebook-google-plus-one-share
|
8 |
+
Version: 2.4.1
|
9 |
License: GPL
|
10 |
*/
|
11 |
/*
|