Version Description
- 2019-03-03 =
- Improved compatibility with third-party themes.
Download this release
Release Info
Developer | Arthur Gareginyan |
Plugin | Social Media Follow Buttons Bar |
Version | 4.49 |
Comparing to | |
See all releases |
Code changes from version 4.48 to 4.49
- inc/css/frontend.css +12 -3
- inc/js/admin.js +3 -1
- inc/php/enqueue.php +4 -0
- readme.txt +10 -7
- social-media-buttons-toolbar.php +1 -1
inc/css/frontend.css
CHANGED
@@ -12,9 +12,10 @@
|
|
12 |
.sxc-follow-buttons {
|
13 |
margin: 0 !important; /* Reset */
|
14 |
padding: 0 !important; /* Reset */
|
|
|
15 |
background-image: none !important; /* Reset */
|
16 |
border: none !important; /* Reset */
|
17 |
-
|
18 |
}
|
19 |
|
20 |
/* Each button */
|
@@ -22,9 +23,10 @@
|
|
22 |
display: inline-block !important; /* Reset */
|
23 |
margin: 0 !important; /* Reset */
|
24 |
padding: 0 !important; /* Reset */
|
|
|
25 |
background-image: none !important; /* Reset */
|
26 |
border: none !important; /* Reset */
|
27 |
-
|
28 |
list-style-type: none !important; /* Reset */
|
29 |
-webkit-user-select: none; /* Reset */
|
30 |
-moz-user-select: none; /* Reset */
|
@@ -40,8 +42,11 @@
|
|
40 |
|
41 |
.sxc-follow-buttons .sxc-follow-button a {
|
42 |
display: block !important; /* Reset */
|
|
|
|
|
|
|
|
|
43 |
border: none !important; /* Reset */
|
44 |
-
border-bottom: 0 !important; /* Reset */
|
45 |
box-shadow: none !important; /* Reset */
|
46 |
}
|
47 |
|
@@ -50,3 +55,7 @@
|
|
50 |
padding: 0 !important; /* Reset */
|
51 |
vertical-align: top;
|
52 |
}
|
|
|
|
|
|
|
|
12 |
.sxc-follow-buttons {
|
13 |
margin: 0 !important; /* Reset */
|
14 |
padding: 0 !important; /* Reset */
|
15 |
+
background: none !important; /* Reset */
|
16 |
background-image: none !important; /* Reset */
|
17 |
border: none !important; /* Reset */
|
18 |
+
box-shadow: none !important; /* Reset */
|
19 |
}
|
20 |
|
21 |
/* Each button */
|
23 |
display: inline-block !important; /* Reset */
|
24 |
margin: 0 !important; /* Reset */
|
25 |
padding: 0 !important; /* Reset */
|
26 |
+
background: none !important; /* Reset */
|
27 |
background-image: none !important; /* Reset */
|
28 |
border: none !important; /* Reset */
|
29 |
+
box-shadow: none !important; /* Reset */
|
30 |
list-style-type: none !important; /* Reset */
|
31 |
-webkit-user-select: none; /* Reset */
|
32 |
-moz-user-select: none; /* Reset */
|
42 |
|
43 |
.sxc-follow-buttons .sxc-follow-button a {
|
44 |
display: block !important; /* Reset */
|
45 |
+
margin: 0 !important; /* Reset */
|
46 |
+
padding: 0 !important; /* Reset */
|
47 |
+
background: none !important; /* Reset */
|
48 |
+
background-image: none !important; /* Reset */
|
49 |
border: none !important; /* Reset */
|
|
|
50 |
box-shadow: none !important; /* Reset */
|
51 |
}
|
52 |
|
55 |
padding: 0 !important; /* Reset */
|
56 |
vertical-align: top;
|
57 |
}
|
58 |
+
|
59 |
+
.sxc-follow-buttons .sxc-follow-button a br {
|
60 |
+
display: none !important; /* Reset */
|
61 |
+
}
|
inc/js/admin.js
CHANGED
@@ -91,7 +91,9 @@ jQuery(document).ready(function($) {
|
|
91 |
var button_margin = $('.margin-right input').val() / 2 || '5';
|
92 |
button_size = 'width:' + button_size + 'px !important; height:' + button_size + 'px !important;';
|
93 |
button_margin = 'margin:' + button_margin + 'px !important;';
|
94 |
-
$('#preview .sxc-follow-buttons .sxc-follow-button
|
|
|
|
|
95 |
}
|
96 |
$('.icon-size input').change(function() {
|
97 |
LiveInlineStyles();
|
91 |
var button_margin = $('.margin-right input').val() / 2 || '5';
|
92 |
button_size = 'width:' + button_size + 'px !important; height:' + button_size + 'px !important;';
|
93 |
button_margin = 'margin:' + button_margin + 'px !important;';
|
94 |
+
$('#preview .sxc-follow-buttons .sxc-follow-button').attr('style',button_size + button_margin);
|
95 |
+
$('#preview .sxc-follow-buttons .sxc-follow-button a').attr('style',button_size);
|
96 |
+
$('#preview .sxc-follow-buttons .sxc-follow-button a img').attr('style',button_size);
|
97 |
}
|
98 |
$('.icon-size input').change(function() {
|
99 |
LiveInlineStyles();
|
inc/php/enqueue.php
CHANGED
@@ -20,9 +20,13 @@ function spacexchimp_p005_load_scripts_dynamic_css( $options, $prefix ) {
|
|
20 |
.sxc-follow-buttons {
|
21 |
text-align: " . $buttons_alignment . " !important;
|
22 |
}
|
|
|
|
|
23 |
.sxc-follow-buttons .sxc-follow-button a img {
|
24 |
width: " . $button_size . "px !important;
|
25 |
height: " . $button_size . "px !important;
|
|
|
|
|
26 |
margin: " . ( $button_margin / 2 ) . "px !important;
|
27 |
}
|
28 |
";
|
20 |
.sxc-follow-buttons {
|
21 |
text-align: " . $buttons_alignment . " !important;
|
22 |
}
|
23 |
+
.sxc-follow-buttons .sxc-follow-button,
|
24 |
+
.sxc-follow-buttons .sxc-follow-button a,
|
25 |
.sxc-follow-buttons .sxc-follow-button a img {
|
26 |
width: " . $button_size . "px !important;
|
27 |
height: " . $button_size . "px !important;
|
28 |
+
}
|
29 |
+
.sxc-follow-buttons .sxc-follow-button {
|
30 |
margin: " . ( $button_margin / 2 ) . "px !important;
|
31 |
}
|
32 |
";
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: icon, icon set, button, social, media, social button, social media, social
|
|
4 |
Donate link: https://www.spacexchimp.com/donate.html
|
5 |
Requires at least: 3.9
|
6 |
Tested up to: 5.1
|
7 |
-
Stable tag: 4.
|
8 |
License: GPL3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -50,11 +50,11 @@ Its purpose is to provide a familiar experience to WordPress users. You don't ne
|
|
50 |
|
51 |
* Up to 10 buttons bar instances
|
52 |
* Separate settings for buttons bars
|
53 |
-
* Separate preview for each buttons bar
|
54 |
* Ability to give a name/label for each buttons bar for easy management
|
55 |
-
* Ability to choose which one from your buttons bars you like to autoload
|
56 |
-
* Ability to automatically display the buttons bar not only below content on Posts, but also above content on Posts
|
57 |
-
* Ability to automatically display the buttons bar not only below content on Pages, but also above content on Pages
|
58 |
* No ads on the settings page
|
59 |
* Well documented
|
60 |
|
@@ -310,6 +310,9 @@ Commercial licensing (e.g. for projects that can’t use an open-source license)
|
|
310 |
|
311 |
== Changelog ==
|
312 |
|
|
|
|
|
|
|
313 |
= 4.48 - 2019-03-01 =
|
314 |
* Framework updated: The file "page.php" is divided into the following parts: "page.php", "usage.php", "faq.php", "support.php".
|
315 |
* Framework updated: The files "settings.php", "usage.php", "faq.php", "support.php" are moved to the subfolder "tabs".
|
@@ -349,7 +352,7 @@ Commercial licensing (e.g. for projects that can’t use an open-source license)
|
|
349 |
|
350 |
= 4.44 =
|
351 |
* Improvement: Design of the plugin settings page is improved.
|
352 |
-
* Improved code to reset CSS styles to
|
353 |
* Fix: The "blank" value of the "target" attribute in the links of social media buttons are replaced with "_blank" value.
|
354 |
* Fix: The "displayo-ptions" ID is renamed to "display".
|
355 |
* Some texts are updated.
|
@@ -361,7 +364,7 @@ Commercial licensing (e.g. for projects that can’t use an open-source license)
|
|
361 |
* Translation files are updated.
|
362 |
|
363 |
= 4.42 =
|
364 |
-
* Improved code to reset CSS styles to
|
365 |
* Code commenting improved.
|
366 |
* CSS code, which is located in the file "admin.css" and is related to the "FAQ" section, is improved.
|
367 |
* Some texts are updated.
|
4 |
Donate link: https://www.spacexchimp.com/donate.html
|
5 |
Requires at least: 3.9
|
6 |
Tested up to: 5.1
|
7 |
+
Stable tag: 4.49
|
8 |
License: GPL3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
50 |
|
51 |
* Up to 10 buttons bar instances
|
52 |
* Separate settings for buttons bars
|
53 |
+
* Separate preview for each buttons bar on the settings page
|
54 |
* Ability to give a name/label for each buttons bar for easy management
|
55 |
+
* Ability to choose which one from your buttons bars you like to autoload
|
56 |
+
* Ability to automatically display the buttons bar not only below content on Posts, but also above content on Posts
|
57 |
+
* Ability to automatically display the buttons bar not only below content on Pages, but also above content on Pages
|
58 |
* No ads on the settings page
|
59 |
* Well documented
|
60 |
|
310 |
|
311 |
== Changelog ==
|
312 |
|
313 |
+
= 4.49 - 2019-03-03 =
|
314 |
+
* Improved compatibility with third-party themes.
|
315 |
+
|
316 |
= 4.48 - 2019-03-01 =
|
317 |
* Framework updated: The file "page.php" is divided into the following parts: "page.php", "usage.php", "faq.php", "support.php".
|
318 |
* Framework updated: The files "settings.php", "usage.php", "faq.php", "support.php" are moved to the subfolder "tabs".
|
352 |
|
353 |
= 4.44 =
|
354 |
* Improvement: Design of the plugin settings page is improved.
|
355 |
+
* Improved code to reset CSS styles to "default" for the buttons bar elements.
|
356 |
* Fix: The "blank" value of the "target" attribute in the links of social media buttons are replaced with "_blank" value.
|
357 |
* Fix: The "displayo-ptions" ID is renamed to "display".
|
358 |
* Some texts are updated.
|
364 |
* Translation files are updated.
|
365 |
|
366 |
= 4.42 =
|
367 |
+
* Improved code to reset CSS styles to "default" for the buttons bar elements.
|
368 |
* Code commenting improved.
|
369 |
* CSS code, which is located in the file "admin.css" and is related to the "FAQ" section, is improved.
|
370 |
* Some texts are updated.
|
social-media-buttons-toolbar.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Description: Easily and safely add a smart bar with social media follow buttons (not share, only link to your profiles) to any place (post content, page content, widget, sidebar, header, footer) of your WordPress website.
|
6 |
* Author: Space X-Chimp
|
7 |
* Author URI: https://www.spacexchimp.com
|
8 |
-
* Version: 4.
|
9 |
* License: GPL3
|
10 |
* Text Domain: social-media-buttons-toolbar
|
11 |
* Domain Path: /languages/
|
5 |
* Description: Easily and safely add a smart bar with social media follow buttons (not share, only link to your profiles) to any place (post content, page content, widget, sidebar, header, footer) of your WordPress website.
|
6 |
* Author: Space X-Chimp
|
7 |
* Author URI: https://www.spacexchimp.com
|
8 |
+
* Version: 4.49
|
9 |
* License: GPL3
|
10 |
* Text Domain: social-media-buttons-toolbar
|
11 |
* Domain Path: /languages/
|