Simple Follow Me Social Buttons Widget - Version 1.6

Version Description

  • Fixed icons visibility in form when white icons.
  • Added some translation.
Download this release

Release Info

Developer lucymtc
Plugin Icon 128x128 Simple Follow Me Social Buttons Widget
Version 1.6
Comparing to
See all releases

Code changes from version 1.5 to 1.6

assets/css/admin.css CHANGED
@@ -26,6 +26,10 @@ div.widget[id*=_sfmsb] input.s{
26
  width:100px;
27
  }
28
 
 
 
 
 
29
  div.sfmsb-icons-container a{
30
  text-decoration:none;
31
  margin:0px 8px 10px 8px;
26
  width:100px;
27
  }
28
 
29
+ div.sfmsb-icons-container.dark a{
30
+ background-color: #000000;
31
+ }
32
+
33
  div.sfmsb-icons-container a{
34
  text-decoration:none;
35
  margin:0px 8px 10px 8px;
includes/widget.php CHANGED
@@ -40,7 +40,7 @@ class Sfmsb_Widget extends WP_Widget {
40
 
41
  $widget_ops = array(
42
  'classname' => 'sfmsb_widget',
43
- 'description' => 'Display follow me social buttons'
44
  );
45
 
46
  $this->available_buttons = SFMSB::instance()->available_buttons;
@@ -91,8 +91,16 @@ class Sfmsb_Widget extends WP_Widget {
91
  </p>
92
 
93
  <!-- *** ENABLE checkbox & URL text ***-->
94
-
95
- <div class="sfmsb-icons-container">
 
 
 
 
 
 
 
 
96
 
97
  <?php
98
 
40
 
41
  $widget_ops = array(
42
  'classname' => 'sfmsb_widget',
43
+ 'description' => __('Adds "follow me" social buttons', 'sfmsb_domain')
44
  );
45
 
46
  $this->available_buttons = SFMSB::instance()->available_buttons;
91
  </p>
92
 
93
  <!-- *** ENABLE checkbox & URL text ***-->
94
+ <?php
95
+
96
+ //** patch to add a black bg to buttons if color of icons is white
97
+ $class = '';
98
+ if( $instance['color'] == '#ffffff' || $instance['color'] == '#fff' || $instance['color'] == 'white' ) {
99
+ $class = " dark";
100
+ }
101
+
102
+ ?>
103
+ <div class="sfmsb-icons-container<?php echo $class ?>">
104
 
105
  <?php
106
 
languages/sfmsb_domain-en_EN.mo CHANGED
Binary file
languages/sfmsb_domain-en_EN.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Simple Follow Me Social Buttons Widget\n"
4
- "POT-Creation-Date: 2014-08-25 16:29+0100\n"
5
- "PO-Revision-Date: 2014-08-25 16:29+0100\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: en\n"
@@ -18,68 +18,72 @@ msgstr ""
18
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
19
  "X-Poedit-SearchPath-0: .\n"
20
 
21
- #: includes/_widget.php:25 includes/widget.php:25
22
  msgid "Social"
23
  msgstr ""
24
 
25
- #: includes/_widget.php:28 includes/widget.php:28
26
  msgid "Follow me on:"
27
  msgstr ""
28
 
29
- #: includes/_widget.php:52 includes/widget.php:49
 
 
 
 
30
  msgid "Simple follow me social buttons"
31
  msgstr ""
32
 
33
- #: includes/_widget.php:73 includes/widget.php:74
34
  msgid "Title"
35
  msgstr ""
36
 
37
- #: includes/_widget.php:84 includes/widget.php:85
38
  msgid "Text"
39
  msgstr ""
40
 
41
- #: includes/_widget.php:108 includes/widget.php:106
42
  msgid "Your Email address or other contact URL"
43
  msgstr ""
44
 
45
- #: includes/_widget.php:124 includes/widget.php:121
46
  msgid " URL"
47
  msgstr ""
48
 
49
- #: includes/_widget.php:145 includes/widget.php:153
 
 
 
 
 
 
50
  msgid "Style"
51
  msgstr ""
52
 
53
- #: includes/_widget.php:147 includes/widget.php:155
54
  msgid "Rounded"
55
  msgstr ""
56
 
57
- #: includes/_widget.php:148 includes/widget.php:156
58
  msgid "Squared"
59
  msgstr ""
60
 
61
- #: includes/_widget.php:159 includes/widget.php:161
62
  msgid "Color"
63
  msgstr ""
64
 
65
- #: includes/_widget.php:165 includes/widget.php:167
66
  msgid "Size"
67
  msgstr ""
68
 
69
- #: includes/_widget.php:177 includes/widget.php:178
70
  msgid "Position"
71
  msgstr ""
72
 
73
- #: includes/_widget.php:186 includes/widget.php:187
74
  msgid "Icons under text"
75
  msgstr ""
76
 
77
- #: includes/_widget.php:194 includes/widget.php:194
78
  msgid "Icons next to text"
79
  msgstr ""
80
-
81
- #: includes/widget.php:146
82
- msgid ""
83
- "Click on any icon to input the url and enable it. Leave the input blank to "
84
- "disable the icon."
85
- msgstr ""
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Simple Follow Me Social Buttons Widget\n"
4
+ "POT-Creation-Date: 2014-08-27 11:05+0100\n"
5
+ "PO-Revision-Date: 2014-08-27 11:05+0100\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: en\n"
18
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
19
  "X-Poedit-SearchPath-0: .\n"
20
 
21
+ #: includes/widget.php:25
22
  msgid "Social"
23
  msgstr ""
24
 
25
+ #: includes/widget.php:28
26
  msgid "Follow me on:"
27
  msgstr ""
28
 
29
+ #: includes/widget.php:43
30
+ msgid "Adds \"follow me\" social buttons"
31
+ msgstr ""
32
+
33
+ #: includes/widget.php:49
34
  msgid "Simple follow me social buttons"
35
  msgstr ""
36
 
37
+ #: includes/widget.php:74
38
  msgid "Title"
39
  msgstr ""
40
 
41
+ #: includes/widget.php:85
42
  msgid "Text"
43
  msgstr ""
44
 
45
+ #: includes/widget.php:114
46
  msgid "Your Email address or other contact URL"
47
  msgstr ""
48
 
49
+ #: includes/widget.php:129
50
  msgid " URL"
51
  msgstr ""
52
 
53
+ #: includes/widget.php:154
54
+ msgid ""
55
+ "Click on any icon to input the url and enable it. Leave the input blank to "
56
+ "disable the icon."
57
+ msgstr ""
58
+
59
+ #: includes/widget.php:161
60
  msgid "Style"
61
  msgstr ""
62
 
63
+ #: includes/widget.php:163
64
  msgid "Rounded"
65
  msgstr ""
66
 
67
+ #: includes/widget.php:164
68
  msgid "Squared"
69
  msgstr ""
70
 
71
+ #: includes/widget.php:169
72
  msgid "Color"
73
  msgstr ""
74
 
75
+ #: includes/widget.php:175
76
  msgid "Size"
77
  msgstr ""
78
 
79
+ #: includes/widget.php:186
80
  msgid "Position"
81
  msgstr ""
82
 
83
+ #: includes/widget.php:195
84
  msgid "Icons under text"
85
  msgstr ""
86
 
87
+ #: includes/widget.php:202
88
  msgid "Icons next to text"
89
  msgstr ""
 
 
 
 
 
 
languages/sfmsb_domain-es_ES.mo CHANGED
Binary file
languages/sfmsb_domain-es_ES.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Simple Follow Me Social Buttons Widget\n"
4
- "POT-Creation-Date: 2014-08-25 16:28+0100\n"
5
- "PO-Revision-Date: 2014-08-25 16:30+0100\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: es\n"
@@ -18,73 +18,77 @@ msgstr ""
18
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
19
  "X-Poedit-SearchPath-0: .\n"
20
 
21
- #: includes/_widget.php:25 includes/widget.php:25
22
  msgid "Social"
23
  msgstr "Social"
24
 
25
- #: includes/_widget.php:28 includes/widget.php:28
26
  msgid "Follow me on:"
27
  msgstr "Sígueme en:"
28
 
29
- #: includes/_widget.php:52 includes/widget.php:49
 
 
 
 
30
  msgid "Simple follow me social buttons"
31
  msgstr "Simple follow me social buttons"
32
 
33
- #: includes/_widget.php:73 includes/widget.php:74
34
  msgid "Title"
35
  msgstr "Título"
36
 
37
- #: includes/_widget.php:84 includes/widget.php:85
38
  msgid "Text"
39
  msgstr "Texto"
40
 
41
- #: includes/_widget.php:108 includes/widget.php:106
42
  msgid "Your Email address or other contact URL"
43
  msgstr "Tu dirección email u otra URL de contacto"
44
 
45
- #: includes/_widget.php:124 includes/widget.php:121
46
  msgid " URL"
47
  msgstr "URL"
48
 
49
- #: includes/_widget.php:145 includes/widget.php:153
 
 
 
 
 
 
 
 
50
  msgid "Style"
51
  msgstr "Estilo"
52
 
53
- #: includes/_widget.php:147 includes/widget.php:155
54
  msgid "Rounded"
55
  msgstr "Redondo"
56
 
57
- #: includes/_widget.php:148 includes/widget.php:156
58
  msgid "Squared"
59
  msgstr "Cuadrado"
60
 
61
- #: includes/_widget.php:159 includes/widget.php:161
62
  msgid "Color"
63
  msgstr "Color"
64
 
65
- #: includes/_widget.php:165 includes/widget.php:167
66
  msgid "Size"
67
  msgstr "Tamaño"
68
 
69
- #: includes/_widget.php:177 includes/widget.php:178
70
  msgid "Position"
71
  msgstr "Posición"
72
 
73
- #: includes/_widget.php:186 includes/widget.php:187
74
  msgid "Icons under text"
75
  msgstr "Iconos bajo texto"
76
 
77
- #: includes/_widget.php:194 includes/widget.php:194
78
  msgid "Icons next to text"
79
  msgstr "Iconos junto texto"
80
 
81
- #: includes/widget.php:146
82
- msgid ""
83
- "Click on any icon to input the url and enable it. Leave the input blank to "
84
- "disable the icon."
85
- msgstr ""
86
- "Pincha en un icono para introducir su enlace y activarlo. Deja el campo de "
87
- "texto en blanco para desactivarlo."
88
-
89
  #~ msgid "Your "
90
  #~ msgstr "Tu "
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Simple Follow Me Social Buttons Widget\n"
4
+ "POT-Creation-Date: 2014-08-27 11:05+0100\n"
5
+ "PO-Revision-Date: 2014-08-27 11:07+0100\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: es\n"
18
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
19
  "X-Poedit-SearchPath-0: .\n"
20
 
21
+ #: includes/widget.php:25
22
  msgid "Social"
23
  msgstr "Social"
24
 
25
+ #: includes/widget.php:28
26
  msgid "Follow me on:"
27
  msgstr "Sígueme en:"
28
 
29
+ #: includes/widget.php:43
30
+ msgid "Adds \"follow me\" social buttons"
31
+ msgstr "Añade botones sociales tipo \"Sígueme en\""
32
+
33
+ #: includes/widget.php:49
34
  msgid "Simple follow me social buttons"
35
  msgstr "Simple follow me social buttons"
36
 
37
+ #: includes/widget.php:74
38
  msgid "Title"
39
  msgstr "Título"
40
 
41
+ #: includes/widget.php:85
42
  msgid "Text"
43
  msgstr "Texto"
44
 
45
+ #: includes/widget.php:114
46
  msgid "Your Email address or other contact URL"
47
  msgstr "Tu dirección email u otra URL de contacto"
48
 
49
+ #: includes/widget.php:129
50
  msgid " URL"
51
  msgstr "URL"
52
 
53
+ #: includes/widget.php:154
54
+ msgid ""
55
+ "Click on any icon to input the url and enable it. Leave the input blank to "
56
+ "disable the icon."
57
+ msgstr ""
58
+ "Pincha en un icono para introducir su enlace y activarlo. Deja el campo de "
59
+ "texto en blanco para desactivarlo."
60
+
61
+ #: includes/widget.php:161
62
  msgid "Style"
63
  msgstr "Estilo"
64
 
65
+ #: includes/widget.php:163
66
  msgid "Rounded"
67
  msgstr "Redondo"
68
 
69
+ #: includes/widget.php:164
70
  msgid "Squared"
71
  msgstr "Cuadrado"
72
 
73
+ #: includes/widget.php:169
74
  msgid "Color"
75
  msgstr "Color"
76
 
77
+ #: includes/widget.php:175
78
  msgid "Size"
79
  msgstr "Tamaño"
80
 
81
+ #: includes/widget.php:186
82
  msgid "Position"
83
  msgstr "Posición"
84
 
85
+ #: includes/widget.php:195
86
  msgid "Icons under text"
87
  msgstr "Iconos bajo texto"
88
 
89
+ #: includes/widget.php:202
90
  msgid "Icons next to text"
91
  msgstr "Iconos junto texto"
92
 
 
 
 
 
 
 
 
 
93
  #~ msgid "Your "
94
  #~ msgstr "Tu "
readme.txt CHANGED
@@ -1,9 +1,10 @@
1
  === Simple Follow Me Social Buttons Widget ===
2
  Contributors: lucymtc
 
3
  Tags: social,follow me,buttons,twitter,facebook,pinterest,google plus,linkedin,wordpress,rss,github,youtube,vimeo,instagram,email,sound cloud,itunes,font icons,retina ready
4
  Requires at least: 3.8
5
  Tested up to: 4.0
6
- Stable tag: 1.5
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -35,7 +36,10 @@ Availbale Icons:
35
  * SoundCloud
36
  * iTunes
37
 
38
- Icons from www.flaticon.com
 
 
 
39
 
40
 
41
  == Installation ==
@@ -50,6 +54,10 @@ Icons from www.flaticon.com
50
 
51
  == Changelog ==
52
 
 
 
 
 
53
  = 1.5 =
54
  * Improved user interface design on the widget admin form.
55
  * Added iTunes icon.
1
  === Simple Follow Me Social Buttons Widget ===
2
  Contributors: lucymtc
3
+ Donate link: http://wptips.me/simple-follow-social-buttons-widget/
4
  Tags: social,follow me,buttons,twitter,facebook,pinterest,google plus,linkedin,wordpress,rss,github,youtube,vimeo,instagram,email,sound cloud,itunes,font icons,retina ready
5
  Requires at least: 3.8
6
  Tested up to: 4.0
7
+ Stable tag: 1.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
36
  * SoundCloud
37
  * iTunes
38
 
39
+ Missing any icons? Please feel free to request the icon you need.
40
+
41
+ And if you are happy with the plugin and want to thank me you can find a donation button on this page. Thanks!!
42
+ http://wptips.me/simple-follow-social-buttons-widget/
43
 
44
 
45
  == Installation ==
54
 
55
  == Changelog ==
56
 
57
+ = 1.6 =
58
+ * Fixed icons visibility in form when white icons.
59
+ * Added some translation.
60
+
61
  = 1.5 =
62
  * Improved user interface design on the widget admin form.
63
  * Added iTunes icon.
simple-follow-me-social-buttons-widget.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  Plugin Name: Simple Follow Me Social Buttons Widget
4
  Description: Widget to add some of the most popular follow me social buttons. Retina ready.
5
- Version: 1.5
6
  Author: Lucy Tomás
7
  Author URI: https://wordpress.org/support/profile/lucymtc
8
  License: GPLv2
@@ -107,7 +107,7 @@ final class SFMSB {
107
  if( !defined('SFMSB_PLUGIN_DIR') ) { define('SFMSB_PLUGIN_DIR', plugin_dir_path( __FILE__ )); }
108
  if( !defined('SFMSB_PLUGIN_URL') ) { define('SFMSB_PLUGIN_URL', plugin_dir_url( __FILE__ )); }
109
  if( !defined('SFMSB_PLUGIN_FILE') ) { define('SFMSB_PLUGIN_FILE', __FILE__ ); }
110
- if( !defined('SFMSB_PLUGIN_VERSION') ) { define('SFMSB_PLUGIN_VERSION', '1.5'); }
111
 
112
  }
113
 
2
  /**
3
  Plugin Name: Simple Follow Me Social Buttons Widget
4
  Description: Widget to add some of the most popular follow me social buttons. Retina ready.
5
+ Version: 1.6
6
  Author: Lucy Tomás
7
  Author URI: https://wordpress.org/support/profile/lucymtc
8
  License: GPLv2
107
  if( !defined('SFMSB_PLUGIN_DIR') ) { define('SFMSB_PLUGIN_DIR', plugin_dir_path( __FILE__ )); }
108
  if( !defined('SFMSB_PLUGIN_URL') ) { define('SFMSB_PLUGIN_URL', plugin_dir_url( __FILE__ )); }
109
  if( !defined('SFMSB_PLUGIN_FILE') ) { define('SFMSB_PLUGIN_FILE', __FILE__ ); }
110
+ if( !defined('SFMSB_PLUGIN_VERSION') ) { define('SFMSB_PLUGIN_VERSION', '1.6'); }
111
 
112
  }
113