Version Description
- Fixed the compatibility issue with some themes. The issue was caused by not a unique class names in the html tags.
- The default caption now is empty. The text "Follow me on social media:" is removed.
- Removed extra settings update message.
- The thanks.png image replaced.
Download this release
Release Info
Developer | Arthur Gareginyan |
Plugin | Social Media Follow Buttons Bar |
Version | 1.2 |
Comparing to | |
See all releases |
Code changes from version 1.1 to 1.2
- inc/settings_page.php +1 -12
- inc/thanks.png +0 -0
- languages/smbtoolbar-ru_RU.mo +0 -0
- languages/smbtoolbar-ru_RU.po +36 -32
- languages/smbtoolbar.pot +21 -25
- readme.txt +25 -15
- social-media-buttons-toolbar.php +8 -8
inc/settings_page.php
CHANGED
@@ -8,24 +8,13 @@ defined('ABSPATH') or die("Restricted access!");
|
|
8 |
/**
|
9 |
* Render Settings Page
|
10 |
*
|
11 |
-
* @since 1.
|
12 |
*/
|
13 |
function smbtoolbar_render_submenu_page() {
|
14 |
|
15 |
// Declare variables
|
16 |
$options = get_option( 'smbtoolbar_settings' );
|
17 |
|
18 |
-
// Settings update message
|
19 |
-
if ( isset( $_GET['settings-updated'] ) ) :
|
20 |
-
?>
|
21 |
-
<div id="message" class="updated">
|
22 |
-
<p>
|
23 |
-
<?php _e( 'Your options was sucessfully updated.', 'smbtoolbar' ); ?>
|
24 |
-
</p>
|
25 |
-
</div>
|
26 |
-
<?php
|
27 |
-
endif;
|
28 |
-
|
29 |
// Page
|
30 |
?>
|
31 |
<div class="wrap">
|
8 |
/**
|
9 |
* Render Settings Page
|
10 |
*
|
11 |
+
* @since 1.2
|
12 |
*/
|
13 |
function smbtoolbar_render_submenu_page() {
|
14 |
|
15 |
// Declare variables
|
16 |
$options = get_option( 'smbtoolbar_settings' );
|
17 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
// Page
|
19 |
?>
|
20 |
<div class="wrap">
|
inc/thanks.png
CHANGED
Binary file
|
languages/smbtoolbar-ru_RU.mo
CHANGED
Binary file
|
languages/smbtoolbar-ru_RU.po
CHANGED
@@ -1,14 +1,16 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
-
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
|
4 |
-
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
5 |
"Project-Id-Version: Social Media Buttons Toolbar\n"
|
6 |
-
"POT-Creation-Date:
|
7 |
-
"PO-Revision-Date:
|
|
|
8 |
"Language-Team: \n"
|
|
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
|
|
|
|
12 |
"X-Generator: Poedit 1.8.4\n"
|
13 |
"X-Poedit-Basepath: ..\n"
|
14 |
"X-Poedit-WPHeader: social-media-buttons-toolbar.php\n"
|
@@ -16,33 +18,27 @@ msgstr ""
|
|
16 |
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
|
17 |
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
|
18 |
"_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
|
19 |
-
"Last-Translator: \n"
|
20 |
-
"Language: ru\n"
|
21 |
"X-Poedit-SearchPath-0: .\n"
|
22 |
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
23 |
|
24 |
-
#: inc/settings_page.php:23
|
25 |
-
msgid "Your options was sucessfully updated."
|
26 |
-
msgstr "Ваши опции были успешно обновлены."
|
27 |
-
|
28 |
#. Plugin Name of the plugin/theme
|
29 |
-
#: inc/settings_page.php:
|
30 |
msgid "Social Media Buttons Toolbar"
|
31 |
msgstr ""
|
32 |
|
33 |
-
#: inc/settings_page.php:
|
34 |
msgid ""
|
35 |
-
"by <a href=\"http://www.arthurgareginyan.com\" target=\"_blank"
|
36 |
-
"\"
|
37 |
msgstr ""
|
38 |
"от <a href=“http://www.arthurgareginyan.com” target=“_blank”>Артур "
|
39 |
"“Berserkr” Гарегинян</a>"
|
40 |
|
41 |
-
#: inc/settings_page.php:
|
42 |
msgid "About"
|
43 |
msgstr ""
|
44 |
|
45 |
-
#: inc/settings_page.php:
|
46 |
msgid ""
|
47 |
"This plugin allows you to easily add the social media buttons toolbar to any "
|
48 |
"place of your web-site."
|
@@ -50,18 +46,18 @@ msgstr ""
|
|
50 |
"Этот плагин позволяет легко добавить блок социальных медиа кнопок в любое "
|
51 |
"место на вашем веб-сайте."
|
52 |
|
53 |
-
#: inc/settings_page.php:
|
54 |
msgid ""
|
55 |
"To use, enter your User ID's, then click \"Save Changes\". It's that simple!"
|
56 |
msgstr ""
|
57 |
"Для использования, введите ваши ID пользователя, затем нажмите кнопку "
|
58 |
"“Сохранить изменения”. Это так просто!"
|
59 |
|
60 |
-
#: inc/settings_page.php:
|
61 |
msgid "Donate"
|
62 |
msgstr "Пожертвование"
|
63 |
|
64 |
-
#: inc/settings_page.php:
|
65 |
msgid ""
|
66 |
"If you like this plugin and find it useful, help me to make this plugin even "
|
67 |
"better and keep it up-to-date."
|
@@ -69,25 +65,25 @@ msgstr ""
|
|
69 |
"Если вам нравится этот плагин и вы находите его полезным, то помогите мне "
|
70 |
"сделать этот плагин ещё лучше и держать его современным."
|
71 |
|
72 |
-
#: inc/settings_page.php:
|
73 |
msgid "Thanks for your support!"
|
74 |
msgstr "Спасибо за вашу поддержку!"
|
75 |
|
76 |
-
#: inc/settings_page.php:
|
77 |
msgid "Help"
|
78 |
msgstr "Помощь"
|
79 |
|
80 |
-
#: inc/settings_page.php:
|
81 |
msgid "If you want more options then tell me and I will be happy to add it."
|
82 |
msgstr ""
|
83 |
"Если вы хотите больше опций, то скажите мне об этом и я буду счастлив "
|
84 |
"добавить их."
|
85 |
|
86 |
-
#: inc/settings_page.php:
|
87 |
msgid "User ID’s"
|
88 |
msgstr "ID Пользователя"
|
89 |
|
90 |
-
#: inc/settings_page.php:
|
91 |
msgid ""
|
92 |
"Enter your User ID for each service you choose below to make the button link "
|
93 |
"directly to your profile. If you don't want to use any of the following "
|
@@ -97,19 +93,19 @@ msgstr ""
|
|
97 |
"чтобы создать кнопку с ссылкой на свой профиль. Если вы не хотите "
|
98 |
"использовать какие-либо из следующих опций, то вы можете просто забыть о них."
|
99 |
|
100 |
-
#: inc/settings_page.php:
|
101 |
msgid "Save Changes"
|
102 |
msgstr "Сохранить изменения"
|
103 |
|
104 |
-
#: inc/settings_page.php:
|
105 |
msgid "Display options"
|
106 |
msgstr "Настройки отображения"
|
107 |
|
108 |
-
#: inc/settings_page.php:
|
109 |
msgid "Preview"
|
110 |
msgstr "Предварительный просмотр"
|
111 |
|
112 |
-
#: inc/settings_page.php:
|
113 |
msgid ""
|
114 |
"Enter your User ID's, then click \"Save Changes\" to update this preview."
|
115 |
msgstr ""
|
@@ -132,11 +128,9 @@ msgstr ""
|
|
132 |
|
133 |
#. Description of the plugin/theme
|
134 |
msgid ""
|
135 |
-
"Easily add the smart toolbar with social media buttons
|
136 |
-
"WordPress web-site."
|
137 |
msgstr ""
|
138 |
-
"Легко добавьте умный блок с кнопками социальных медиа в любое место вашего "
|
139 |
-
"WordPress веб-сайта."
|
140 |
|
141 |
#. Author of the plugin/theme
|
142 |
msgid "Arthur \"Berserkr\" Gareginyan"
|
@@ -145,3 +139,13 @@ msgstr "Артур “Берсеркр” Гарегинян"
|
|
145 |
#. Author URI of the plugin/theme
|
146 |
msgid "http://www.arthurgareginyan.com"
|
147 |
msgstr ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
|
|
|
|
3 |
"Project-Id-Version: Social Media Buttons Toolbar\n"
|
4 |
+
"POT-Creation-Date: 2016-02-21 07:55+0300\n"
|
5 |
+
"PO-Revision-Date: 2016-02-21 07:55+0300\n"
|
6 |
+
"Last-Translator: \n"
|
7 |
"Language-Team: \n"
|
8 |
+
"Language: ru\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
|
13 |
+
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
14 |
"X-Generator: Poedit 1.8.4\n"
|
15 |
"X-Poedit-Basepath: ..\n"
|
16 |
"X-Poedit-WPHeader: social-media-buttons-toolbar.php\n"
|
18 |
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
|
19 |
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
|
20 |
"_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
|
|
|
|
|
21 |
"X-Poedit-SearchPath-0: .\n"
|
22 |
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
23 |
|
|
|
|
|
|
|
|
|
24 |
#. Plugin Name of the plugin/theme
|
25 |
+
#: inc/settings_page.php:22 social-media-buttons-toolbar.php:71
|
26 |
msgid "Social Media Buttons Toolbar"
|
27 |
msgstr ""
|
28 |
|
29 |
+
#: inc/settings_page.php:25
|
30 |
msgid ""
|
31 |
+
"by <a href=\"http://www.arthurgareginyan.com\" target=\"_blank\">Arthur "
|
32 |
+
"\"Berserkr\" Gareginyan</a>"
|
33 |
msgstr ""
|
34 |
"от <a href=“http://www.arthurgareginyan.com” target=“_blank”>Артур "
|
35 |
"“Berserkr” Гарегинян</a>"
|
36 |
|
37 |
+
#: inc/settings_page.php:36
|
38 |
msgid "About"
|
39 |
msgstr ""
|
40 |
|
41 |
+
#: inc/settings_page.php:41
|
42 |
msgid ""
|
43 |
"This plugin allows you to easily add the social media buttons toolbar to any "
|
44 |
"place of your web-site."
|
46 |
"Этот плагин позволяет легко добавить блок социальных медиа кнопок в любое "
|
47 |
"место на вашем веб-сайте."
|
48 |
|
49 |
+
#: inc/settings_page.php:42
|
50 |
msgid ""
|
51 |
"To use, enter your User ID's, then click \"Save Changes\". It's that simple!"
|
52 |
msgstr ""
|
53 |
"Для использования, введите ваши ID пользователя, затем нажмите кнопку "
|
54 |
"“Сохранить изменения”. Это так просто!"
|
55 |
|
56 |
+
#: inc/settings_page.php:47
|
57 |
msgid "Donate"
|
58 |
msgstr "Пожертвование"
|
59 |
|
60 |
+
#: inc/settings_page.php:49
|
61 |
msgid ""
|
62 |
"If you like this plugin and find it useful, help me to make this plugin even "
|
63 |
"better and keep it up-to-date."
|
65 |
"Если вам нравится этот плагин и вы находите его полезным, то помогите мне "
|
66 |
"сделать этот плагин ещё лучше и держать его современным."
|
67 |
|
68 |
+
#: inc/settings_page.php:55
|
69 |
msgid "Thanks for your support!"
|
70 |
msgstr "Спасибо за вашу поддержку!"
|
71 |
|
72 |
+
#: inc/settings_page.php:60
|
73 |
msgid "Help"
|
74 |
msgstr "Помощь"
|
75 |
|
76 |
+
#: inc/settings_page.php:63
|
77 |
msgid "If you want more options then tell me and I will be happy to add it."
|
78 |
msgstr ""
|
79 |
"Если вы хотите больше опций, то скажите мне об этом и я буду счастлив "
|
80 |
"добавить их."
|
81 |
|
82 |
+
#: inc/settings_page.php:81
|
83 |
msgid "User ID’s"
|
84 |
msgstr "ID Пользователя"
|
85 |
|
86 |
+
#: inc/settings_page.php:83
|
87 |
msgid ""
|
88 |
"Enter your User ID for each service you choose below to make the button link "
|
89 |
"directly to your profile. If you don't want to use any of the following "
|
93 |
"чтобы создать кнопку с ссылкой на свой профиль. Если вы не хотите "
|
94 |
"использовать какие-либо из следующих опций, то вы можете просто забыть о них."
|
95 |
|
96 |
+
#: inc/settings_page.php:158 inc/settings_page.php:204
|
97 |
msgid "Save Changes"
|
98 |
msgstr "Сохранить изменения"
|
99 |
|
100 |
+
#: inc/settings_page.php:163
|
101 |
msgid "Display options"
|
102 |
msgstr "Настройки отображения"
|
103 |
|
104 |
+
#: inc/settings_page.php:209
|
105 |
msgid "Preview"
|
106 |
msgstr "Предварительный просмотр"
|
107 |
|
108 |
+
#: inc/settings_page.php:211
|
109 |
msgid ""
|
110 |
"Enter your User ID's, then click \"Save Changes\" to update this preview."
|
111 |
msgstr ""
|
128 |
|
129 |
#. Description of the plugin/theme
|
130 |
msgid ""
|
131 |
+
"Easily add the smart toolbar with social media buttons (not share, only link "
|
132 |
+
"to your profiles) to any place of your WordPress web-site."
|
133 |
msgstr ""
|
|
|
|
|
134 |
|
135 |
#. Author of the plugin/theme
|
136 |
msgid "Arthur \"Berserkr\" Gareginyan"
|
139 |
#. Author URI of the plugin/theme
|
140 |
msgid "http://www.arthurgareginyan.com"
|
141 |
msgstr ""
|
142 |
+
|
143 |
+
#~ msgid "Your options was sucessfully updated."
|
144 |
+
#~ msgstr "Ваши опции были успешно обновлены."
|
145 |
+
|
146 |
+
#~ msgid ""
|
147 |
+
#~ "Easily add the smart toolbar with social media buttons to any place of "
|
148 |
+
#~ "your WordPress web-site."
|
149 |
+
#~ msgstr ""
|
150 |
+
#~ "Легко добавьте умный блок с кнопками социальных медиа в любое место "
|
151 |
+
#~ "вашего WordPress веб-сайта."
|
languages/smbtoolbar.pot
CHANGED
@@ -3,7 +3,7 @@ msgid ""
|
|
3 |
msgstr ""
|
4 |
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
|
5 |
"Project-Id-Version: Social Media Buttons Toolbar\n"
|
6 |
-
"POT-Creation-Date:
|
7 |
"PO-Revision-Date: 2015-12-17 02:16+0300\n"
|
8 |
"Last-Translator: \n"
|
9 |
"Language-Team: \n"
|
@@ -20,82 +20,78 @@ msgstr ""
|
|
20 |
"X-Poedit-SearchPath-0: .\n"
|
21 |
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
22 |
|
23 |
-
#: inc/settings_page.php:23
|
24 |
-
msgid "Your options was sucessfully updated."
|
25 |
-
msgstr ""
|
26 |
-
|
27 |
#. Plugin Name of the plugin/theme
|
28 |
-
#: inc/settings_page.php:
|
29 |
msgid "Social Media Buttons Toolbar"
|
30 |
msgstr ""
|
31 |
|
32 |
-
#: inc/settings_page.php:
|
33 |
msgid ""
|
34 |
-
"by <a href=\"http://www.arthurgareginyan.com\" target=\"_blank"
|
35 |
-
"\"
|
36 |
msgstr ""
|
37 |
|
38 |
-
#: inc/settings_page.php:
|
39 |
msgid "About"
|
40 |
msgstr ""
|
41 |
|
42 |
-
#: inc/settings_page.php:
|
43 |
msgid ""
|
44 |
"This plugin allows you to easily add the social media buttons toolbar to any "
|
45 |
"place of your web-site."
|
46 |
msgstr ""
|
47 |
|
48 |
-
#: inc/settings_page.php:
|
49 |
msgid ""
|
50 |
"To use, enter your User ID's, then click \"Save Changes\". It's that simple!"
|
51 |
msgstr ""
|
52 |
|
53 |
-
#: inc/settings_page.php:
|
54 |
msgid "Donate"
|
55 |
msgstr ""
|
56 |
|
57 |
-
#: inc/settings_page.php:
|
58 |
msgid ""
|
59 |
"If you like this plugin and find it useful, help me to make this plugin even "
|
60 |
"better and keep it up-to-date."
|
61 |
msgstr ""
|
62 |
|
63 |
-
#: inc/settings_page.php:
|
64 |
msgid "Thanks for your support!"
|
65 |
msgstr ""
|
66 |
|
67 |
-
#: inc/settings_page.php:
|
68 |
msgid "Help"
|
69 |
msgstr ""
|
70 |
|
71 |
-
#: inc/settings_page.php:
|
72 |
msgid "If you want more options then tell me and I will be happy to add it."
|
73 |
msgstr ""
|
74 |
|
75 |
-
#: inc/settings_page.php:
|
76 |
msgid "User ID’s"
|
77 |
msgstr ""
|
78 |
|
79 |
-
#: inc/settings_page.php:
|
80 |
msgid ""
|
81 |
"Enter your User ID for each service you choose below to make the button link "
|
82 |
"directly to your profile. If you don't want to use any of the following "
|
83 |
"options, you can just forget about these."
|
84 |
msgstr ""
|
85 |
|
86 |
-
#: inc/settings_page.php:
|
87 |
msgid "Save Changes"
|
88 |
msgstr ""
|
89 |
|
90 |
-
#: inc/settings_page.php:
|
91 |
msgid "Display options"
|
92 |
msgstr ""
|
93 |
|
94 |
-
#: inc/settings_page.php:
|
95 |
msgid "Preview"
|
96 |
msgstr ""
|
97 |
|
98 |
-
#: inc/settings_page.php:
|
99 |
msgid ""
|
100 |
"Enter your User ID's, then click \"Save Changes\" to update this preview."
|
101 |
msgstr ""
|
@@ -116,8 +112,8 @@ msgstr ""
|
|
116 |
|
117 |
#. Description of the plugin/theme
|
118 |
msgid ""
|
119 |
-
"Easily add the smart toolbar with social media buttons
|
120 |
-
"WordPress web-site."
|
121 |
msgstr ""
|
122 |
|
123 |
#. Author of the plugin/theme
|
3 |
msgstr ""
|
4 |
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
|
5 |
"Project-Id-Version: Social Media Buttons Toolbar\n"
|
6 |
+
"POT-Creation-Date: 2016-02-21 07:55+0300\n"
|
7 |
"PO-Revision-Date: 2015-12-17 02:16+0300\n"
|
8 |
"Last-Translator: \n"
|
9 |
"Language-Team: \n"
|
20 |
"X-Poedit-SearchPath-0: .\n"
|
21 |
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
22 |
|
|
|
|
|
|
|
|
|
23 |
#. Plugin Name of the plugin/theme
|
24 |
+
#: inc/settings_page.php:22 social-media-buttons-toolbar.php:71
|
25 |
msgid "Social Media Buttons Toolbar"
|
26 |
msgstr ""
|
27 |
|
28 |
+
#: inc/settings_page.php:25
|
29 |
msgid ""
|
30 |
+
"by <a href=\"http://www.arthurgareginyan.com\" target=\"_blank\">Arthur "
|
31 |
+
"\"Berserkr\" Gareginyan</a>"
|
32 |
msgstr ""
|
33 |
|
34 |
+
#: inc/settings_page.php:36
|
35 |
msgid "About"
|
36 |
msgstr ""
|
37 |
|
38 |
+
#: inc/settings_page.php:41
|
39 |
msgid ""
|
40 |
"This plugin allows you to easily add the social media buttons toolbar to any "
|
41 |
"place of your web-site."
|
42 |
msgstr ""
|
43 |
|
44 |
+
#: inc/settings_page.php:42
|
45 |
msgid ""
|
46 |
"To use, enter your User ID's, then click \"Save Changes\". It's that simple!"
|
47 |
msgstr ""
|
48 |
|
49 |
+
#: inc/settings_page.php:47
|
50 |
msgid "Donate"
|
51 |
msgstr ""
|
52 |
|
53 |
+
#: inc/settings_page.php:49
|
54 |
msgid ""
|
55 |
"If you like this plugin and find it useful, help me to make this plugin even "
|
56 |
"better and keep it up-to-date."
|
57 |
msgstr ""
|
58 |
|
59 |
+
#: inc/settings_page.php:55
|
60 |
msgid "Thanks for your support!"
|
61 |
msgstr ""
|
62 |
|
63 |
+
#: inc/settings_page.php:60
|
64 |
msgid "Help"
|
65 |
msgstr ""
|
66 |
|
67 |
+
#: inc/settings_page.php:63
|
68 |
msgid "If you want more options then tell me and I will be happy to add it."
|
69 |
msgstr ""
|
70 |
|
71 |
+
#: inc/settings_page.php:81
|
72 |
msgid "User ID’s"
|
73 |
msgstr ""
|
74 |
|
75 |
+
#: inc/settings_page.php:83
|
76 |
msgid ""
|
77 |
"Enter your User ID for each service you choose below to make the button link "
|
78 |
"directly to your profile. If you don't want to use any of the following "
|
79 |
"options, you can just forget about these."
|
80 |
msgstr ""
|
81 |
|
82 |
+
#: inc/settings_page.php:158 inc/settings_page.php:204
|
83 |
msgid "Save Changes"
|
84 |
msgstr ""
|
85 |
|
86 |
+
#: inc/settings_page.php:163
|
87 |
msgid "Display options"
|
88 |
msgstr ""
|
89 |
|
90 |
+
#: inc/settings_page.php:209
|
91 |
msgid "Preview"
|
92 |
msgstr ""
|
93 |
|
94 |
+
#: inc/settings_page.php:211
|
95 |
msgid ""
|
96 |
"Enter your User ID's, then click \"Save Changes\" to update this preview."
|
97 |
msgstr ""
|
112 |
|
113 |
#. Description of the plugin/theme
|
114 |
msgid ""
|
115 |
+
"Easily add the smart toolbar with social media buttons (not share, only link "
|
116 |
+
"to your profiles) to any place of your WordPress web-site."
|
117 |
msgstr ""
|
118 |
|
119 |
#. Author of the plugin/theme
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: icon, icon set, button, social media, social network, toolbar, link to pro
|
|
4 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8A88KC7TFF6CS
|
5 |
Requires at least: 3.9
|
6 |
Tested up to: 4.4
|
7 |
-
Stable tag: 1.
|
8 |
License: GPL3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -105,21 +105,21 @@ After installation, a "`Social Buttons`" menu item will appear in the "`Setting
|
|
105 |
|
106 |
|
107 |
== Frequently Asked Questions ==
|
108 |
-
= Will this Plugin work on my WordPress.com website? =
|
109 |
-
Sorry, this plugin is available for use only on self-hosted (WordPress.org) websites.
|
110 |
|
111 |
-
= Can I use this plugin on my language? =
|
112 |
-
Yes. But If your language is not available then you can make one. This plugin is ready for translation. The `.pot` file is included and placed in "`languages`" folder. Many of plugin users would be delighted if you shared your translation with the community. Just send the translation files (`*.po, *.mo`) to me at the arthurgareginyan@gmail.com and I will include the translation within the next plugin update.
|
113 |
|
114 |
-
= How does it work? =
|
115 |
-
First, go to page "`Settings`" —> "`Social Buttons`".
|
116 |
On the plugins page you find the fields where you can enter your `User ID's`, `URL` to your social network profile.
|
117 |
|
118 |
-
= Where to report bug if found? =
|
119 |
-
Please visit [Dedicated Plugin Page on GitHub](https://github.com/ArthurGareginyan/social-media-buttons-toolbar) and report.
|
120 |
|
121 |
-
= Where to share any ideas or suggestions to make the plugin better? =
|
122 |
-
Please visit [Dedicated Plugin Page](http://mycyberuniverse.com/my_programs/wp-plugin-social-media-buttons-toolbar.html) and share.
|
123 |
|
124 |
|
125 |
== Screenshots ==
|
@@ -161,8 +161,13 @@ Icon set [Social Buttons 2](https://www.iconfinder.com/iconsets/social-buttons-2
|
|
161 |
* [Dedicated Plugin Page on GitHub](https://github.com/ArthurGareginyan/social-media-buttons-toolbar)
|
162 |
|
163 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
164 |
= 1.1 =
|
165 |
-
* Authors URI changed.
|
166 |
* Icons updated.
|
167 |
= 1.0 =
|
168 |
* Initial release.
|
@@ -176,7 +181,12 @@ Icon set [Social Buttons 2](https://www.iconfinder.com/iconsets/social-buttons-2
|
|
176 |
* Alfa version.
|
177 |
|
178 |
|
179 |
-
== Upgrade Notice ==
|
|
|
|
|
|
|
|
|
|
|
180 |
= 1.1 =
|
181 |
-
* Authors URI changed.
|
182 |
-
* Icons updated.
|
4 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8A88KC7TFF6CS
|
5 |
Requires at least: 3.9
|
6 |
Tested up to: 4.4
|
7 |
+
Stable tag: 1.1
|
8 |
License: GPL3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
105 |
|
106 |
|
107 |
== Frequently Asked Questions ==
|
108 |
+
= Q. Will this Plugin work on my WordPress.com website? =
|
109 |
+
A. Sorry, this plugin is available for use only on self-hosted (WordPress.org) websites.
|
110 |
|
111 |
+
= Q. Can I use this plugin on my language? =
|
112 |
+
A. Yes. But If your language is not available then you can make one. This plugin is ready for translation. The `.pot` file is included and placed in "`languages`" folder. Many of plugin users would be delighted if you shared your translation with the community. Just send the translation files (`*.po, *.mo`) to me at the arthurgareginyan@gmail.com and I will include the translation within the next plugin update.
|
113 |
|
114 |
+
= Q. How does it work? =
|
115 |
+
A. First, go to page "`Settings`" —> "`Social Buttons`".
|
116 |
On the plugins page you find the fields where you can enter your `User ID's`, `URL` to your social network profile.
|
117 |
|
118 |
+
= Q. Where to report bug if found? =
|
119 |
+
A. Please visit [Dedicated Plugin Page on GitHub](https://github.com/ArthurGareginyan/social-media-buttons-toolbar) and report.
|
120 |
|
121 |
+
= Q. Where to share any ideas or suggestions to make the plugin better? =
|
122 |
+
A. Please visit [Dedicated Plugin Page](http://mycyberuniverse.com/my_programs/wp-plugin-social-media-buttons-toolbar.html) and share.
|
123 |
|
124 |
|
125 |
== Screenshots ==
|
161 |
* [Dedicated Plugin Page on GitHub](https://github.com/ArthurGareginyan/social-media-buttons-toolbar)
|
162 |
|
163 |
== Changelog ==
|
164 |
+
= 1.2 =
|
165 |
+
* Fixed the compatibility issue with some themes. The issue was caused by not a unique class names in the html tags.
|
166 |
+
* The default caption now is empty. The text "Follow me on social media:" is removed.
|
167 |
+
* Removed extra settings update message.
|
168 |
+
* The thanks.png image replaced.
|
169 |
= 1.1 =
|
170 |
+
* Authors URI changed.
|
171 |
* Icons updated.
|
172 |
= 1.0 =
|
173 |
* Initial release.
|
181 |
* Alfa version.
|
182 |
|
183 |
|
184 |
+
== Upgrade Notice ==
|
185 |
+
= 1.2 =
|
186 |
+
* Fixed the compatibility issue with some themes. The issue was caused by not a unique class names in the html tags.
|
187 |
+
* The default caption now is empty. The text "Follow me on social media:" is removed.
|
188 |
+
* Removed extra settings update message.
|
189 |
+
* The thanks.png image replaced.
|
190 |
= 1.1 =
|
191 |
+
* Authors URI changed.
|
192 |
+
* Icons updated.
|
social-media-buttons-toolbar.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Description: Easily add the smart toolbar with social media buttons (not share, only link to your profiles) to any place of your WordPress web-site.
|
6 |
* Author: Arthur "Berserkr" Gareginyan
|
7 |
* Author URI: http://www.arthurgareginyan.com
|
8 |
-
* Version: 1.
|
9 |
* License: GPL3
|
10 |
* Text Domain: smbtoolbar
|
11 |
* Domain Path: /languages/
|
@@ -214,7 +214,7 @@ function smbtoolbar_setting($name, $label, $help=null, $field=null, $placeholder
|
|
214 |
/**
|
215 |
* Generate the buttons toolbar
|
216 |
*
|
217 |
-
* @since 1.
|
218 |
*/
|
219 |
function smbtoolbar_tollbar() {
|
220 |
|
@@ -245,11 +245,11 @@ function smbtoolbar_tollbar() {
|
|
245 |
// Add a caption above of buttons
|
246 |
$caption = esc_textarea( $options['caption'] );
|
247 |
if (empty($caption)) {
|
248 |
-
$caption = "
|
249 |
}
|
250 |
|
251 |
// Generate the Buttons
|
252 |
-
$metatags_arr[] = '<ul class="social-icons">';
|
253 |
if ( !empty($media) ) {
|
254 |
foreach ($media as $name) {
|
255 |
foreach ($name as $key => $value) {
|
@@ -276,19 +276,19 @@ function smbtoolbar_tollbar() {
|
|
276 |
|
277 |
// Add styling for toolbar
|
278 |
$styles = "<style>
|
279 |
-
.social-icons {
|
280 |
text-align: center;
|
281 |
}
|
282 |
-
.social-icons li {
|
283 |
display:inline-block;
|
284 |
list-style-type:none;
|
285 |
-webkit-user-select:none;
|
286 |
-moz-user-select:none;
|
287 |
}
|
288 |
-
.social-icons li a {
|
289 |
border-bottom: none;
|
290 |
}
|
291 |
-
.social-icons li img {
|
292 |
width: " . $icon_size . "px;
|
293 |
height: " . $icon_size . "px;
|
294 |
margin-right: " . $margin_right . "px;
|
5 |
* Description: Easily add the smart toolbar with social media buttons (not share, only link to your profiles) to any place of your WordPress web-site.
|
6 |
* Author: Arthur "Berserkr" Gareginyan
|
7 |
* Author URI: http://www.arthurgareginyan.com
|
8 |
+
* Version: 1.2
|
9 |
* License: GPL3
|
10 |
* Text Domain: smbtoolbar
|
11 |
* Domain Path: /languages/
|
214 |
/**
|
215 |
* Generate the buttons toolbar
|
216 |
*
|
217 |
+
* @since 1.2
|
218 |
*/
|
219 |
function smbtoolbar_tollbar() {
|
220 |
|
245 |
// Add a caption above of buttons
|
246 |
$caption = esc_textarea( $options['caption'] );
|
247 |
if (empty($caption)) {
|
248 |
+
$caption = "";
|
249 |
}
|
250 |
|
251 |
// Generate the Buttons
|
252 |
+
$metatags_arr[] = '<ul class="smbt-social-icons">';
|
253 |
if ( !empty($media) ) {
|
254 |
foreach ($media as $name) {
|
255 |
foreach ($name as $key => $value) {
|
276 |
|
277 |
// Add styling for toolbar
|
278 |
$styles = "<style>
|
279 |
+
.smbt-social-icons {
|
280 |
text-align: center;
|
281 |
}
|
282 |
+
.smbt-social-icons li {
|
283 |
display:inline-block;
|
284 |
list-style-type:none;
|
285 |
-webkit-user-select:none;
|
286 |
-moz-user-select:none;
|
287 |
}
|
288 |
+
.smbt-social-icons li a {
|
289 |
border-bottom: none;
|
290 |
}
|
291 |
+
.smbt-social-icons li img {
|
292 |
width: " . $icon_size . "px;
|
293 |
height: " . $icon_size . "px;
|
294 |
margin-right: " . $margin_right . "px;
|