Version Description
Download this release
Release Info
Developer | xradar |
Plugin | Simple Social Media Share Buttons – Social Sharing for Everyone |
Version | 1.6.3 |
Comparing to | |
See all releases |
Code changes from version 1.6.2 to 1.6.3
- readme.txt +12 -11
- simple-social-buttons.php +6 -5
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: xradar
|
|
3 |
Donate link: http://www.rabinek.pl/
|
4 |
Tags: facebook, google, twitter, pinterest, plus one, like it, like, share, pin, pin it
|
5 |
Requires at least: 2.8
|
6 |
-
Tested up to: 3.
|
7 |
-
Stable tag: 1.6.
|
8 |
|
9 |
Insert and customize social buttons: Facebook Like it, Google plus +1, Twitter share, Pinterest Pin it. Share your content with friends.
|
10 |
|
@@ -42,14 +42,8 @@ Simple Social Buttons is currently in the following languages:
|
|
42 |
|
43 |
Feel free if you want to create a translation of this plugin. Contact me via e-mail or Twitter [@rabinek](https://twitter.com/rabinek "Paweł Rabinek on Twitter"), and I'll add your's translation to Simple Social Buttons.
|
44 |
|
45 |
-
For more information about Wordpress and SEO, visit my [
|
46 |
-
Also check my
|
47 |
-
|
48 |
-
Big thanks for support in development of this plugin for:
|
49 |
-
|
50 |
-
- Karol from [Liga BBVA](http://www.ligabbva.pl/ "Liga hiszpańska BBVA") for PHP developement
|
51 |
-
- Talem Technologies - [Pozycjonowanie Bydgoszcz](http://www.talem.eu/ "SEO Pozycjonowanie Bydgoszcz") for time and resources
|
52 |
-
- See more thanks in FAQ section
|
53 |
|
54 |
== Installation ==
|
55 |
|
@@ -79,7 +73,7 @@ This plugin automatically adds the Facebook Like button, Google plus one +1, Twi
|
|
79 |
|
80 |
= How about support? =
|
81 |
|
82 |
-
Follow me at Twitter [@rabinek](http://twitter.com/rabinek "Paweł Rabinek na Twitter") or send me a mention. I'll reply as soon as I get it. You can also visit my [
|
83 |
|
84 |
= Is there a template tag for custom install? =
|
85 |
|
@@ -93,6 +87,7 @@ Make sure you have set WPLANG in wp-config.php file. Correct values are "en_US"
|
|
93 |
|
94 |
**Big thanks to:**
|
95 |
|
|
|
96 |
- [@RhooManu](http://twitter.com/RhooManu "RhooManu on Twitter") for french translation
|
97 |
- [Usability Idealist](http://usability-idealist.de/ "Fabian Wolf - Usability Idealist") for converting code to object-oriented, adding buttons order and many fixes
|
98 |
- [@Dennis Schreiber](http://twitter.com/flammbar "Dennis Schreiber on Twitter") for german translation
|
@@ -163,3 +158,9 @@ Make sure you have set WPLANG in wp-config.php file. Correct values are "en_US"
|
|
163 |
* Added Pinterest button
|
164 |
* Some bug fixes
|
165 |
|
|
|
|
|
|
|
|
|
|
|
|
3 |
Donate link: http://www.rabinek.pl/
|
4 |
Tags: facebook, google, twitter, pinterest, plus one, like it, like, share, pin, pin it
|
5 |
Requires at least: 2.8
|
6 |
+
Tested up to: 3.6.1
|
7 |
+
Stable tag: 1.6.3
|
8 |
|
9 |
Insert and customize social buttons: Facebook Like it, Google plus +1, Twitter share, Pinterest Pin it. Share your content with friends.
|
10 |
|
42 |
|
43 |
Feel free if you want to create a translation of this plugin. Contact me via e-mail or Twitter [@rabinek](https://twitter.com/rabinek "Paweł Rabinek on Twitter"), and I'll add your's translation to Simple Social Buttons.
|
44 |
|
45 |
+
For more information about Wordpress and SEO, visit my blog [Rabinek.pl](http://www.rabinek.pl/ "Paweł Rabinek - Blog SEO") (in polish).
|
46 |
+
Also check my free SEO audit tool [Seoptimer.com - Website Review](http://www.seoptimer.com/ "Free SEO Audit tool").
|
|
|
|
|
|
|
|
|
|
|
|
|
47 |
|
48 |
== Installation ==
|
49 |
|
73 |
|
74 |
= How about support? =
|
75 |
|
76 |
+
Follow me at Twitter [@rabinek](http://twitter.com/rabinek "Paweł Rabinek na Twitter") or send me a mention. I'll reply as soon as I get it. You can also visit my blog [Rabinek.pl](http://www.rabinek.pl/ "Paweł Rabinek - Blog SEO") (in polish).
|
77 |
|
78 |
= Is there a template tag for custom install? =
|
79 |
|
87 |
|
88 |
**Big thanks to:**
|
89 |
|
90 |
+
- Karol from [LigaBBVA.pl](http://www.ligabbva.pl/ "Liga hiszpańska BBVA") for PHP developement
|
91 |
- [@RhooManu](http://twitter.com/RhooManu "RhooManu on Twitter") for french translation
|
92 |
- [Usability Idealist](http://usability-idealist.de/ "Fabian Wolf - Usability Idealist") for converting code to object-oriented, adding buttons order and many fixes
|
93 |
- [@Dennis Schreiber](http://twitter.com/flammbar "Dennis Schreiber on Twitter") for german translation
|
158 |
* Added Pinterest button
|
159 |
* Some bug fixes
|
160 |
|
161 |
+
= 1.6.2 =
|
162 |
+
* Added slovak translation
|
163 |
+
|
164 |
+
= 1.6.3 =
|
165 |
+
* Fixed CSS class names ("buttom" to "button")
|
166 |
+
* Fixed facebook Like box cut off
|
simple-social-buttons.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
Plugin URI: http://www.rabinek.pl/simple-social-buttons-wordpress/
|
5 |
Description: Insert social buttons into posts and archives: Facebook "Like it", Google Plus One "+1" and Twitter share.
|
6 |
Author: Paweł Rabinek
|
7 |
-
Version: 1.6.
|
8 |
Author URI: http://www.rabinek.pl/
|
9 |
*/
|
10 |
|
@@ -35,7 +35,7 @@
|
|
35 |
|
36 |
class SimpleSocialButtonsPR {
|
37 |
var $pluginName = 'Simple Social Buttons';
|
38 |
-
var $pluginVersion = '1.6.
|
39 |
var $pluginPrefix = 'ssb_pr_';
|
40 |
var $hideCustomMetaKey = '_ssb_hide';
|
41 |
|
@@ -177,6 +177,7 @@ window.___gcfg = {lang: '<?php echo $lang_g; ?>'};
|
|
177 |
<style type="text/css">
|
178 |
div.simplesocialbuttons { height: 20px; margin: 10px auto 10px 0; text-align: center; clear: left; }
|
179 |
div.simplesocialbutton { float: left; text-align: center;}
|
|
|
180 |
</style>
|
181 |
<!-- End of Simple Social Buttons -->
|
182 |
|
@@ -395,10 +396,10 @@ window.___gcfg = {lang: '<?php echo $lang_g; ?>'};
|
|
395 |
$arrButtonsCode[] = '<div class="simplesocialbutton ssb-button-googleplus"><!-- Google Plus One--><div class="g-plusone" data-size="medium" data-href="'.$permalink.'"></div></div>';
|
396 |
break;
|
397 |
case 'fblike':
|
398 |
-
$arrButtonsCode[] = '<div class="simplesocialbutton ssb-button-fblike"><!-- Facebook like--><div id="fb-root"></div><div class="fb-like" data-href="'.$permalink.'" data-send="false" data-layout="button_count" data-
|
399 |
break;
|
400 |
case 'twitter':
|
401 |
-
$arrButtonsCode[] = '<div class="simplesocialbutton ssb-
|
402 |
break;
|
403 |
case 'pinterest':
|
404 |
$thumb_id = get_post_thumbnail_id($post->ID);
|
@@ -414,7 +415,7 @@ window.___gcfg = {lang: '<?php echo $lang_g; ?>'};
|
|
414 |
// if there isn't thumbnail alt, take a post title as a description
|
415 |
$description = (!empty($thumb_alt)) ? $thumb_alt : $title ;
|
416 |
|
417 |
-
$arrButtonsCode[] = '<div class="simplesocialbutton ssb-
|
418 |
break;
|
419 |
}
|
420 |
}
|
4 |
Plugin URI: http://www.rabinek.pl/simple-social-buttons-wordpress/
|
5 |
Description: Insert social buttons into posts and archives: Facebook "Like it", Google Plus One "+1" and Twitter share.
|
6 |
Author: Paweł Rabinek
|
7 |
+
Version: 1.6.3
|
8 |
Author URI: http://www.rabinek.pl/
|
9 |
*/
|
10 |
|
35 |
|
36 |
class SimpleSocialButtonsPR {
|
37 |
var $pluginName = 'Simple Social Buttons';
|
38 |
+
var $pluginVersion = '1.6.3';
|
39 |
var $pluginPrefix = 'ssb_pr_';
|
40 |
var $hideCustomMetaKey = '_ssb_hide';
|
41 |
|
177 |
<style type="text/css">
|
178 |
div.simplesocialbuttons { height: 20px; margin: 10px auto 10px 0; text-align: center; clear: left; }
|
179 |
div.simplesocialbutton { float: left; text-align: center;}
|
180 |
+
.fb-like iframe { max-width: none !important; }
|
181 |
</style>
|
182 |
<!-- End of Simple Social Buttons -->
|
183 |
|
396 |
$arrButtonsCode[] = '<div class="simplesocialbutton ssb-button-googleplus"><!-- Google Plus One--><div class="g-plusone" data-size="medium" data-href="'.$permalink.'"></div></div>';
|
397 |
break;
|
398 |
case 'fblike':
|
399 |
+
$arrButtonsCode[] = '<div class="simplesocialbutton ssb-button-fblike"><!-- Facebook like--><div id="fb-root"></div><div class="fb-like" data-href="'.$permalink.'" data-send="false" data-layout="button_count" data-show-faces="false"></div></div>';
|
400 |
break;
|
401 |
case 'twitter':
|
402 |
+
$arrButtonsCode[] = '<div class="simplesocialbutton ssb-button-twitter"><!-- Twitter--><a href="https://twitter.com/share" class="twitter-share-button" data-text="'.$title.'" data-url="'.$permalink.'" ' . ((!empty($this->settings['twitterusername'])) ? 'data-via="'.$this->settings['twitterusername'].'" ' : '') . 'rel="nofollow"></a></div>';
|
403 |
break;
|
404 |
case 'pinterest':
|
405 |
$thumb_id = get_post_thumbnail_id($post->ID);
|
415 |
// if there isn't thumbnail alt, take a post title as a description
|
416 |
$description = (!empty($thumb_alt)) ? $thumb_alt : $title ;
|
417 |
|
418 |
+
$arrButtonsCode[] = '<div class="simplesocialbutton ssb-button-pinterest"><!-- Pinterest--><a href="http://pinterest.com/pin/create/button/?url='.urlencode($permalink).'&media='.urlencode($thumb_src).'&description='.urlencode($description).'" class="pin-it-button" count-layout="horizontal" rel="nofollow"><img border="0" src="//assets.pinterest.com/images/PinExt.png" title="Pin It" /></a></div>';
|
419 |
break;
|
420 |
}
|
421 |
}
|