Version Description
[6 December 2021] = * [Improvement] Integrating Social Media Follow widget was breaking the functionality at the Widgets page in the admin area in some cases
Download this release
Release Info
Developer | Heateor |
Plugin | WordPress Social Sharing Plugin – Sassy Social Share |
Version | 3.3.36 |
Comparing to | |
See all releases |
Code changes from version 3.3.35 to 3.3.36
- includes/class-sassy-social-share-widgets.php +18 -2
- readme.txt +8 -2
- sassy-social-share.php +2 -2
includes/class-sassy-social-share-widgets.php
CHANGED
@@ -736,7 +736,8 @@ class Sassy_Social_Share_Follow_Widget extends WP_Widget {
|
|
736 |
}</style>";
|
737 |
}
|
738 |
}
|
739 |
-
$
|
|
|
740 |
$bottom_sharing_responsive_css = '';
|
741 |
if ( isset( $instance['type'] ) && $instance['type'] == 'floating' && isset( $instance['bottom_sharing_position_radio'] ) && $instance['bottom_sharing_position_radio'] == 'responsive' ) {
|
742 |
$vertical_sharing_icon_height = $this->options['vertical_sharing_shape'] == 'rectangle' ? $this->options['vertical_sharing_height'] : $this->options['vertical_sharing_size'];
|
@@ -744,7 +745,8 @@ class Sassy_Social_Share_Follow_Widget extends WP_Widget {
|
|
744 |
$bottom_sharing_responsive_css = 'div.heateor_sss_bottom_follow{width:100%!important;left:0!important;}div.heateor_sss_bottom_follow a{width:' . ( 100/( $num_sharing_icons ) ) . '%!important;}div.heateor_sss_bottom_follow .heateor_sss_svg{width:100%!important;}';
|
745 |
}
|
746 |
if ( isset( $instance['type'] ) && $instance['type'] == 'floating' && isset( $instance['bottom_mobile_sharing'] ) && $instance['horizontal_screen_width'] != '' && isset( $instance['bottom_sharing_position_radio'] ) && $instance['bottom_sharing_position_radio'] == 'responsive' ) {
|
747 |
-
$
|
|
|
748 |
}
|
749 |
|
750 |
$icon_style = 'width:' . $instance['size'] . 'px;height:' . $instance['size'] . 'px;' . ( $instance['icon_shape'] == 'round' ? 'border-radius:999px;' : '' );
|
@@ -977,6 +979,20 @@ class Sassy_Social_Share_Follow_Widget extends WP_Widget {
|
|
977 |
<option value="square" <?php echo isset( $instance['icon_shape'] ) && $instance['icon_shape'] == 'square' ? 'selected' : '' ; ?>><?php _e( 'Square', 'sassy-social-share' ); ?></option>
|
978 |
</select><br/><br/>
|
979 |
<script type="text/javascript">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
980 |
jQuery(function(){
|
981 |
heateorSssFloatingAlignment('<?php echo isset( $instance['type'] ) ? $instance['type'] : 'standard'; ?>');
|
982 |
heateorSssAlignmentOffsetLabel('<?php echo isset( $instance['alignment'] ) ? $instance['alignment'] : 'left'; ?>');
|
736 |
}</style>";
|
737 |
}
|
738 |
}
|
739 |
+
$bottom_sharing_alignment = ! isset( $instance['bottom_sharing_alignment'] ) || $instance['bottom_sharing_alignment'] == 'left' ? 'left' : 'right';
|
740 |
+
$bottom_sharing_alignment_inverse = $bottom_sharing_alignment == 'left' ? 'right' : 'left';
|
741 |
$bottom_sharing_responsive_css = '';
|
742 |
if ( isset( $instance['type'] ) && $instance['type'] == 'floating' && isset( $instance['bottom_sharing_position_radio'] ) && $instance['bottom_sharing_position_radio'] == 'responsive' ) {
|
743 |
$vertical_sharing_icon_height = $this->options['vertical_sharing_shape'] == 'rectangle' ? $this->options['vertical_sharing_height'] : $this->options['vertical_sharing_size'];
|
745 |
$bottom_sharing_responsive_css = 'div.heateor_sss_bottom_follow{width:100%!important;left:0!important;}div.heateor_sss_bottom_follow a{width:' . ( 100/( $num_sharing_icons ) ) . '%!important;}div.heateor_sss_bottom_follow .heateor_sss_svg{width:100%!important;}';
|
746 |
}
|
747 |
if ( isset( $instance['type'] ) && $instance['type'] == 'floating' && isset( $instance['bottom_mobile_sharing'] ) && $instance['horizontal_screen_width'] != '' && isset( $instance['bottom_sharing_position_radio'] ) && $instance['bottom_sharing_position_radio'] == 'responsive' ) {
|
748 |
+
$bottom_sharing_position = isset( $instance['bottom_sharing_position'] ) ? $instance['bottom_sharing_position'] : '0';
|
749 |
+
$html .= '<style>div.heateor_sss_mobile_footer{display:none;}@media screen and (max-width:' . ( isset( $instance['horizontal_screen_width'] ) ? intval( $instance['horizontal_screen_width'] ) : 786 ) . 'px){' . $bottom_sharing_responsive_css . 'div.heateor_sss_mobile_footer{display:block;height:' . ( $this->options['vertical_sharing_shape'] == 'rectangle' ? $this->options['vertical_sharing_height'] : $this->options['vertical_sharing_size'] ) . 'px;}.heateor_sss_bottom_follow{padding:0!important;' . ( isset( $instance['bottom_sharing_position_radio'] ) && $instance['bottom_sharing_position_radio'] == 'nonresponsive' ? $bottom_sharing_alignment . ':' . $bottom_sharing_position . 'px!important;' . $bottom_sharing_alignment_inverse . ':auto!important;' : '' ) . 'display:block!important;width:auto!important;bottom:' . ( isset( $this->options['vertical_total_shares'] ) ? '-10' : '-2' ) . 'px!important;top:auto!important;}}</style>';
|
750 |
}
|
751 |
|
752 |
$icon_style = 'width:' . $instance['size'] . 'px;height:' . $instance['size'] . 'px;' . ( $instance['icon_shape'] == 'round' ? 'border-radius:999px;' : '' );
|
979 |
<option value="square" <?php echo isset( $instance['icon_shape'] ) && $instance['icon_shape'] == 'square' ? 'selected' : '' ; ?>><?php _e( 'Square', 'sassy-social-share' ); ?></option>
|
980 |
</select><br/><br/>
|
981 |
<script type="text/javascript">
|
982 |
+
function heateorSssFloatingAlignment(val) {
|
983 |
+
if (val == 'floating' ) {
|
984 |
+
jQuery( '.heateorSssFloatingAlignment' ).css( 'display', 'block' );
|
985 |
+
} else {
|
986 |
+
jQuery( '.heateorSssFloatingAlignment' ).css( 'display', 'none' );
|
987 |
+
}
|
988 |
+
}
|
989 |
+
function heateorSssAlignmentOffsetLabel(val) {
|
990 |
+
if (val == 'left' ) {
|
991 |
+
jQuery("label:contains('<?php _e( 'Right offset', 'sassy-social-share' ) ?>')").text('<?php _e( 'Left offset', 'sassy-social-share' ) ?>' );
|
992 |
+
} else {
|
993 |
+
jQuery("label:contains('<?php _e( 'Left offset', 'sassy-social-share' ) ?>')").text('<?php _e( 'Right offset', 'sassy-social-share' ) ?>' );
|
994 |
+
}
|
995 |
+
}
|
996 |
jQuery(function(){
|
997 |
heateorSssFloatingAlignment('<?php echo isset( $instance['type'] ) ? $instance['type'] : 'standard'; ?>');
|
998 |
heateorSssAlignmentOffsetLabel('<?php echo isset( $instance['alignment'] ) ? $instance['alignment'] : 'left'; ?>');
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.heateor.com/donate/?action=Sassy+Social+Share
|
|
4 |
Tags: social share, social sharing, social media share, share facebook, facebook social share, wordpress social share, share buttons, social share buttons, facebook like, twitter tweet, whatsapp share, line share, gab share, gab, parler share, gettr, gettr share, mewe share, mewe
|
5 |
Requires at least: 2.5.0
|
6 |
Tested up to: 5.8.2
|
7 |
-
Stable tag: 3.3.
|
8 |
License: GPLv2 or later
|
9 |
|
10 |
Slickest, Simplest and Optimized Share buttons. Facebook, Twitter, Reddit, Pinterest, Whatsapp, Parler, Gab, Gettr and over 100 more.
|
@@ -123,6 +123,9 @@ Yes, we can help you with it. Just drop an email at support[at]heateor[dot]com
|
|
123 |
4. **Universal Sharing Popup**: Universal Sharing popup having all the supported sharing and bookmarking services
|
124 |
|
125 |
== Changelog ==
|
|
|
|
|
|
|
126 |
= 3.3.35 [2 December 2021] =
|
127 |
* [Bugfix] Multi-colored background of Instagram icon was not changing if customized from the Theme Selection section
|
128 |
* [Bugfix] Floating option was not working for the social media follow icons
|
@@ -1143,4 +1146,7 @@ Yes, we can help you with it. Just drop an email at support[at]heateor[dot]com
|
|
1143 |
* [Bugfix] Floating option was not working for the social media follow icons
|
1144 |
* [Bugfix] "More" text was being displayed with the "More" share icon
|
1145 |
* [New] Added an option to align the standard Social Media follow bar to the left, center or right
|
1146 |
-
* [Improvement] Improved the code of the Social Media Follow widget
|
|
|
|
|
|
4 |
Tags: social share, social sharing, social media share, share facebook, facebook social share, wordpress social share, share buttons, social share buttons, facebook like, twitter tweet, whatsapp share, line share, gab share, gab, parler share, gettr, gettr share, mewe share, mewe
|
5 |
Requires at least: 2.5.0
|
6 |
Tested up to: 5.8.2
|
7 |
+
Stable tag: 3.3.36
|
8 |
License: GPLv2 or later
|
9 |
|
10 |
Slickest, Simplest and Optimized Share buttons. Facebook, Twitter, Reddit, Pinterest, Whatsapp, Parler, Gab, Gettr and over 100 more.
|
123 |
4. **Universal Sharing Popup**: Universal Sharing popup having all the supported sharing and bookmarking services
|
124 |
|
125 |
== Changelog ==
|
126 |
+
= 3.3.36 [6 December 2021] =
|
127 |
+
* [Improvement] Integrating Social Media Follow widget was breaking the functionality at the Widgets page in the admin area in some cases
|
128 |
+
|
129 |
= 3.3.35 [2 December 2021] =
|
130 |
* [Bugfix] Multi-colored background of Instagram icon was not changing if customized from the Theme Selection section
|
131 |
* [Bugfix] Floating option was not working for the social media follow icons
|
1146 |
* [Bugfix] Floating option was not working for the social media follow icons
|
1147 |
* [Bugfix] "More" text was being displayed with the "More" share icon
|
1148 |
* [New] Added an option to align the standard Social Media follow bar to the left, center or right
|
1149 |
+
* [Improvement] Improved the code of the Social Media Follow widget
|
1150 |
+
|
1151 |
+
= 3.3.36 [6 December 2021] =
|
1152 |
+
* [Improvement] Integrating Social Media Follow widget was breaking the functionality at the Widgets page in the admin area in some cases
|
sassy-social-share.php
CHANGED
@@ -6,7 +6,7 @@
|
|
6 |
* Plugin Name: Sassy Social Share
|
7 |
* Plugin URI: https://www.heateor.com
|
8 |
* Description: Slickest, Simplest and Optimized Share buttons. Facebook, Twitter, Reddit, Pinterest, WhatsApp and over 100 more
|
9 |
-
* Version: 3.3.
|
10 |
* Author: Team Heateor
|
11 |
* Author URI: https://www.heateor.com
|
12 |
* Text Domain: sassy-social-share
|
@@ -20,7 +20,7 @@ if ( ! defined( 'WPINC' ) ) {
|
|
20 |
die;
|
21 |
}
|
22 |
|
23 |
-
define( 'HEATEOR_SSS_VERSION', '3.3.
|
24 |
define( 'HEATEOR_SSS_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
|
25 |
|
26 |
// plugin core class object
|
6 |
* Plugin Name: Sassy Social Share
|
7 |
* Plugin URI: https://www.heateor.com
|
8 |
* Description: Slickest, Simplest and Optimized Share buttons. Facebook, Twitter, Reddit, Pinterest, WhatsApp and over 100 more
|
9 |
+
* Version: 3.3.36
|
10 |
* Author: Team Heateor
|
11 |
* Author URI: https://www.heateor.com
|
12 |
* Text Domain: sassy-social-share
|
20 |
die;
|
21 |
}
|
22 |
|
23 |
+
define( 'HEATEOR_SSS_VERSION', '3.3.36' );
|
24 |
define( 'HEATEOR_SSS_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
|
25 |
|
26 |
// plugin core class object
|