Social Media Follow Buttons Bar - Version 1.4

Version Description

  • Added 6 new buttons (LiveJournal, Pinterest, Tumblr, VKontakte, Odnoklassniki, Personal website).
  • Fixed: "Use of undefined constant media".
  • Plugin URI changed to GitHub repository.
  • Some changes in design of settings page.
  • Added my personal ad about freelance.
  • Some changes in design of settings page.
  • .pot file updated.
  • Russian translation updated.
Download this release

Release Info

Developer Arthur Gareginyan
Plugin Icon 128x128 Social Media Follow Buttons Bar
Version 1.4
Comparing to
See all releases

Code changes from version 1.3 to 1.4

inc/author.png ADDED
Binary file
inc/settings_page.php CHANGED
@@ -2,13 +2,15 @@
2
 
3
  /**
4
  * Prevent Direct Access
 
 
5
  */
6
  defined('ABSPATH') or die("Restricted access!");
7
 
8
  /**
9
  * Render Settings Page
10
  *
11
- * @since 1.3
12
  */
13
  function smbtoolbar_render_submenu_page() {
14
 
@@ -35,9 +37,15 @@ function smbtoolbar_render_submenu_page() {
35
  <div id="about" class="postbox">
36
  <h3 class="title"><?php _e( 'About', 'smbtoolbar' ); ?></h3>
37
  <div class="inside">
38
- <div class="aligncenter">
39
- <p><?php _e( 'This plugin allows you to easily add the social media buttons toolbar to any place of your website.', 'smbtoolbar' ) ?></p>
40
- </div>
 
 
 
 
 
 
41
  </div>
42
  </div>
43
 
@@ -45,23 +53,21 @@ function smbtoolbar_render_submenu_page() {
45
  <h3 class="title"><?php _e( 'Donate', 'smbtoolbar' ); ?></h3>
46
  <div class="inside">
47
  <img src="<?php echo plugins_url('thanks.png', __FILE__); ?>">
48
- <p class="donate"><?php _e( 'If you like this plugin and find it useful, help me to make this plugin even better and keep it up-to-date.', 'smbtoolbar' ) ?></p>
49
- <div class="aligncenter">
50
- <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8A88KC7TFF6CS" target="_blank" rel="nofollow">
51
- <img src="https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif" alt="Make a donation">
52
- </a>
53
- </div>
54
  <p class="donate"><?php _e( 'Thanks for your support!', 'smbtoolbar' ) ?></p>
55
  </div>
56
  </div>
57
 
58
- <div id="help" class="postbox">
59
- <h3 class="title"><?php _e( 'Help', 'smbtoolbar' ); ?></h3>
60
  <div class="inside">
61
- <div class="aligncenter">
62
- <p><?php _e( 'If you want more options then tell me and I will be happy to add it.', 'smbtoolbar' ); ?></p>
63
- <p><a href="mailto:arthurgareginyan@gmail.com">arthurgareginyan@gmail.com</a></p>
64
- </div>
65
  </div>
66
  </div>
67
 
@@ -118,12 +124,42 @@ function smbtoolbar_render_submenu_page() {
118
  'Enter the link to your Blogger profile page',
119
  'https://www.blogger.com'
120
  );?>
 
 
 
 
 
 
121
  <?php smbtoolbar_media( 'linkedin',
122
  'LinkedIn',
123
  'https://linkedin.com/in/arthurgareginyan',
124
  'Enter the link to your LinkedIn profile page',
125
  'https://linkedin.com'
126
  );?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
127
  <?php smbtoolbar_media( 'github',
128
  'Github',
129
  'https://github.com/ArthurGareginyan',
@@ -142,6 +178,12 @@ function smbtoolbar_render_submenu_page() {
142
  'Enter the link to your Codepen profile page',
143
  'http://codepen.io'
144
  );?>
 
 
 
 
 
 
145
  <?php smbtoolbar_media( 'email',
146
  'Email',
147
  'mailto:arthurgareginyan@gmail.com',
2
 
3
  /**
4
  * Prevent Direct Access
5
+ *
6
+ * @since 0.1
7
  */
8
  defined('ABSPATH') or die("Restricted access!");
9
 
10
  /**
11
  * Render Settings Page
12
  *
13
+ * @since 1.4
14
  */
15
  function smbtoolbar_render_submenu_page() {
16
 
37
  <div id="about" class="postbox">
38
  <h3 class="title"><?php _e( 'About', 'smbtoolbar' ); ?></h3>
39
  <div class="inside">
40
+ <p><?php _e( 'This plugin allows you to easily add the social media buttons toolbar to any place of your website.', 'smbtoolbar' ) ?></p>
41
+ </div>
42
+ </div>
43
+
44
+ <div id="help" class="postbox">
45
+ <h3 class="title"><?php _e( 'Help', 'smbtoolbar' ); ?></h3>
46
+ <div class="inside">
47
+ <p><?php _e( 'If you want more options then tell me and I will be happy to add it.', 'smbtoolbar' ); ?></p>
48
+ <p><a href="mailto:arthurgareginyan@gmail.com">arthurgareginyan@gmail.com</a></p>
49
  </div>
50
  </div>
51
 
53
  <h3 class="title"><?php _e( 'Donate', 'smbtoolbar' ); ?></h3>
54
  <div class="inside">
55
  <img src="<?php echo plugins_url('thanks.png', __FILE__); ?>">
56
+ <p><?php _e( 'If you like this plugin and find it useful, help me to make this plugin even better and keep it up-to-date.', 'smbtoolbar' ) ?></p>
57
+ <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8A88KC7TFF6CS" target="_blank" rel="nofollow">
58
+ <img src="https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif" alt="Make a donation">
59
+ </a>
 
 
60
  <p class="donate"><?php _e( 'Thanks for your support!', 'smbtoolbar' ) ?></p>
61
  </div>
62
  </div>
63
 
64
+ <div id="freelance" class="postbox">
65
+ <h3 class="title"><?php _e( 'Freelance', 'allmetatags' ) ?></h3>
66
  <div class="inside">
67
+ <img src="<?php echo plugins_url('author.png', __FILE__); ?>">
68
+ <p><?php _e( 'Hello, my name is Arthur and I\'m a freelance web designer and developer.', 'allmetatags' ) ?></p>
69
+ <p><?php _e( 'Share your thoughts with me. You may have a brilliant idea in your mind and I can make it happen, so let’s get started!', 'allmetatags' ) ?></p>
70
+ <p><a href="http://www.arthurgareginyan.com/" target="_blank">www.arthurgareginyan.com</a></p>
71
  </div>
72
  </div>
73
 
124
  'Enter the link to your Blogger profile page',
125
  'https://www.blogger.com'
126
  );?>
127
+ <?php smbtoolbar_media( 'livejournal',
128
+ 'LiveJournal',
129
+ 'http://www.livejournal.com/',
130
+ 'Enter the link to your LiveJournal profile page',
131
+ 'http://www.livejournal.com'
132
+ );?>
133
  <?php smbtoolbar_media( 'linkedin',
134
  'LinkedIn',
135
  'https://linkedin.com/in/arthurgareginyan',
136
  'Enter the link to your LinkedIn profile page',
137
  'https://linkedin.com'
138
  );?>
139
+ <?php smbtoolbar_media( 'pinterest',
140
+ 'Pinterest',
141
+ 'https://www.pinterest.com/',
142
+ 'Enter the link to your Pinterest profile page',
143
+ 'https://www.pinterest.com'
144
+ );?>
145
+ <?php smbtoolbar_media( 'tumblr',
146
+ 'Tumblr',
147
+ 'https://www.tumblr.com/',
148
+ 'Enter the link to your Tumblr profile page',
149
+ 'https://www.tumblr.com'
150
+ );?>
151
+ <?php smbtoolbar_media( 'vkontakte',
152
+ 'VKontakte',
153
+ 'https://vk.com/',
154
+ 'Enter the link to your VKontakte profile page',
155
+ 'https://vk.com'
156
+ );?>
157
+ <?php smbtoolbar_media( 'odnoklassniki',
158
+ 'Odnoklassniki',
159
+ 'https://ok.ru/',
160
+ 'Enter the link to your Odnoklassniki profile page',
161
+ 'https://ok.ru'
162
+ );?>
163
  <?php smbtoolbar_media( 'github',
164
  'Github',
165
  'https://github.com/ArthurGareginyan',
178
  'Enter the link to your Codepen profile page',
179
  'http://codepen.io'
180
  );?>
181
+ <?php smbtoolbar_media( 'website',
182
+ 'Personal website',
183
+ 'http://www.arthurgareginyan.com',
184
+ 'Enter the link to your personal website',
185
+ ''
186
+ );?>
187
  <?php smbtoolbar_media( 'email',
188
  'Email',
189
  'mailto:arthurgareginyan@gmail.com',
inc/social-media-icons/livejournal.png ADDED
Binary file
inc/social-media-icons/odnoklassniki.png ADDED
Binary file
inc/social-media-icons/pinterest.png ADDED
Binary file
inc/social-media-icons/tumblr.png ADDED
Binary file
inc/social-media-icons/vkontakte.png ADDED
Binary file
inc/social-media-icons/website.png ADDED
Binary file
inc/style-admin.css CHANGED
@@ -1,7 +1,7 @@
1
  /*
2
  * Social Media Buttons Toolbar
3
  * Style sheet for plugin's page
4
- * @since 1.3
5
  * @agareginyan
6
  */
7
 
@@ -60,10 +60,18 @@ td.help-text {
60
  position: relative;
61
  }
62
 
63
- .donate {
64
  text-align: center;
65
  }
66
 
67
- .donate img {
68
- max-width: 100%;
 
 
 
 
 
 
 
 
69
  }
1
  /*
2
  * Social Media Buttons Toolbar
3
  * Style sheet for plugin's page
4
+ * @since 1.4
5
  * @agareginyan
6
  */
7
 
60
  position: relative;
61
  }
62
 
63
+ #about {
64
  text-align: center;
65
  }
66
 
67
+ #donate {
68
+ text-align: center;
69
+ }
70
+
71
+ #help {
72
+ text-align: center;
73
+ }
74
+
75
+ #freelance {
76
+ text-align: center;
77
  }
inc/thanks.png CHANGED
Binary file
languages/smbtoolbar-ru_RU.mo CHANGED
Binary file
languages/smbtoolbar-ru_RU.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Social Media Buttons Toolbar\n"
4
- "POT-Creation-Date: 2016-03-21 19:12+0300\n"
5
- "PO-Revision-Date: 2016-03-21 19:18+0300\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: ru\n"
@@ -22,11 +22,11 @@ msgstr ""
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>"
@@ -34,11 +34,11 @@ 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:39
42
  msgid ""
43
  "This plugin allows you to easily add the social media buttons toolbar to any "
44
  "place of your website."
@@ -58,25 +58,42 @@ msgstr ""
58
  "Если вам нравится этот плагин и вы находите его полезным, то помогите мне "
59
  "сделать этот плагин ещё лучше и держать его современным."
60
 
61
- #: inc/settings_page.php:54
62
  msgid "Thanks for your support!"
63
  msgstr "Спасибо за вашу поддержку!"
64
 
65
- #: inc/settings_page.php:59
66
  msgid "Help"
67
  msgstr "Помощь"
68
 
69
- #: inc/settings_page.php:62
70
  msgid "If you want more options then tell me and I will be happy to add it."
71
  msgstr ""
72
  "Если вы хотите больше опций, то скажите мне об этом и я буду счастлив "
73
  "добавить их."
74
 
75
- #: inc/settings_page.php:81
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
76
  msgid "Buttons"
77
  msgstr "Кнопки"
78
 
79
- #: inc/settings_page.php:83
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 "
@@ -86,30 +103,30 @@ msgstr ""
86
  "чтобы создать кнопку с ссылкой на свой профиль. Если вы не хотите "
87
  "использовать какие-либо из следующих опций, то вы можете просто забыть о них."
88
 
89
- #: inc/settings_page.php:158 inc/settings_page.php:204
90
  msgid "Save Changes"
91
  msgstr "Сохранить изменения"
92
 
93
- #: inc/settings_page.php:163
94
  msgid "Display options"
95
  msgstr "Настройки отображения"
96
 
97
- #: inc/settings_page.php:209
98
  msgid "Preview"
99
  msgstr "Предварительный просмотр"
100
 
101
- #: inc/settings_page.php:211
102
  msgid ""
103
  "Enter your User ID's, then click \"Save Changes\" to update this preview."
104
  msgstr ""
105
  "Введите ваши ID пользователя, а затем нажмите кнопку “Сохранить изменения”, "
106
  "чтобы обновить этот просмотр."
107
 
108
- #: inc/settings_page.php:217
109
  msgid "Using"
110
  msgstr "Использование:"
111
 
112
- #: inc/settings_page.php:219
113
  msgid ""
114
  "You have several methods for display the social media buttons toolbar "
115
  "(further just \"toolbar\") on your website. But first, enter a links for "
@@ -119,44 +136,42 @@ msgstr ""
119
  "медиа кнопок (далее просто “кнопки”) на вашем вебсайте. Но сначала укажите "
120
  "ссылки для каждой кнопки, а затем нажмите “Сохранить изменения”."
121
 
122
- #: inc/settings_page.php:220
123
  msgid ""
124
  "<b>A)</b> For display the toolbar below content on every Posts or/and Pages, "
125
  "just check the checkbox \"Show on Posts\" or/and \"Show on Pages\" in the "
126
  "section \"Display options\", then click \"Save Changes\". It's that simple!"
127
  msgstr ""
128
 
129
- #: inc/settings_page.php:221
130
  msgid ""
131
  "<b>B)</b> For add the toolbar inside a post from WP Post/Page Editor use the "
132
  "following shortcode:"
133
  msgstr ""
134
 
135
- #: inc/settings_page.php:223
136
  msgid ""
137
  "<b>C)</b> For add the toolbar to the widget area (in sidebar, footer etc.) "
138
  "use the \"Text\" widget and add inside it the following shortcode:"
139
  msgstr ""
140
 
141
- #: inc/settings_page.php:225
142
  msgid ""
143
  "<b>D)</b> For add the toolbar directly to a theme files, just add one of the "
144
  "following code (both variants do the same) to needed place (where you want "
145
  "to display the toolbar) in your theme files:"
146
  msgstr ""
147
 
148
- #: social-media-buttons-toolbar.php:58
149
  msgid "Settings"
150
  msgstr "Настройки"
151
 
152
- #: social-media-buttons-toolbar.php:71
153
  msgid "Social Buttons"
154
  msgstr "Социальные кнопки"
155
 
156
  #. Plugin URI of the plugin/theme
157
- msgid ""
158
- "http://mycyberuniverse.com/my_programs/wp-plugin-social-media-buttons-"
159
- "toolbar.html"
160
  msgstr ""
161
 
162
  #. Description of the plugin/theme
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Social Media Buttons Toolbar\n"
4
+ "POT-Creation-Date: 2016-03-28 01:02+0300\n"
5
+ "PO-Revision-Date: 2016-03-28 01:02+0300\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: ru\n"
22
  "X-Poedit-SearchPathExcluded-0: *.js\n"
23
 
24
  #. Plugin Name of the plugin/theme
25
+ #: inc/settings_page.php:24 social-media-buttons-toolbar.php:73
26
  msgid "Social Media Buttons Toolbar"
27
  msgstr ""
28
 
29
+ #: inc/settings_page.php:27
30
  msgid ""
31
  "by <a href=\"http://www.arthurgareginyan.com\" target=\"_blank\">Arthur "
32
  "\"Berserkr\" Gareginyan</a>"
34
  "от <a href=“http://www.arthurgareginyan.com” target=“_blank”>Артур "
35
  "“Berserkr” Гарегинян</a>"
36
 
37
+ #: inc/settings_page.php:38
38
  msgid "About"
39
  msgstr "О плагине"
40
 
41
+ #: inc/settings_page.php:40
42
  msgid ""
43
  "This plugin allows you to easily add the social media buttons toolbar to any "
44
  "place of your website."
58
  "Если вам нравится этот плагин и вы находите его полезным, то помогите мне "
59
  "сделать этот плагин ещё лучше и держать его современным."
60
 
61
+ #: inc/settings_page.php:52
62
  msgid "Thanks for your support!"
63
  msgstr "Спасибо за вашу поддержку!"
64
 
65
+ #: inc/settings_page.php:57
66
  msgid "Help"
67
  msgstr "Помощь"
68
 
69
+ #: inc/settings_page.php:59
70
  msgid "If you want more options then tell me and I will be happy to add it."
71
  msgstr ""
72
  "Если вы хотите больше опций, то скажите мне об этом и я буду счастлив "
73
  "добавить их."
74
 
75
+ #: inc/settings_page.php:65
76
+ msgid "Freelance"
77
+ msgstr "Фриланс"
78
+
79
+ #: inc/settings_page.php:68
80
+ msgid ""
81
+ "Hello, my name is Arthur and I'm a freelance web designer and developer."
82
+ msgstr "Привет, меня зовут Артур и Я внештатный веб-дизайнер и разработчик."
83
+
84
+ #: inc/settings_page.php:69
85
+ msgid ""
86
+ "Share your thoughts with me. You may have a brilliant idea in your mind and "
87
+ "I can make it happen, so let’s get started!"
88
+ msgstr ""
89
+ "Поделитесь со мной своими мыслями. У вас может быть блестящая идея в уме, а "
90
+ "я могу сделать её явью, так что давайте начнём!"
91
+
92
+ #: inc/settings_page.php:87
93
  msgid "Buttons"
94
  msgstr "Кнопки"
95
 
96
+ #: inc/settings_page.php:89
97
  msgid ""
98
  "Enter your User ID for each service you choose below to make the button link "
99
  "directly to your profile. If you don't want to use any of the following "
103
  "чтобы создать кнопку с ссылкой на свой профиль. Если вы не хотите "
104
  "использовать какие-либо из следующих опций, то вы можете просто забыть о них."
105
 
106
+ #: inc/settings_page.php:200 inc/settings_page.php:246
107
  msgid "Save Changes"
108
  msgstr "Сохранить изменения"
109
 
110
+ #: inc/settings_page.php:205
111
  msgid "Display options"
112
  msgstr "Настройки отображения"
113
 
114
+ #: inc/settings_page.php:251
115
  msgid "Preview"
116
  msgstr "Предварительный просмотр"
117
 
118
+ #: inc/settings_page.php:253
119
  msgid ""
120
  "Enter your User ID's, then click \"Save Changes\" to update this preview."
121
  msgstr ""
122
  "Введите ваши ID пользователя, а затем нажмите кнопку “Сохранить изменения”, "
123
  "чтобы обновить этот просмотр."
124
 
125
+ #: inc/settings_page.php:259
126
  msgid "Using"
127
  msgstr "Использование:"
128
 
129
+ #: inc/settings_page.php:261
130
  msgid ""
131
  "You have several methods for display the social media buttons toolbar "
132
  "(further just \"toolbar\") on your website. But first, enter a links for "
136
  "медиа кнопок (далее просто “кнопки”) на вашем вебсайте. Но сначала укажите "
137
  "ссылки для каждой кнопки, а затем нажмите “Сохранить изменения”."
138
 
139
+ #: inc/settings_page.php:262
140
  msgid ""
141
  "<b>A)</b> For display the toolbar below content on every Posts or/and Pages, "
142
  "just check the checkbox \"Show on Posts\" or/and \"Show on Pages\" in the "
143
  "section \"Display options\", then click \"Save Changes\". It's that simple!"
144
  msgstr ""
145
 
146
+ #: inc/settings_page.php:263
147
  msgid ""
148
  "<b>B)</b> For add the toolbar inside a post from WP Post/Page Editor use the "
149
  "following shortcode:"
150
  msgstr ""
151
 
152
+ #: inc/settings_page.php:265
153
  msgid ""
154
  "<b>C)</b> For add the toolbar to the widget area (in sidebar, footer etc.) "
155
  "use the \"Text\" widget and add inside it the following shortcode:"
156
  msgstr ""
157
 
158
+ #: inc/settings_page.php:267
159
  msgid ""
160
  "<b>D)</b> For add the toolbar directly to a theme files, just add one of the "
161
  "following code (both variants do the same) to needed place (where you want "
162
  "to display the toolbar) in your theme files:"
163
  msgstr ""
164
 
165
+ #: social-media-buttons-toolbar.php:60
166
  msgid "Settings"
167
  msgstr "Настройки"
168
 
169
+ #: social-media-buttons-toolbar.php:73
170
  msgid "Social Buttons"
171
  msgstr "Социальные кнопки"
172
 
173
  #. Plugin URI of the plugin/theme
174
+ msgid "https://github.com/ArthurGareginyan/social-media-buttons-toolbar"
 
 
175
  msgstr ""
176
 
177
  #. Description of the plugin/theme
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: 2016-03-21 19:12+0300\n"
7
  "PO-Revision-Date: 2015-12-17 02:16+0300\n"
8
  "Last-Translator: \n"
9
  "Language-Team: \n"
@@ -21,21 +21,21 @@ msgstr ""
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:39
39
  msgid ""
40
  "This plugin allows you to easily add the social media buttons toolbar to any "
41
  "place of your website."
@@ -51,95 +51,108 @@ msgid ""
51
  "better and keep it up-to-date."
52
  msgstr ""
53
 
54
- #: inc/settings_page.php:54
55
  msgid "Thanks for your support!"
56
  msgstr ""
57
 
58
- #: inc/settings_page.php:59
59
  msgid "Help"
60
  msgstr ""
61
 
62
- #: inc/settings_page.php:62
63
  msgid "If you want more options then tell me and I will be happy to add it."
64
  msgstr ""
65
 
66
- #: inc/settings_page.php:81
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
67
  msgid "Buttons"
68
  msgstr ""
69
 
70
- #: inc/settings_page.php:83
71
  msgid ""
72
  "Enter your User ID for each service you choose below to make the button link "
73
  "directly to your profile. If you don't want to use any of the following "
74
  "options, you can just forget about these."
75
  msgstr ""
76
 
77
- #: inc/settings_page.php:158 inc/settings_page.php:204
78
  msgid "Save Changes"
79
  msgstr ""
80
 
81
- #: inc/settings_page.php:163
82
  msgid "Display options"
83
  msgstr ""
84
 
85
- #: inc/settings_page.php:209
86
  msgid "Preview"
87
  msgstr ""
88
 
89
- #: inc/settings_page.php:211
90
  msgid ""
91
  "Enter your User ID's, then click \"Save Changes\" to update this preview."
92
  msgstr ""
93
 
94
- #: inc/settings_page.php:217
95
  msgid "Using"
96
  msgstr ""
97
 
98
- #: inc/settings_page.php:219
99
  msgid ""
100
  "You have several methods for display the social media buttons toolbar "
101
  "(further just \"toolbar\") on your website. But first, enter a links for "
102
  "each buttons, then click \"Save Changes\"."
103
  msgstr ""
104
 
105
- #: inc/settings_page.php:220
106
  msgid ""
107
  "<b>A)</b> For display the toolbar below content on every Posts or/and Pages, "
108
  "just check the checkbox \"Show on Posts\" or/and \"Show on Pages\" in the "
109
  "section \"Display options\", then click \"Save Changes\". It's that simple!"
110
  msgstr ""
111
 
112
- #: inc/settings_page.php:221
113
  msgid ""
114
  "<b>B)</b> For add the toolbar inside a post from WP Post/Page Editor use the "
115
  "following shortcode:"
116
  msgstr ""
117
 
118
- #: inc/settings_page.php:223
119
  msgid ""
120
  "<b>C)</b> For add the toolbar to the widget area (in sidebar, footer etc.) "
121
  "use the \"Text\" widget and add inside it the following shortcode:"
122
  msgstr ""
123
 
124
- #: inc/settings_page.php:225
125
  msgid ""
126
  "<b>D)</b> For add the toolbar directly to a theme files, just add one of the "
127
  "following code (both variants do the same) to needed place (where you want "
128
  "to display the toolbar) in your theme files:"
129
  msgstr ""
130
 
131
- #: social-media-buttons-toolbar.php:58
132
  msgid "Settings"
133
  msgstr ""
134
 
135
- #: social-media-buttons-toolbar.php:71
136
  msgid "Social Buttons"
137
  msgstr ""
138
 
139
  #. Plugin URI of the plugin/theme
140
- msgid ""
141
- "http://mycyberuniverse.com/my_programs/wp-plugin-social-media-buttons-"
142
- "toolbar.html"
143
  msgstr ""
144
 
145
  #. Description 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-03-28 01:02+0300\n"
7
  "PO-Revision-Date: 2015-12-17 02:16+0300\n"
8
  "Last-Translator: \n"
9
  "Language-Team: \n"
21
  "X-Poedit-SearchPathExcluded-0: *.js\n"
22
 
23
  #. Plugin Name of the plugin/theme
24
+ #: inc/settings_page.php:24 social-media-buttons-toolbar.php:73
25
  msgid "Social Media Buttons Toolbar"
26
  msgstr ""
27
 
28
+ #: inc/settings_page.php:27
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:38
35
  msgid "About"
36
  msgstr ""
37
 
38
+ #: inc/settings_page.php:40
39
  msgid ""
40
  "This plugin allows you to easily add the social media buttons toolbar to any "
41
  "place of your website."
51
  "better and keep it up-to-date."
52
  msgstr ""
53
 
54
+ #: inc/settings_page.php:52
55
  msgid "Thanks for your support!"
56
  msgstr ""
57
 
58
+ #: inc/settings_page.php:57
59
  msgid "Help"
60
  msgstr ""
61
 
62
+ #: inc/settings_page.php:59
63
  msgid "If you want more options then tell me and I will be happy to add it."
64
  msgstr ""
65
 
66
+ #: inc/settings_page.php:65
67
+ msgid "Freelance"
68
+ msgstr ""
69
+
70
+ #: inc/settings_page.php:68
71
+ msgid ""
72
+ "Hello, my name is Arthur and I'm a freelance web designer and developer."
73
+ msgstr ""
74
+
75
+ #: inc/settings_page.php:69
76
+ msgid ""
77
+ "Share your thoughts with me. You may have a brilliant idea in your mind and "
78
+ "I can make it happen, so let’s get started!"
79
+ msgstr ""
80
+
81
+ #: inc/settings_page.php:87
82
  msgid "Buttons"
83
  msgstr ""
84
 
85
+ #: inc/settings_page.php:89
86
  msgid ""
87
  "Enter your User ID for each service you choose below to make the button link "
88
  "directly to your profile. If you don't want to use any of the following "
89
  "options, you can just forget about these."
90
  msgstr ""
91
 
92
+ #: inc/settings_page.php:200 inc/settings_page.php:246
93
  msgid "Save Changes"
94
  msgstr ""
95
 
96
+ #: inc/settings_page.php:205
97
  msgid "Display options"
98
  msgstr ""
99
 
100
+ #: inc/settings_page.php:251
101
  msgid "Preview"
102
  msgstr ""
103
 
104
+ #: inc/settings_page.php:253
105
  msgid ""
106
  "Enter your User ID's, then click \"Save Changes\" to update this preview."
107
  msgstr ""
108
 
109
+ #: inc/settings_page.php:259
110
  msgid "Using"
111
  msgstr ""
112
 
113
+ #: inc/settings_page.php:261
114
  msgid ""
115
  "You have several methods for display the social media buttons toolbar "
116
  "(further just \"toolbar\") on your website. But first, enter a links for "
117
  "each buttons, then click \"Save Changes\"."
118
  msgstr ""
119
 
120
+ #: inc/settings_page.php:262
121
  msgid ""
122
  "<b>A)</b> For display the toolbar below content on every Posts or/and Pages, "
123
  "just check the checkbox \"Show on Posts\" or/and \"Show on Pages\" in the "
124
  "section \"Display options\", then click \"Save Changes\". It's that simple!"
125
  msgstr ""
126
 
127
+ #: inc/settings_page.php:263
128
  msgid ""
129
  "<b>B)</b> For add the toolbar inside a post from WP Post/Page Editor use the "
130
  "following shortcode:"
131
  msgstr ""
132
 
133
+ #: inc/settings_page.php:265
134
  msgid ""
135
  "<b>C)</b> For add the toolbar to the widget area (in sidebar, footer etc.) "
136
  "use the \"Text\" widget and add inside it the following shortcode:"
137
  msgstr ""
138
 
139
+ #: inc/settings_page.php:267
140
  msgid ""
141
  "<b>D)</b> For add the toolbar directly to a theme files, just add one of the "
142
  "following code (both variants do the same) to needed place (where you want "
143
  "to display the toolbar) in your theme files:"
144
  msgstr ""
145
 
146
+ #: social-media-buttons-toolbar.php:60
147
  msgid "Settings"
148
  msgstr ""
149
 
150
+ #: social-media-buttons-toolbar.php:73
151
  msgid "Social Buttons"
152
  msgstr ""
153
 
154
  #. Plugin URI of the plugin/theme
155
+ msgid "https://github.com/ArthurGareginyan/social-media-buttons-toolbar"
 
 
156
  msgstr ""
157
 
158
  #. Description of the plugin/theme
readme.txt CHANGED
@@ -1,37 +1,32 @@
1
  === Social Media Buttons Toolbar ===
2
  Contributors: Arthur Gareginyan
3
- Tags: icon, icon set, button, social, media, social button, social media, social network, toolbar, link to profile,
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.2
8
  License: GPL3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
11
- Easily add the smart toolbar with social media buttons (not share, only link to your profiles) to any place of your WordPress web-site.
12
 
13
  == Description ==
14
 
15
- An easy to use WordPress plugin that gives you the ability to easily add the smart toolbar with social media buttons to any place (post, page, widget, sidebar, footer) of your WordPress web-site.
16
 
17
  The social media buttons toolbar - is a toolbar with set of icons of the popular social media which are linked directly to your profile on this social networks. I.e. clicking the Facebook icon will take the user to your Facebook page, clicking the Twitter icon will take them to your Twitter page.
18
 
19
  Unlike the other plugins, this plugin create a live toolbar. If the buttons do not fit to the one line, then they will be placed on multiple lines. So they can be arranged horizontally or vertically, in one line or in a few and it always centered.
20
 
21
- It give you finer control over buttons. You can configure they on plugins settings page. You can choose the size of icons, choose open link in current tab or in new, and etc. Also you can have the social media buttons automatically added to the bottom of all post or/and pages, and can position the link buttons using either a widget, a shortcode or a template action hook.
22
-
23
- If you want more options then tell me and I will be happy to add it.
24
-
25
 
26
  = Features =
27
-
28
- **Current features:**
29
 
30
  * Icon set ["Social Buttons 2"](https://www.iconfinder.com/iconsets/social-buttons-2) by Ivlichev Victor Petrovich
31
  * Ready for translation (.pot file included).
32
- * Added Russian translation.
33
 
34
- **Supported social media:**
35
 
36
  * Facebook
37
  * Twitter
@@ -40,24 +35,17 @@ If you want more options then tell me and I will be happy to add it.
40
  * YouTube
41
  * Blogger
42
  * LinkedIn
 
 
 
 
 
43
  * GitHub
44
  * WordPress
45
  * Codepen
 
46
  * Email
47
- * RSS Feed
48
-
49
- **Coming soon:**
50
-
51
- * Pinterest
52
- * VKontakte
53
- * Odnoklassniki
54
- * Personal web-site
55
- * Ebay
56
- * Flickr
57
- * Specific Feeds
58
- * Tumblr
59
- * Vimeo
60
- * (Got more ideas? Tell me!)
61
 
62
  **Using:**
63
 
@@ -77,9 +65,14 @@ D) For add the toolbar directly to a theme files, just add one of the following
77
  `<?php echo smbtoolbar_shortcode(); ?>`
78
 
79
 
80
- **Please Vote and Enjoy**
 
 
 
 
 
 
81
 
82
- * Your votes really make a difference! Thanks.
83
 
84
  == Installation ==
85
  Install "Social Media Buttons Toolbar" just as you would any other WordPress Plugin.
@@ -129,6 +122,9 @@ A. Please visit [Dedicated Plugin Page on GitHub](https://github.com/ArthurGareg
129
 
130
  = Q. Where to share any ideas or suggestions to make the plugin better? =
131
  A. Please send me email [arthurgareginyan@gmail.com](mailto:arthurgareginyan@gmail.com).
 
 
 
132
 
133
 
134
  == Screenshots ==
@@ -150,7 +146,7 @@ Commercial licensing (e.g. for projects that can’t use an open-source license)
150
 
151
  **Credits**
152
 
153
- Icon set [Social Buttons 2](https://www.iconfinder.com/iconsets/social-buttons-2) by Ivlichev Victor Petrovich is licensed under the Creative Commons (Attribution 3.0 Unported).
154
 
155
  **Support**
156
 
@@ -167,6 +163,15 @@ Icon set [Social Buttons 2](https://www.iconfinder.com/iconsets/social-buttons-2
167
  * [Dedicated Plugin Page on GitHub](https://github.com/ArthurGareginyan/social-media-buttons-toolbar)
168
 
169
  == Changelog ==
 
 
 
 
 
 
 
 
 
170
  = 1.3 =
171
  * Some changes in design of settings page.
172
  * On settings page added section "Using" with the using details. (Thanks Hubert O'Brien)
@@ -191,6 +196,14 @@ Icon set [Social Buttons 2](https://www.iconfinder.com/iconsets/social-buttons-2
191
 
192
 
193
  == Upgrade Notice ==
 
 
 
 
 
 
 
 
194
  = 1.3 =
195
  * Some changes in design of settings page.
196
  * On settings page added section "Using" with the using details. (Thanks Hubert O'Brien)
1
  === Social Media Buttons Toolbar ===
2
  Contributors: Arthur Gareginyan
3
+ Tags: icon, icon set, button, social, media, social button, social media, social network, toolbar, link to profile, facebook, twitter, instagram, google plus, youtube, blogger, livejournal, linkedIn, pinterest, tumblr, vkontakte, vk, odnoklassniki, ok, github, wordpress, codepen, personal website, email, rss feed, rss, feed
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.3
8
  License: GPL3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
11
+ Easily add the smart toolbar with social media buttons (not share, only link to your profiles) to any place of your WordPress website.
12
 
13
  == Description ==
14
 
15
+ An easy to use WordPress plugin that gives you the ability to easily add the smart toolbar with social media buttons to any place (post, page, widget, sidebar, footer) of your WordPress website.
16
 
17
  The social media buttons toolbar - is a toolbar with set of icons of the popular social media which are linked directly to your profile on this social networks. I.e. clicking the Facebook icon will take the user to your Facebook page, clicking the Twitter icon will take them to your Twitter page.
18
 
19
  Unlike the other plugins, this plugin create a live toolbar. If the buttons do not fit to the one line, then they will be placed on multiple lines. So they can be arranged horizontally or vertically, in one line or in a few and it always centered.
20
 
21
+ It give you finer control over buttons. You can configure they on plugins settings page. You can choose the size of icons, choose open link in current tab or in new, and etc. Also you can have the social media buttons automatically added to the bottom of all post or/and pages, and can position the link buttons using either a widget, a shortcode or a template action hook.
 
 
 
22
 
23
  = Features =
 
 
24
 
25
  * Icon set ["Social Buttons 2"](https://www.iconfinder.com/iconsets/social-buttons-2) by Ivlichev Victor Petrovich
26
  * Ready for translation (.pot file included).
27
+ * Russian translation.
28
 
29
+ **Supported social media and links:**
30
 
31
  * Facebook
32
  * Twitter
35
  * YouTube
36
  * Blogger
37
  * LinkedIn
38
+ * LiveJournal
39
+ * Pinterest
40
+ * Tumblr
41
+ * VKontakte
42
+ * Odnoklassniki
43
  * GitHub
44
  * WordPress
45
  * Codepen
46
+ * Personal website
47
  * Email
48
+ * RSS Feed
 
 
 
 
 
 
 
 
 
 
 
 
 
49
 
50
  **Using:**
51
 
65
  `<?php echo smbtoolbar_shortcode(); ?>`
66
 
67
 
68
+ **Got more ideas? Tell me!**
69
+
70
+ * If you have any suggestions to make this plugin better, don't hesitate to contact me.
71
+
72
+ **Please Vote and Enjoy**
73
+
74
+ * Your votes really make a difference! Thanks.
75
 
 
76
 
77
  == Installation ==
78
  Install "Social Media Buttons Toolbar" just as you would any other WordPress Plugin.
122
 
123
  = Q. Where to share any ideas or suggestions to make the plugin better? =
124
  A. Please send me email [arthurgareginyan@gmail.com](mailto:arthurgareginyan@gmail.com).
125
+
126
+ = Q. I love this plugin! Can I help somehow? =
127
+ A. Yes, any financial contributions are welcome! Just visit my website and click on the donate link, and thank you! [My website](http://www.arthurgareginyan.com/donate.html)
128
 
129
 
130
  == Screenshots ==
146
 
147
  **Credits**
148
 
149
+ Icon set [Social Buttons 2](https://www.iconfinder.com/iconsets/social-buttons-2) by Ivlichev Victor Petrovich and licensed under the Creative Commons (Attribution 3.0 Unported)[http://creativecommons.org/licenses/by/3.0/].
150
 
151
  **Support**
152
 
163
  * [Dedicated Plugin Page on GitHub](https://github.com/ArthurGareginyan/social-media-buttons-toolbar)
164
 
165
  == Changelog ==
166
+ = 1.4 =
167
+ * Added 6 new buttons (LiveJournal, Pinterest, Tumblr, VKontakte, Odnoklassniki, Personal website).
168
+ * Fixed: "Use of undefined constant media".
169
+ * Plugin URI changed to GitHub repository.
170
+ * Some changes in design of settings page.
171
+ * Added my personal ad about freelance.
172
+ * Some changes in design of settings page.
173
+ * .pot file updated.
174
+ * Russian translation updated.
175
  = 1.3 =
176
  * Some changes in design of settings page.
177
  * On settings page added section "Using" with the using details. (Thanks Hubert O'Brien)
196
 
197
 
198
  == Upgrade Notice ==
199
+ = 1.4 =
200
+ * Added 6 new buttons (LiveJournal, Pinterest, Tumblr, VKontakte, Odnoklassniki, Personal website).
201
+ * Fixed: "Use of undefined constant media".
202
+ * Plugin URI changed to GitHub repository.
203
+ * Some changes in design of settings page.
204
+ * Added my personal ad about freelance.
205
+ * .pot file updated.
206
+ * Russian translation updated.
207
  = 1.3 =
208
  * Some changes in design of settings page.
209
  * On settings page added section "Using" with the using details. (Thanks Hubert O'Brien)
social-media-buttons-toolbar.php CHANGED
@@ -1,16 +1,16 @@
1
  <?php
2
  /**
3
  * Plugin Name: Social Media Buttons Toolbar
4
- * Plugin URI: http://mycyberuniverse.com/my_programs/wp-plugin-social-media-buttons-toolbar.html
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.3
9
  * License: GPL3
10
  * Text Domain: smbtoolbar
11
  * Domain Path: /languages/
12
  *
13
- * Copyright 2015 Arthur "Berserkr" Gareginyan (email : arthurgareginyan@gmail.com)
14
  *
15
  * This file is part of "Social Media Buttons Toolbar".
16
  *
@@ -31,6 +31,8 @@
31
 
32
  /**
33
  * Prevent Direct Access
 
 
34
  */
35
  defined('ABSPATH') or die("Restricted access!");
36
 
@@ -108,15 +110,15 @@ add_action( 'admin_init', 'smbtoolbar_register_settings' );
108
  /**
109
  * Render fields for saving social media data to BD
110
  *
111
- * @since 0.3
112
  */
113
  function smbtoolbar_media($name, $label, $placeholder, $help=null, $link=null) {
114
 
115
  // Declare variables
116
  $options = get_option( 'smbtoolbar_settings' );
117
 
118
- if ( !empty($options[media][$name][content]) ) :
119
- $value = esc_textarea( $options[media][$name][content] );
120
  else :
121
  $value = "";
122
  endif;
@@ -357,4 +359,4 @@ function smbtoolbar_uninstall() {
357
  register_uninstall_hook( __FILE__, 'smbtoolbar_uninstall' );
358
 
359
  /* That's all folks! */
360
- ?>
1
  <?php
2
  /**
3
  * Plugin Name: Social Media Buttons Toolbar
4
+ * Plugin URI: https://github.com/ArthurGareginyan/social-media-buttons-toolbar
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.4
9
  * License: GPL3
10
  * Text Domain: smbtoolbar
11
  * Domain Path: /languages/
12
  *
13
+ * Copyright 2015-2016 Arthur "Berserkr" Gareginyan (email : arthurgareginyan@gmail.com)
14
  *
15
  * This file is part of "Social Media Buttons Toolbar".
16
  *
31
 
32
  /**
33
  * Prevent Direct Access
34
+ *
35
+ * @since 0.1
36
  */
37
  defined('ABSPATH') or die("Restricted access!");
38
 
110
  /**
111
  * Render fields for saving social media data to BD
112
  *
113
+ * @since 1.4
114
  */
115
  function smbtoolbar_media($name, $label, $placeholder, $help=null, $link=null) {
116
 
117
  // Declare variables
118
  $options = get_option( 'smbtoolbar_settings' );
119
 
120
+ if ( !empty($options["media"][$name]["content"]) ) :
121
+ $value = esc_textarea( $options["media"][$name]["content"] );
122
  else :
123
  $value = "";
124
  endif;
359
  register_uninstall_hook( __FILE__, 'smbtoolbar_uninstall' );
360
 
361
  /* That's all folks! */
362
+ ?>