WordPress Social Sharing Plugin – Sassy Social Share - Version 2.5.7

Version Description

  • [Improvement] Horizontal sticky sharing bar is now responsive with auto-adjusting width according to device screen
  • [Improvement] Sticky horizontal sharing icons were covering website footer on mobile devices
  • [Improvement] Share counts are now being rounded off to one decimal
Download this release

Release Info

Developer Heateor
Plugin Icon 128x128 WordPress Social Sharing Plugin – Sassy Social Share
Version 2.5.7
Comparing to
See all releases

Code changes from version 2.5.6 to 2.5.7

admin/partials/sassy-social-share-about.php CHANGED
@@ -28,6 +28,12 @@
28
  </div>
29
  </div>
30
 
 
 
 
 
 
 
31
  <div style="margin-bottom: 21px">
32
  <div class="inside" style="padding-top:10px">
33
  <a target="_blank" style="text-decoration:none" href="http://support.heateor.com/category/sassy-social-share"><input type="button" class="ss_demo" value="<?php _e( 'Customization Options', 'sassy-social-share' ) ?>" /></a>
@@ -53,6 +59,13 @@
53
  </div>
54
  </div>
55
 
 
 
 
 
 
 
 
56
  <div class="stuffbox">
57
  <h3><label><?php _e( 'Support Us', 'sassy-social-share' );?></label></h3>
58
  <div class="inside" style="padding-top: 10px">
28
  </div>
29
  </div>
30
 
31
+ <div style="margin-bottom: 21px">
32
+ <div class="inside" style="padding-top:10px">
33
+ <a target="_blank" style="text-decoration:none" href="https://translate.wordpress.org/projects/wp-plugins/sassy-social-share"><input type="button" class="ss_demo" value="<?php _e( 'Translate Plugin', 'sassy-social-share' ) ?>" /></a>
34
+ </div>
35
+ </div>
36
+
37
  <div style="margin-bottom: 21px">
38
  <div class="inside" style="padding-top:10px">
39
  <a target="_blank" style="text-decoration:none" href="http://support.heateor.com/category/sassy-social-share"><input type="button" class="ss_demo" value="<?php _e( 'Customization Options', 'sassy-social-share' ) ?>" /></a>
59
  </div>
60
  </div>
61
 
62
+ <div class="stuffbox">
63
+ <h3><label><?php _e( 'Testimonial', 'sassy-social-share' );?></label></h3>
64
+ <div class="inside">
65
+ <p><?php _e( 'You can send us testimonial at <a href="mailto:hello@heateor.com">hello@heateor.com</a>', 'sassy-social-share' ); ?></p>
66
+ </div>
67
+ </div>
68
+
69
  <div class="stuffbox">
70
  <h3><label><?php _e( 'Support Us', 'sassy-social-share' );?></label></h3>
71
  <div class="inside" style="padding-top: 10px">
admin/partials/sassy-social-share-options-page.php CHANGED
@@ -1513,7 +1513,8 @@ defined( 'ABSPATH' ) or die("Cheating........Uh!!");
1513
  <label for="heateor_sss_mobile_sharing_position"><?php _e("Horizontal floating bar position", 'sassy-social-share' ); ?></label>
1514
  </th>
1515
  <td>
1516
- <label><?php echo sprintf( __( '%s pixels from %s', 'sassy-social-share' ), '<input id="heateor_sss_mobile_sharing_position" style="width:46px" name="heateor_sss[bottom_sharing_position]" type="text" value="' . ( isset( $options['bottom_sharing_position'] ) ? $options['bottom_sharing_position'] : '' ) . '" />', '<select style="width:63px" name="heateor_sss[bottom_sharing_alignment]"><option value="right" ' . ( ! isset( $options['bottom_sharing_alignment'] ) || $options['bottom_sharing_alignment'] == 'right' ? 'selected' : '' ) . '>right</option><option value="left" ' . ( isset( $options['bottom_sharing_alignment'] ) && $options['bottom_sharing_alignment'] == 'left' ? 'selected' : '' ) . '>left</option></select>' ) ?></label>
 
1517
  </td>
1518
  </tr>
1519
 
@@ -1894,12 +1895,17 @@ defined( 'ABSPATH' ) or die("Cheating........Uh!!");
1894
  <div class="stuffbox">
1895
  <h3><label><?php _e( 'FAQ', 'sassy-social-share' ) ?></label></h3>
1896
  <div class="inside faq">
1897
- <p><a href="http://support.heateor.com/why-is-sharer-not-showing-the-correct-image-title-and-other-meta-tags-content" target="_blank"><?php _e('Why is sharer not showing the correct image, title and other meta tags content?', 'sassy-social-share' ) ?></a></p>
 
 
 
 
 
 
1898
  <p><a href="http://support.heateor.com/how-can-i-show-share-counts-of-my-website-rather-than-of-individual-pagepost/" target="_blank"><?php _e( 'How can I show share counts of my website rather than of individual pages/posts?', 'sassy-social-share' ) ?></a></p>
1899
  <p><a href="http://support.heateor.com/how-can-i-disable-social-sharing-on-particular-pagepost/" target="_blank"><?php _e( 'How can I disable sharing on particular page/post?', 'sassy-social-share' ) ?></a></p>
1900
  <p><a href="http://support.heateor.com/how-can-i-specify-minimum-sharing-count-for-sharing-networks/" target="_blank"><?php _e( 'How can I specify minimum sharing count for sharing networks?', 'sassy-social-share' ) ?></a></p>
1901
  <p><a href="http://support.heateor.com/how-to-share-specific-page/" target="_blank"><?php _e( 'How to share specific page?', 'sassy-social-share' ) ?></a></p>
1902
- <p><a href="http://support.heateor.com/how-to-integrate-google-analytics-with-sharing" target="_blank"><?php _e( 'How to integrate Google Analytics with sharing?', 'sassy-social-share' ) ?></a></p>
1903
  <p><a href="http://support.heateor.com/how-to-customize-the-look-of-total-share-counts" target="_blank"><?php _e( 'How to customize the look of total share counts?', 'sassy-social-share' ) ?></a></p>
1904
  <p><a href="http://support.heateor.com/how-to-customize-the-look-of-individual-share-counts" target="_blank"><?php _e( 'How to customize the look of individual share counts?', 'sassy-social-share' ) ?></a></p>
1905
  <p><a href="http://support.heateor.com/how-to-show-whatsapp-icon-only-on-mobile-devices" target="_blank"><?php _e( 'How to show Whatsapp icon only on mobile devices?', 'sassy-social-share' ) ?></a></p>
@@ -1916,16 +1922,16 @@ defined( 'ABSPATH' ) or die("Cheating........Uh!!");
1916
 
1917
  <div class="heateor_sss_clear"></div>
1918
  <p class="submit">
1919
- <input style="margin-left:8px" type="submit" name="save" class="button button-primary" value="<?php _e("Save Changes", 'sassy-social-share' ); ?>" />
1920
  </p>
1921
  </form>
1922
  <div class="stuffbox">
1923
- <h3><label>Instagram</label></h3>
1924
  <div class="inside">
1925
- <p><?php _e( 'If you can send (to hello@heateor.com) your business story and how our plugin is helping your business, we can share it on Instagram. You can also send any relevant hashtags and people to mention in the Instagram post.', 'sassy-social-share' ) ?></p>
1926
  <p><?php _e( '<b>Example</b> - Blah-Blah Online Coaching teaches various programming language courses through their website. They have emerged as one of the most popular online coaching websites in the past year. Anyone can become proficient in programming language of their choice in a very easy way in no time.', 'sassy-social-share' ) ?></p>
1927
  <p><?php _e( '@blahblahonlinecoaching proudly use #SassySocialShare to share content of their website. Be sure to visit their website at
1928
- blahblahonlinecoaching.com where you can browse a variety of progamming language courses.', 'sassy-social-share' ) ?></p>
1929
  </div>
1930
  </div>
1931
  </div>
1513
  <label for="heateor_sss_mobile_sharing_position"><?php _e("Horizontal floating bar position", 'sassy-social-share' ); ?></label>
1514
  </th>
1515
  <td>
1516
+ <input type="radio" id="bottom_sharing_position_radio_nonresponsive" <?php echo $options['bottom_sharing_position_radio'] == 'nonresponsive' ? 'checked' : ''; ?> name="heateor_sss[bottom_sharing_position_radio]" value="nonresponsive" /><label for="bottom_sharing_position_radio_nonresponsive"><?php echo sprintf( __( '%s pixels from %s', 'sassy-social-share' ), '<input id="heateor_sss_mobile_sharing_position" style="width:46px" name="heateor_sss[bottom_sharing_position]" type="text" value="' . ( isset( $options['bottom_sharing_position'] ) ? $options['bottom_sharing_position'] : '' ) . '" />', '<select style="width:63px" name="heateor_sss[bottom_sharing_alignment]"><option value="right" ' . ( ! isset( $options['bottom_sharing_alignment'] ) || $options['bottom_sharing_alignment'] == 'right' ? 'selected' : '' ) . '>right</option><option value="left" ' . ( isset( $options['bottom_sharing_alignment'] ) && $options['bottom_sharing_alignment'] == 'left' ? 'selected' : '' ) . '>left</option></select>' ) ?></label><br/>
1517
+ <input type="radio" id="bottom_sharing_position_radio_responsive" <?php echo $options['bottom_sharing_position_radio'] == 'responsive' ? 'checked' : ''; ?> name="heateor_sss[bottom_sharing_position_radio]" value="responsive" /><label for="bottom_sharing_position_radio_responsive"><?php _e( 'Auto-adjust according to screen width (responsive)', 'sassy-social-share' ); ?></label>
1518
  </td>
1519
  </tr>
1520
 
1895
  <div class="stuffbox">
1896
  <h3><label><?php _e( 'FAQ', 'sassy-social-share' ) ?></label></h3>
1897
  <div class="inside faq">
1898
+ <p><?php _e( '<strong>Note:</strong> Plugin will not work on local server. You should have an online website for the plugin to function properly.', 'sassy-social-share' ); ?></p>
1899
+ <p><a href="https://www.heateor.com/recover-social-share-counts/" target="_blank"><?php _e('How to restore Social Share counts lost after moving my website to SSL/Https?', 'sassy-social-share' ) ?></a></p>
1900
+ <p><a href="http://support.heateor.com/how-to-integrate-google-analytics-with-sharing" target="_blank"><?php _e( 'How to integrate Google Analytics with sharing?', 'sassy-social-share' ) ?></a></p>
1901
+ <p><a style="text-decoration:none" href="https://www.heateor.com/facebook-comments-moderation" target="_blank"><?php _e( 'How to show recent Facebook Comments from all over the website in a widget?', 'sassy-social-share' ) ?></a></p>
1902
+ <p><a style="text-decoration:none" href="http://support.heateor.com/recover-facebook-comments-wordpress-moving-to-https-ssl/" target="_blank"><?php _e( 'How to recover the Facebook Comments lost after moving my website to SSL/Https?', 'sassy-social-share' ) ?></a></p>
1903
+ <p><a href="http://support.heateor.com/place-title-social-share-icons-row/" target="_blank"><?php _e( 'How to Place Title and Social Share Icons in the Same Row?', 'sassy-social-share' ) ?></a></p>
1904
+ <p><a href="http://support.heateor.com/why-is-sharer-not-showing-the-correct-image-title-and-other-meta-tags-content" target="_blank"><?php _e( 'Why is sharer not showing the correct image, title and other meta tags content?', 'sassy-social-share' ) ?></a></p>
1905
  <p><a href="http://support.heateor.com/how-can-i-show-share-counts-of-my-website-rather-than-of-individual-pagepost/" target="_blank"><?php _e( 'How can I show share counts of my website rather than of individual pages/posts?', 'sassy-social-share' ) ?></a></p>
1906
  <p><a href="http://support.heateor.com/how-can-i-disable-social-sharing-on-particular-pagepost/" target="_blank"><?php _e( 'How can I disable sharing on particular page/post?', 'sassy-social-share' ) ?></a></p>
1907
  <p><a href="http://support.heateor.com/how-can-i-specify-minimum-sharing-count-for-sharing-networks/" target="_blank"><?php _e( 'How can I specify minimum sharing count for sharing networks?', 'sassy-social-share' ) ?></a></p>
1908
  <p><a href="http://support.heateor.com/how-to-share-specific-page/" target="_blank"><?php _e( 'How to share specific page?', 'sassy-social-share' ) ?></a></p>
 
1909
  <p><a href="http://support.heateor.com/how-to-customize-the-look-of-total-share-counts" target="_blank"><?php _e( 'How to customize the look of total share counts?', 'sassy-social-share' ) ?></a></p>
1910
  <p><a href="http://support.heateor.com/how-to-customize-the-look-of-individual-share-counts" target="_blank"><?php _e( 'How to customize the look of individual share counts?', 'sassy-social-share' ) ?></a></p>
1911
  <p><a href="http://support.heateor.com/how-to-show-whatsapp-icon-only-on-mobile-devices" target="_blank"><?php _e( 'How to show Whatsapp icon only on mobile devices?', 'sassy-social-share' ) ?></a></p>
1922
 
1923
  <div class="heateor_sss_clear"></div>
1924
  <p class="submit">
1925
+ <input style="margin-left:8px" type="submit" name="save" class="button button-primary" value="<?php _e( "Save Changes", 'sassy-social-share' ); ?>" />
1926
  </p>
1927
  </form>
1928
  <div class="stuffbox">
1929
+ <h3><label>Instagram Shoutout</label></h3>
1930
  <div class="inside">
1931
+ <p><?php _e( 'If you can send (to hello@heateor.com) how our plugin is helping your business, we can share it on Instagram. You can also send any relevant hashtags and people to mention in the Instagram post.', 'sassy-social-share' ) ?></p>
1932
  <p><?php _e( '<b>Example</b> - Blah-Blah Online Coaching teaches various programming language courses through their website. They have emerged as one of the most popular online coaching websites in the past year. Anyone can become proficient in programming language of their choice in a very easy way in no time.', 'sassy-social-share' ) ?></p>
1933
  <p><?php _e( '@blahblahonlinecoaching proudly use #SassySocialShare to share content of their website. Be sure to visit their website at
1934
+ blahblahonlinecoaching.com where you can browse a variety of programming language courses.', 'sassy-social-share' ) ?></p>
1935
  </div>
1936
  </div>
1937
  </div>
languages/sassy-social-share.pot CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Sassy Social Share\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2017-03-21 12:42+0530\n"
6
- "PO-Revision-Date: 2017-03-21 12:42+0530\n"
7
  "Last-Translator: The Champ <lordofthechamps@gmail.com>\n"
8
  "Language-Team: Heateor <hello@heateor.com>\n"
9
  "Language: en_IN\n"
@@ -95,13 +95,13 @@ msgid "Floating Interface"
95
  msgstr ""
96
 
97
  #: ../admin/partials/sassy-social-share-options-page.php:22
98
- #: ../admin/partials/sassy-social-share-options-page.php:1543
99
  msgid "Miscellaneous"
100
  msgstr ""
101
 
102
  #: ../admin/partials/sassy-social-share-options-page.php:23
103
- #: ../admin/partials/sassy-social-share-options-page.php:1862
104
- #: ../admin/partials/sassy-social-share-options-page.php:1864
105
  msgid "Shortcode & Widget"
106
  msgstr ""
107
 
@@ -110,7 +110,7 @@ msgid "Troubleshooter"
110
  msgstr ""
111
 
112
  #: ../admin/partials/sassy-social-share-options-page.php:25
113
- #: ../admin/partials/sassy-social-share-options-page.php:1895
114
  msgid "FAQ"
115
  msgstr ""
116
 
@@ -683,121 +683,125 @@ msgstr ""
683
  msgid "%s pixels from %s"
684
  msgstr ""
685
 
686
- #: ../admin/partials/sassy-social-share-options-page.php:1523
 
 
 
 
687
  msgid "Alignment of horizontal floating interface. Number can be negative too."
688
  msgstr ""
689
 
690
- #: ../admin/partials/sassy-social-share-options-page.php:1549
691
  msgid "Load Javascript files in footer"
692
  msgstr ""
693
 
694
- #: ../admin/partials/sassy-social-share-options-page.php:1559
695
  msgid ""
696
  "If enabled (recommended), Javascript files will be included in the footer of "
697
  "your website."
698
  msgstr ""
699
 
700
- #: ../admin/partials/sassy-social-share-options-page.php:1567
701
  msgid "Delete all the options on plugin deletion"
702
  msgstr ""
703
 
704
- #: ../admin/partials/sassy-social-share-options-page.php:1577
705
  msgid ""
706
  "If enabled, plugin options will get deleted when plugin is deleted/"
707
  "uninstalled and you will need to reconfigure the options when you install "
708
  "the plugin next time."
709
  msgstr ""
710
 
711
- #: ../admin/partials/sassy-social-share-options-page.php:1586
712
  msgid "Share Count Cache"
713
  msgstr ""
714
 
715
- #: ../admin/partials/sassy-social-share-options-page.php:1592
716
  msgid "Refresh Share Count cache every"
717
  msgstr ""
718
 
719
- #: ../admin/partials/sassy-social-share-options-page.php:1608
720
  msgid ""
721
  "Frequent cache refreshing results in slower loading of pages with share "
722
  "counts enabled"
723
  msgstr ""
724
 
725
- #: ../admin/partials/sassy-social-share-options-page.php:1616
726
  msgid "Clear Share Counts Cache"
727
  msgstr ""
728
 
729
- #: ../admin/partials/sassy-social-share-options-page.php:1620
730
  msgid "Share Counts cache cleared successfully."
731
  msgstr ""
732
 
733
- #: ../admin/partials/sassy-social-share-options-page.php:1627
734
  msgid "Use this to clear cached share counts"
735
  msgstr ""
736
 
737
- #: ../admin/partials/sassy-social-share-options-page.php:1636
738
  msgid "Url shortener"
739
  msgstr ""
740
 
741
- #: ../admin/partials/sassy-social-share-options-page.php:1642
742
  msgid "Use shortlinks already installed"
743
  msgstr ""
744
 
745
- #: ../admin/partials/sassy-social-share-options-page.php:1652
746
  msgid ""
747
  "Use default short url permalinks without the need for any additional plugin"
748
  msgstr ""
749
 
750
- #: ../admin/partials/sassy-social-share-options-page.php:1660
751
  msgid "Enable bit.ly url shortener for sharing"
752
  msgstr ""
753
 
754
- #: ../admin/partials/sassy-social-share-options-page.php:1670
755
  msgid "Master control to enable bit.ly url shortening for sharing"
756
  msgstr ""
757
 
758
- #: ../admin/partials/sassy-social-share-options-page.php:1678
759
  msgid "bit.ly Login"
760
  msgstr ""
761
 
762
- #: ../admin/partials/sassy-social-share-options-page.php:1688
763
  #, php-format
764
  msgid ""
765
  "Login to your bit.ly account and navigate to <a href=\"%s\" target=\"_blank"
766
  "\">this link</a> to get bit.ly Login"
767
  msgstr ""
768
 
769
- #: ../admin/partials/sassy-social-share-options-page.php:1697
770
  msgid "bit.ly API Key"
771
  msgstr ""
772
 
773
- #: ../admin/partials/sassy-social-share-options-page.php:1707
774
  #, php-format
775
  msgid ""
776
  "Login to your bit.ly account and navigate to <a href=\"%s\" target=\"_blank"
777
  "\">this link</a> to get your API key"
778
  msgstr ""
779
 
780
- #: ../admin/partials/sassy-social-share-options-page.php:1716
781
  msgid "Clear Bitly Cache"
782
  msgstr ""
783
 
784
- #: ../admin/partials/sassy-social-share-options-page.php:1720
785
  msgid "ShortUrl cache cleared successfully."
786
  msgstr ""
787
 
788
- #: ../admin/partials/sassy-social-share-options-page.php:1727
789
  msgid ""
790
  "Use this to delete short urls saved in database. Handy, if urls of your "
791
  "website have been changed but short urls are still being generated for old "
792
  "urls."
793
  msgstr ""
794
 
795
- #: ../admin/partials/sassy-social-share-options-page.php:1736
796
- #: ../admin/partials/sassy-social-share-options-page.php:1742
797
  msgid "Language"
798
  msgstr ""
799
 
800
- #: ../admin/partials/sassy-social-share-options-page.php:1752
801
  #, php-format
802
  msgid ""
803
  "Enter the code of the language you want to use for like buttons. You can "
@@ -805,52 +809,52 @@ msgid ""
805
  "Leave it empty for default language(English)"
806
  msgstr ""
807
 
808
- #: ../admin/partials/sassy-social-share-options-page.php:1761
809
  msgid "Username in sharing"
810
  msgstr ""
811
 
812
- #: ../admin/partials/sassy-social-share-options-page.php:1767
813
  msgid "Twitter username (without @)"
814
  msgstr ""
815
 
816
- #: ../admin/partials/sassy-social-share-options-page.php:1777
817
- #: ../admin/partials/sassy-social-share-options-page.php:1796
818
  msgid ""
819
  "Provided username will be appended after the content being shared as \"via "
820
  "@USERNAME\". Leave empty if you do not want any username in the content "
821
  "being shared."
822
  msgstr ""
823
 
824
- #: ../admin/partials/sassy-social-share-options-page.php:1786
825
  msgid "Buffer username (without @)"
826
  msgstr ""
827
 
828
- #: ../admin/partials/sassy-social-share-options-page.php:1805
829
  msgid "AMP"
830
  msgstr ""
831
 
832
- #: ../admin/partials/sassy-social-share-options-page.php:1811
833
  msgid "Enable sharing on AMP pages"
834
  msgstr ""
835
 
836
- #: ../admin/partials/sassy-social-share-options-page.php:1821
837
  msgid "Enable this option to render sharing icons on AMP pages"
838
  msgstr ""
839
 
840
- #: ../admin/partials/sassy-social-share-options-page.php:1830
841
- #: ../admin/partials/sassy-social-share-options-page.php:1836
842
  msgid "Custom CSS"
843
  msgstr ""
844
 
845
- #: ../admin/partials/sassy-social-share-options-page.php:1846
846
  msgid "You can specify any additional CSS rules (without &lt;style&gt; tag)"
847
  msgstr ""
848
 
849
- #: ../admin/partials/sassy-social-share-options-page.php:1875
850
  msgid "Facebook Sharing Troubleshooter"
851
  msgstr ""
852
 
853
- #: ../admin/partials/sassy-social-share-options-page.php:1880
854
  msgid ""
855
  "If Facebook sharing is not working fine, click at the following link and "
856
  "enter the problematic url (where Facebook sharing is not working properly) "
@@ -858,74 +862,100 @@ msgid ""
858
  "button."
859
  msgstr ""
860
 
861
- #: ../admin/partials/sassy-social-share-options-page.php:1897
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
862
  msgid ""
863
  "Why is sharer not showing the correct image, title and other meta tags "
864
  "content?"
865
  msgstr ""
866
 
867
- #: ../admin/partials/sassy-social-share-options-page.php:1898
868
  msgid ""
869
  "How can I show share counts of my website rather than of individual pages/"
870
  "posts?"
871
  msgstr ""
872
 
873
- #: ../admin/partials/sassy-social-share-options-page.php:1899
874
  msgid "How can I disable sharing on particular page/post?"
875
  msgstr ""
876
 
877
- #: ../admin/partials/sassy-social-share-options-page.php:1900
878
  msgid "How can I specify minimum sharing count for sharing networks?"
879
  msgstr ""
880
 
881
- #: ../admin/partials/sassy-social-share-options-page.php:1901
882
  msgid "How to share specific page?"
883
  msgstr ""
884
 
885
- #: ../admin/partials/sassy-social-share-options-page.php:1902
886
- msgid "How to integrate Google Analytics with sharing?"
887
- msgstr ""
888
-
889
- #: ../admin/partials/sassy-social-share-options-page.php:1903
890
  msgid "How to customize the look of total share counts?"
891
  msgstr ""
892
 
893
- #: ../admin/partials/sassy-social-share-options-page.php:1904
894
  msgid "How to customize the look of individual share counts?"
895
  msgstr ""
896
 
897
- #: ../admin/partials/sassy-social-share-options-page.php:1905
898
  msgid "How to show Whatsapp icon only on mobile devices?"
899
  msgstr ""
900
 
901
- #: ../admin/partials/sassy-social-share-options-page.php:1906
902
  msgid "How to hide arrow after floating sharing bar?"
903
  msgstr ""
904
 
905
- #: ../admin/partials/sassy-social-share-options-page.php:1907
906
  msgid "Why is share count not getting updated?"
907
  msgstr ""
908
 
909
- #: ../admin/partials/sassy-social-share-options-page.php:1908
910
  msgid "Why is there so much space between like buttons?"
911
  msgstr ""
912
 
913
- #: ../admin/partials/sassy-social-share-options-page.php:1909
914
  msgid "Why are floating sharing/like buttons not appearing at homepage?"
915
  msgstr ""
916
 
917
- #: ../admin/partials/sassy-social-share-options-page.php:1919
918
  msgid "Save Changes"
919
  msgstr ""
920
 
921
- #: ../admin/partials/sassy-social-share-options-page.php:1925
922
  msgid ""
923
- "If you can send (to hello@heateor.com) your business story and how our "
924
- "plugin is helping your business, we can share it on Instagram. You can also "
925
- "send any relevant hashtags and people to mention in the Instagram post."
926
  msgstr ""
927
 
928
- #: ../admin/partials/sassy-social-share-options-page.php:1926
929
  msgid ""
930
  "<b>Example</b> - Blah-Blah Online Coaching teaches various programming "
931
  "language courses through their website. They have emerged as one of the most "
@@ -934,11 +964,11 @@ msgid ""
934
  "time."
935
  msgstr ""
936
 
937
- #: ../admin/partials/sassy-social-share-options-page.php:1927
938
  msgid ""
939
  "@blahblahonlinecoaching proudly use #SassySocialShare to share content of "
940
  "their website. Be sure to visit their website at \n"
941
- "\t\tblahblahonlinecoaching.com where you can browse a variety of progamming "
942
  "language courses."
943
  msgstr ""
944
 
@@ -978,22 +1008,26 @@ msgid "Plugin Demo"
978
  msgstr ""
979
 
980
  #: ../admin/partials/sassy-social-share-about.php:33
981
- msgid "Customization Options"
982
  msgstr ""
983
 
984
  #: ../admin/partials/sassy-social-share-about.php:39
985
- msgid "Add-ons"
986
  msgstr ""
987
 
988
  #: ../admin/partials/sassy-social-share-about.php:45
 
 
 
 
989
  msgid "Support Forum"
990
  msgstr ""
991
 
992
- #: ../admin/partials/sassy-social-share-about.php:50
993
  msgid "Need Quick Help?"
994
  msgstr ""
995
 
996
- #: ../admin/partials/sassy-social-share-about.php:52
997
  msgid ""
998
  "If you <strong>have any query</strong>, need help regarding <strong>plugin "
999
  "setup</strong>, want <strong>custom features</strong> in the plugin or "
@@ -1001,16 +1035,26 @@ msgid ""
1001
  "email at <a href=\"mailto:support@heateor.com\">support@heateor.com</a>"
1002
  msgstr ""
1003
 
1004
- #: ../admin/partials/sassy-social-share-about.php:57
1005
- msgid "Support Us"
1006
  msgstr ""
1007
 
1008
- #: ../admin/partials/sassy-social-share-about.php:60
1009
- #: ../admin/partials/sassy-social-share-about.php:63
1010
- #: ../admin/partials/sassy-social-share-about.php:64
1011
  #: ../admin/partials/sassy-social-share-about.php:65
1012
- #: ../admin/partials/sassy-social-share-about.php:66
1013
- #: ../admin/partials/sassy-social-share-about.php:67
 
 
 
 
 
 
 
 
 
 
 
 
 
1014
  msgid "Rate 5-star"
1015
  msgstr ""
1016
 
2
  msgstr ""
3
  "Project-Id-Version: Sassy Social Share\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2017-05-21 18:27+0530\n"
6
+ "PO-Revision-Date: 2017-05-21 18:27+0530\n"
7
  "Last-Translator: The Champ <lordofthechamps@gmail.com>\n"
8
  "Language-Team: Heateor <hello@heateor.com>\n"
9
  "Language: en_IN\n"
95
  msgstr ""
96
 
97
  #: ../admin/partials/sassy-social-share-options-page.php:22
98
+ #: ../admin/partials/sassy-social-share-options-page.php:1544
99
  msgid "Miscellaneous"
100
  msgstr ""
101
 
102
  #: ../admin/partials/sassy-social-share-options-page.php:23
103
+ #: ../admin/partials/sassy-social-share-options-page.php:1863
104
+ #: ../admin/partials/sassy-social-share-options-page.php:1865
105
  msgid "Shortcode & Widget"
106
  msgstr ""
107
 
110
  msgstr ""
111
 
112
  #: ../admin/partials/sassy-social-share-options-page.php:25
113
+ #: ../admin/partials/sassy-social-share-options-page.php:1896
114
  msgid "FAQ"
115
  msgstr ""
116
 
683
  msgid "%s pixels from %s"
684
  msgstr ""
685
 
686
+ #: ../admin/partials/sassy-social-share-options-page.php:1517
687
+ msgid "Auto-adjust according to screen width (responsive)"
688
+ msgstr ""
689
+
690
+ #: ../admin/partials/sassy-social-share-options-page.php:1524
691
  msgid "Alignment of horizontal floating interface. Number can be negative too."
692
  msgstr ""
693
 
694
+ #: ../admin/partials/sassy-social-share-options-page.php:1550
695
  msgid "Load Javascript files in footer"
696
  msgstr ""
697
 
698
+ #: ../admin/partials/sassy-social-share-options-page.php:1560
699
  msgid ""
700
  "If enabled (recommended), Javascript files will be included in the footer of "
701
  "your website."
702
  msgstr ""
703
 
704
+ #: ../admin/partials/sassy-social-share-options-page.php:1568
705
  msgid "Delete all the options on plugin deletion"
706
  msgstr ""
707
 
708
+ #: ../admin/partials/sassy-social-share-options-page.php:1578
709
  msgid ""
710
  "If enabled, plugin options will get deleted when plugin is deleted/"
711
  "uninstalled and you will need to reconfigure the options when you install "
712
  "the plugin next time."
713
  msgstr ""
714
 
715
+ #: ../admin/partials/sassy-social-share-options-page.php:1587
716
  msgid "Share Count Cache"
717
  msgstr ""
718
 
719
+ #: ../admin/partials/sassy-social-share-options-page.php:1593
720
  msgid "Refresh Share Count cache every"
721
  msgstr ""
722
 
723
+ #: ../admin/partials/sassy-social-share-options-page.php:1609
724
  msgid ""
725
  "Frequent cache refreshing results in slower loading of pages with share "
726
  "counts enabled"
727
  msgstr ""
728
 
729
+ #: ../admin/partials/sassy-social-share-options-page.php:1617
730
  msgid "Clear Share Counts Cache"
731
  msgstr ""
732
 
733
+ #: ../admin/partials/sassy-social-share-options-page.php:1621
734
  msgid "Share Counts cache cleared successfully."
735
  msgstr ""
736
 
737
+ #: ../admin/partials/sassy-social-share-options-page.php:1628
738
  msgid "Use this to clear cached share counts"
739
  msgstr ""
740
 
741
+ #: ../admin/partials/sassy-social-share-options-page.php:1637
742
  msgid "Url shortener"
743
  msgstr ""
744
 
745
+ #: ../admin/partials/sassy-social-share-options-page.php:1643
746
  msgid "Use shortlinks already installed"
747
  msgstr ""
748
 
749
+ #: ../admin/partials/sassy-social-share-options-page.php:1653
750
  msgid ""
751
  "Use default short url permalinks without the need for any additional plugin"
752
  msgstr ""
753
 
754
+ #: ../admin/partials/sassy-social-share-options-page.php:1661
755
  msgid "Enable bit.ly url shortener for sharing"
756
  msgstr ""
757
 
758
+ #: ../admin/partials/sassy-social-share-options-page.php:1671
759
  msgid "Master control to enable bit.ly url shortening for sharing"
760
  msgstr ""
761
 
762
+ #: ../admin/partials/sassy-social-share-options-page.php:1679
763
  msgid "bit.ly Login"
764
  msgstr ""
765
 
766
+ #: ../admin/partials/sassy-social-share-options-page.php:1689
767
  #, php-format
768
  msgid ""
769
  "Login to your bit.ly account and navigate to <a href=\"%s\" target=\"_blank"
770
  "\">this link</a> to get bit.ly Login"
771
  msgstr ""
772
 
773
+ #: ../admin/partials/sassy-social-share-options-page.php:1698
774
  msgid "bit.ly API Key"
775
  msgstr ""
776
 
777
+ #: ../admin/partials/sassy-social-share-options-page.php:1708
778
  #, php-format
779
  msgid ""
780
  "Login to your bit.ly account and navigate to <a href=\"%s\" target=\"_blank"
781
  "\">this link</a> to get your API key"
782
  msgstr ""
783
 
784
+ #: ../admin/partials/sassy-social-share-options-page.php:1717
785
  msgid "Clear Bitly Cache"
786
  msgstr ""
787
 
788
+ #: ../admin/partials/sassy-social-share-options-page.php:1721
789
  msgid "ShortUrl cache cleared successfully."
790
  msgstr ""
791
 
792
+ #: ../admin/partials/sassy-social-share-options-page.php:1728
793
  msgid ""
794
  "Use this to delete short urls saved in database. Handy, if urls of your "
795
  "website have been changed but short urls are still being generated for old "
796
  "urls."
797
  msgstr ""
798
 
799
+ #: ../admin/partials/sassy-social-share-options-page.php:1737
800
+ #: ../admin/partials/sassy-social-share-options-page.php:1743
801
  msgid "Language"
802
  msgstr ""
803
 
804
+ #: ../admin/partials/sassy-social-share-options-page.php:1753
805
  #, php-format
806
  msgid ""
807
  "Enter the code of the language you want to use for like buttons. You can "
809
  "Leave it empty for default language(English)"
810
  msgstr ""
811
 
812
+ #: ../admin/partials/sassy-social-share-options-page.php:1762
813
  msgid "Username in sharing"
814
  msgstr ""
815
 
816
+ #: ../admin/partials/sassy-social-share-options-page.php:1768
817
  msgid "Twitter username (without @)"
818
  msgstr ""
819
 
820
+ #: ../admin/partials/sassy-social-share-options-page.php:1778
821
+ #: ../admin/partials/sassy-social-share-options-page.php:1797
822
  msgid ""
823
  "Provided username will be appended after the content being shared as \"via "
824
  "@USERNAME\". Leave empty if you do not want any username in the content "
825
  "being shared."
826
  msgstr ""
827
 
828
+ #: ../admin/partials/sassy-social-share-options-page.php:1787
829
  msgid "Buffer username (without @)"
830
  msgstr ""
831
 
832
+ #: ../admin/partials/sassy-social-share-options-page.php:1806
833
  msgid "AMP"
834
  msgstr ""
835
 
836
+ #: ../admin/partials/sassy-social-share-options-page.php:1812
837
  msgid "Enable sharing on AMP pages"
838
  msgstr ""
839
 
840
+ #: ../admin/partials/sassy-social-share-options-page.php:1822
841
  msgid "Enable this option to render sharing icons on AMP pages"
842
  msgstr ""
843
 
844
+ #: ../admin/partials/sassy-social-share-options-page.php:1831
845
+ #: ../admin/partials/sassy-social-share-options-page.php:1837
846
  msgid "Custom CSS"
847
  msgstr ""
848
 
849
+ #: ../admin/partials/sassy-social-share-options-page.php:1847
850
  msgid "You can specify any additional CSS rules (without &lt;style&gt; tag)"
851
  msgstr ""
852
 
853
+ #: ../admin/partials/sassy-social-share-options-page.php:1876
854
  msgid "Facebook Sharing Troubleshooter"
855
  msgstr ""
856
 
857
+ #: ../admin/partials/sassy-social-share-options-page.php:1881
858
  msgid ""
859
  "If Facebook sharing is not working fine, click at the following link and "
860
  "enter the problematic url (where Facebook sharing is not working properly) "
862
  "button."
863
  msgstr ""
864
 
865
+ #: ../admin/partials/sassy-social-share-options-page.php:1898
866
+ msgid ""
867
+ "<strong>Note:</strong> Plugin will not work on local server. You should have "
868
+ "an online website for the plugin to function properly."
869
+ msgstr ""
870
+
871
+ #: ../admin/partials/sassy-social-share-options-page.php:1899
872
+ msgid ""
873
+ "How to restore Social Share counts lost after moving my website to SSL/Https?"
874
+ msgstr ""
875
+
876
+ #: ../admin/partials/sassy-social-share-options-page.php:1900
877
+ msgid "How to integrate Google Analytics with sharing?"
878
+ msgstr ""
879
+
880
+ #: ../admin/partials/sassy-social-share-options-page.php:1901
881
+ msgid ""
882
+ "How to show recent Facebook Comments from all over the website in a widget?"
883
+ msgstr ""
884
+
885
+ #: ../admin/partials/sassy-social-share-options-page.php:1902
886
+ msgid ""
887
+ "How to recover the Facebook Comments lost after moving my website to SSL/"
888
+ "Https?"
889
+ msgstr ""
890
+
891
+ #: ../admin/partials/sassy-social-share-options-page.php:1903
892
+ msgid "How to Place Title and Social Share Icons in the Same Row?"
893
+ msgstr ""
894
+
895
+ #: ../admin/partials/sassy-social-share-options-page.php:1904
896
  msgid ""
897
  "Why is sharer not showing the correct image, title and other meta tags "
898
  "content?"
899
  msgstr ""
900
 
901
+ #: ../admin/partials/sassy-social-share-options-page.php:1905
902
  msgid ""
903
  "How can I show share counts of my website rather than of individual pages/"
904
  "posts?"
905
  msgstr ""
906
 
907
+ #: ../admin/partials/sassy-social-share-options-page.php:1906
908
  msgid "How can I disable sharing on particular page/post?"
909
  msgstr ""
910
 
911
+ #: ../admin/partials/sassy-social-share-options-page.php:1907
912
  msgid "How can I specify minimum sharing count for sharing networks?"
913
  msgstr ""
914
 
915
+ #: ../admin/partials/sassy-social-share-options-page.php:1908
916
  msgid "How to share specific page?"
917
  msgstr ""
918
 
919
+ #: ../admin/partials/sassy-social-share-options-page.php:1909
 
 
 
 
920
  msgid "How to customize the look of total share counts?"
921
  msgstr ""
922
 
923
+ #: ../admin/partials/sassy-social-share-options-page.php:1910
924
  msgid "How to customize the look of individual share counts?"
925
  msgstr ""
926
 
927
+ #: ../admin/partials/sassy-social-share-options-page.php:1911
928
  msgid "How to show Whatsapp icon only on mobile devices?"
929
  msgstr ""
930
 
931
+ #: ../admin/partials/sassy-social-share-options-page.php:1912
932
  msgid "How to hide arrow after floating sharing bar?"
933
  msgstr ""
934
 
935
+ #: ../admin/partials/sassy-social-share-options-page.php:1913
936
  msgid "Why is share count not getting updated?"
937
  msgstr ""
938
 
939
+ #: ../admin/partials/sassy-social-share-options-page.php:1914
940
  msgid "Why is there so much space between like buttons?"
941
  msgstr ""
942
 
943
+ #: ../admin/partials/sassy-social-share-options-page.php:1915
944
  msgid "Why are floating sharing/like buttons not appearing at homepage?"
945
  msgstr ""
946
 
947
+ #: ../admin/partials/sassy-social-share-options-page.php:1925
948
  msgid "Save Changes"
949
  msgstr ""
950
 
951
+ #: ../admin/partials/sassy-social-share-options-page.php:1931
952
  msgid ""
953
+ "If you can send (to hello@heateor.com) how our plugin is helping your "
954
+ "business, we can share it on Instagram. You can also send any relevant "
955
+ "hashtags and people to mention in the Instagram post."
956
  msgstr ""
957
 
958
+ #: ../admin/partials/sassy-social-share-options-page.php:1932
959
  msgid ""
960
  "<b>Example</b> - Blah-Blah Online Coaching teaches various programming "
961
  "language courses through their website. They have emerged as one of the most "
964
  "time."
965
  msgstr ""
966
 
967
+ #: ../admin/partials/sassy-social-share-options-page.php:1933
968
  msgid ""
969
  "@blahblahonlinecoaching proudly use #SassySocialShare to share content of "
970
  "their website. Be sure to visit their website at \n"
971
+ "\t\tblahblahonlinecoaching.com where you can browse a variety of programming "
972
  "language courses."
973
  msgstr ""
974
 
1008
  msgstr ""
1009
 
1010
  #: ../admin/partials/sassy-social-share-about.php:33
1011
+ msgid "Translate Plugin"
1012
  msgstr ""
1013
 
1014
  #: ../admin/partials/sassy-social-share-about.php:39
1015
+ msgid "Customization Options"
1016
  msgstr ""
1017
 
1018
  #: ../admin/partials/sassy-social-share-about.php:45
1019
+ msgid "Add-ons"
1020
+ msgstr ""
1021
+
1022
+ #: ../admin/partials/sassy-social-share-about.php:51
1023
  msgid "Support Forum"
1024
  msgstr ""
1025
 
1026
+ #: ../admin/partials/sassy-social-share-about.php:56
1027
  msgid "Need Quick Help?"
1028
  msgstr ""
1029
 
1030
+ #: ../admin/partials/sassy-social-share-about.php:58
1031
  msgid ""
1032
  "If you <strong>have any query</strong>, need help regarding <strong>plugin "
1033
  "setup</strong>, want <strong>custom features</strong> in the plugin or "
1035
  "email at <a href=\"mailto:support@heateor.com\">support@heateor.com</a>"
1036
  msgstr ""
1037
 
1038
+ #: ../admin/partials/sassy-social-share-about.php:63
1039
+ msgid "Testimonial"
1040
  msgstr ""
1041
 
 
 
 
1042
  #: ../admin/partials/sassy-social-share-about.php:65
1043
+ msgid ""
1044
+ "You can send us testimonial at <a href=\"mailto:hello@heateor.com"
1045
+ "\">hello@heateor.com</a>"
1046
+ msgstr ""
1047
+
1048
+ #: ../admin/partials/sassy-social-share-about.php:70
1049
+ msgid "Support Us"
1050
+ msgstr ""
1051
+
1052
+ #: ../admin/partials/sassy-social-share-about.php:73
1053
+ #: ../admin/partials/sassy-social-share-about.php:76
1054
+ #: ../admin/partials/sassy-social-share-about.php:77
1055
+ #: ../admin/partials/sassy-social-share-about.php:78
1056
+ #: ../admin/partials/sassy-social-share-about.php:79
1057
+ #: ../admin/partials/sassy-social-share-about.php:80
1058
  msgid "Rate 5-star"
1059
  msgstr ""
1060
 
public/class-sassy-social-share-public.php CHANGED
@@ -109,7 +109,7 @@ class Sassy_Social_Share_Public {
109
  if ( $post ) {
110
  $sharing_meta = get_post_meta( $post->ID, '_heateor_sss_meta', true );
111
  if ( is_front_page() || ! isset( $sharing_meta['sharing'] ) || $sharing_meta['sharing'] != 1 || ! isset( $sharing_meta['vertical_sharing'] ) || $sharing_meta['vertical_sharing'] != 1 ) {
112
- $inline_script .= 'var heateorSssSharingAjaxUrl = \''. get_admin_url() .'admin-ajax.php\', heateorSssCloseIconPath = \''. plugins_url( '../images/close.png', __FILE__ ) .'\', heateorSssPluginIconPath = \''. plugins_url( '../images/logo.png', __FILE__ ) .'\', heateorSssHorizontalSharingCountEnable = '. ( isset( $this->options['hor_enable'] ) && ( isset( $this->options['horizontal_counts'] ) || isset( $this->options['horizontal_total_shares'] ) ) ? 1 : 0 ) .', heateorSssVerticalSharingCountEnable = '. ( isset( $this->options['vertical_enable'] ) && ( isset( $this->options['vertical_counts'] ) || isset( $this->options['vertical_total_shares'] ) ) ? 1 : 0 ) .', heateorSssSharingOffset = '. ( isset( $this->options['alignment'] ) && $this->options['alignment'] != '' && isset( $this->options[$this->options['alignment'].'_offset'] ) && $this->options[$this->options['alignment'].'_offset'] != '' ? $this->options[$this->options['alignment'].'_offset'] : 0 ) . ';';
113
  if ( isset( $this->options['horizontal_counts'] ) && isset( $this->options['horizontal_counter_position'] ) ) {
114
  $inline_script .= in_array( $this->options['horizontal_counter_position'], array( 'inner_left', 'inner_right' ) ) ? 'var heateorSssReduceHorizontalSvgWidth = true;' : '';
115
  $inline_script .= in_array( $this->options['horizontal_counter_position'], array( 'inner_top', 'inner_bottom' ) ) ? 'var heateorSssReduceHorizontalSvgHeight = true;' : '';
@@ -1097,13 +1097,13 @@ class Sassy_Social_Share_Public {
1097
  public function round_off_counts( $sharing_count ) {
1098
 
1099
  if ( $sharing_count > 999 && $sharing_count < 10000 ) {
1100
- $sharing_count = round( $sharing_count/1000 ) . 'K';
1101
  } elseif ( $sharing_count > 9999 && $sharing_count < 100000 ) {
1102
- $sharing_count = round( $sharing_count/1000 ) . 'K';
1103
  } else if ( $sharing_count > 99999 && $sharing_count < 1000000 ) {
1104
- $sharing_count = round( $sharing_count/1000 ) . 'K';
1105
  } else if ( $sharing_count > 999999 ) {
1106
- $sharing_count = round( $sharing_count/1000000 ) . 'M';
1107
  }
1108
 
1109
  return $sharing_count;
@@ -1758,7 +1758,15 @@ class Sassy_Social_Share_Public {
1758
  }
1759
  echo isset( $this->options['hide_mobile_sharing'] ) && $this->options['vertical_screen_width'] != '' ? '@media screen and (max-width:' . $this->options['vertical_screen_width'] . 'px) {.heateor_sss_vertical_sharing{display:none!important}}' : '';
1760
  $bottom_sharing_postion_inverse = $this->options['bottom_sharing_alignment'] == 'left' ? 'right' : 'left';
1761
- echo isset( $this->options['bottom_mobile_sharing'] ) && $this->options['horizontal_screen_width'] != '' ? '@media screen and (max-width:' . $this->options['horizontal_screen_width'] . 'px) {.heateor_sss_bottom_sharing{' . ( $this->options['bottom_sharing_position'] != '' ? $this->options['bottom_sharing_alignment'] . ':' . $this->options['bottom_sharing_position'] . 'px!important;' . $bottom_sharing_postion_inverse . ':auto!important;' : '' ) . 'display:block!important;width: auto!important;bottom: -10px!important;top: auto!important;}.heateor_sss_bottom_sharing .heateor_sss_square_count{line-height: inherit;}.heateor_sss_bottom_sharing .heateorSssSharingArrow{display:none;}.heateor_sss_bottom_sharing .heateorSssTCBackground{margin-right: 1.1em !important}}' : '';
 
 
 
 
 
 
 
 
1762
  echo $this->options['custom_css'];
1763
  if ( current_filter() == 'wp_enqueue_scripts' ) {
1764
  ?>
@@ -1921,6 +1929,11 @@ class Sassy_Social_Share_Public {
1921
  update_option( 'heateor_sss', $this->options );
1922
  }
1923
 
 
 
 
 
 
1924
  // update plugin version in database
1925
  update_option( 'heateor_sss_version', $this->version );
1926
  }
109
  if ( $post ) {
110
  $sharing_meta = get_post_meta( $post->ID, '_heateor_sss_meta', true );
111
  if ( is_front_page() || ! isset( $sharing_meta['sharing'] ) || $sharing_meta['sharing'] != 1 || ! isset( $sharing_meta['vertical_sharing'] ) || $sharing_meta['vertical_sharing'] != 1 ) {
112
+ $inline_script .= 'var heateorSssSharingAjaxUrl = \''. get_admin_url() .'admin-ajax.php\', heateorSssCloseIconPath = \''. plugins_url( '../images/close.png', __FILE__ ) .'\', heateorSssPluginIconPath = \''. plugins_url( '../images/logo.png', __FILE__ ) .'\', heateorSssHorizontalSharingCountEnable = '. ( isset( $this->options['hor_enable'] ) && ( isset( $this->options['horizontal_counts'] ) || isset( $this->options['horizontal_total_shares'] ) ) ? 1 : 0 ) .', heateorSssVerticalSharingCountEnable = '. ( isset( $this->options['vertical_enable'] ) && ( isset( $this->options['vertical_counts'] ) || isset( $this->options['vertical_total_shares'] ) ) ? 1 : 0 ) .', heateorSssSharingOffset = '. ( isset( $this->options['alignment'] ) && $this->options['alignment'] != '' && isset( $this->options[$this->options['alignment'].'_offset'] ) && $this->options[$this->options['alignment'].'_offset'] != '' ? $this->options[$this->options['alignment'].'_offset'] : 0 ) . '; var heateorSssMobileStickySharingEnabled = ' . ( isset( $this->options['vertical_enable'] ) && isset( $this->options['bottom_mobile_sharing'] ) && $this->options['horizontal_screen_width'] != '' ? 1 : 0 ) . ';';
113
  if ( isset( $this->options['horizontal_counts'] ) && isset( $this->options['horizontal_counter_position'] ) ) {
114
  $inline_script .= in_array( $this->options['horizontal_counter_position'], array( 'inner_left', 'inner_right' ) ) ? 'var heateorSssReduceHorizontalSvgWidth = true;' : '';
115
  $inline_script .= in_array( $this->options['horizontal_counter_position'], array( 'inner_top', 'inner_bottom' ) ) ? 'var heateorSssReduceHorizontalSvgHeight = true;' : '';
1097
  public function round_off_counts( $sharing_count ) {
1098
 
1099
  if ( $sharing_count > 999 && $sharing_count < 10000 ) {
1100
+ $sharing_count = round( $sharing_count/1000, 1 ) . 'K';
1101
  } elseif ( $sharing_count > 9999 && $sharing_count < 100000 ) {
1102
+ $sharing_count = round( $sharing_count/1000, 1 ) . 'K';
1103
  } else if ( $sharing_count > 99999 && $sharing_count < 1000000 ) {
1104
+ $sharing_count = round( $sharing_count/1000, 1 ) . 'K';
1105
  } else if ( $sharing_count > 999999 ) {
1106
+ $sharing_count = round( $sharing_count/1000000, 1 ) . 'M';
1107
  }
1108
 
1109
  return $sharing_count;
1758
  }
1759
  echo isset( $this->options['hide_mobile_sharing'] ) && $this->options['vertical_screen_width'] != '' ? '@media screen and (max-width:' . $this->options['vertical_screen_width'] . 'px) {.heateor_sss_vertical_sharing{display:none!important}}' : '';
1760
  $bottom_sharing_postion_inverse = $this->options['bottom_sharing_alignment'] == 'left' ? 'right' : 'left';
1761
+ $bottom_sharing_responsive_css = '';
1762
+ if($this->options['bottom_sharing_position_radio'] == 'responsive'){
1763
+ $vertical_sharing_icon_height = $this->options['vertical_sharing_shape'] == 'rectangle' ? $this->options['vertical_sharing_height'] : $this->options['vertical_sharing_size'];
1764
+ $num_sharing_icons = isset($this->options['vertical_re_providers']) ? count($this->options['vertical_re_providers']) : 0;
1765
+ $total_share_count_enabled = isset($this->options['vertical_total_shares']) ? 1 : 0;
1766
+ $more_icon_enabled = isset($this->options['vertical_more']) ? 1 : 0;
1767
+ $bottom_sharing_responsive_css = 'div.heateor_sss_bottom_sharing{width:100% !important;}div.heateor_sss_bottom_sharing li{width:'.(100/($num_sharing_icons+$total_share_count_enabled+$more_icon_enabled)).'% !important;}div.heateor_sss_bottom_sharing .heateorSssSharing{width: 100% !important;}div.heateor_sss_bottom_sharing div.heateorSssTotalShareCount{font-size:1em!important;line-height:' . ( $vertical_sharing_icon_height*70/100 ) . 'px!important}div.heateor_sss_bottom_sharing div.heateorSssTotalShareText{font-size:.7em!important;line-height:0px!important}';
1768
+ }
1769
+ echo isset( $this->options['vertical_enable'] ) && isset( $this->options['bottom_mobile_sharing'] ) && $this->options['horizontal_screen_width'] != '' ? 'div.heateor_sss_mobile_footer{display:none;}@media screen and (max-width:' . $this->options['horizontal_screen_width'] . '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_sharing{padding:0!important;' . ( $this->options['bottom_sharing_position'] != '' ? $this->options['bottom_sharing_alignment'] . ':' . $this->options['bottom_sharing_position'] . 'px!important;' . $bottom_sharing_postion_inverse . ':auto!important;' : '' ) . 'display:block!important;width: auto!important;bottom: -10px!important;top: auto!important;}.heateor_sss_bottom_sharing .heateor_sss_square_count{line-height: inherit;}.heateor_sss_bottom_sharing .heateorSssSharingArrow{display:none;}.heateor_sss_bottom_sharing .heateorSssTCBackground{margin-right: 1.1em !important}}' : '';
1770
  echo $this->options['custom_css'];
1771
  if ( current_filter() == 'wp_enqueue_scripts' ) {
1772
  ?>
1929
  update_option( 'heateor_sss', $this->options );
1930
  }
1931
 
1932
+ if ( version_compare( '2.5.7', $current_version ) > 0 ) {
1933
+ $this->options['bottom_sharing_position_radio'] = 'responsive';
1934
+ update_option( 'heateor_sss', $this->options );
1935
+ }
1936
+
1937
  // update plugin version in database
1938
  update_option( 'heateor_sss_version', $this->version );
1939
  }
public/js/sassy-social-share-public.js CHANGED
@@ -503,7 +503,7 @@ function heateorSssMoreSharingPopup(elem, postUrl, postTitle, twitterTitle){
503
  var bgDiv = document.createElement('div');
504
  bgDiv.setAttribute('id', 'heateor_sss_popup_bg');
505
  jQuery('body').append(mainDiv).append(bgDiv);
506
- document.getElementById('heateor_sss_sharing_popup_close').onclick = function(){
507
  mainDiv.parentNode.removeChild(mainDiv);
508
  bgDiv.parentNode.removeChild(bgDiv);
509
  }
@@ -702,14 +702,15 @@ function heateorSssSaveFacebookShares(facebookShares){
702
  }
703
 
704
  function heateorSssCalculateApproxCount(sharingCount){
 
705
  if(sharingCount > 999 && sharingCount < 10000){
706
- sharingCount = Math.round(sharingCount/1000) + 'K';
707
  }else if(sharingCount > 9999 && sharingCount < 100000){
708
- sharingCount = Math.round(sharingCount/1000) + 'K';
709
  }else if(sharingCount > 99999 && sharingCount < 1000000){
710
- sharingCount = Math.round(sharingCount/1000) + 'K';
711
  }else if(sharingCount > 999999){
712
- sharingCount = Math.round(sharingCount/1000000) + 'M';
713
  }
714
  return sharingCount;
715
  }
@@ -742,6 +743,10 @@ jQuery(function(){
742
  });
743
  }
744
  }
 
 
 
 
745
  });
746
 
747
  function heateorSssHideSharing(elem, removeClass, addClass, margin, alignment){
503
  var bgDiv = document.createElement('div');
504
  bgDiv.setAttribute('id', 'heateor_sss_popup_bg');
505
  jQuery('body').append(mainDiv).append(bgDiv);
506
+ document.getElementById('heateor_sss_popup_bg').onclick = document.getElementById('heateor_sss_sharing_popup_close').onclick = function(){
507
  mainDiv.parentNode.removeChild(mainDiv);
508
  bgDiv.parentNode.removeChild(bgDiv);
509
  }
702
  }
703
 
704
  function heateorSssCalculateApproxCount(sharingCount){
705
+ // round to one decimal
706
  if(sharingCount > 999 && sharingCount < 10000){
707
+ sharingCount = (Math.round(sharingCount/100))/10 + 'K';
708
  }else if(sharingCount > 9999 && sharingCount < 100000){
709
+ sharingCount = (Math.round(sharingCount/100))/10 + 'K';
710
  }else if(sharingCount > 99999 && sharingCount < 1000000){
711
+ sharingCount = (Math.round(sharingCount/100))/10 + 'K';
712
  }else if(sharingCount > 999999){
713
+ sharingCount = (Math.round(sharingCount/100000))/10 + 'M';
714
  }
715
  return sharingCount;
716
  }
743
  });
744
  }
745
  }
746
+ if(heateorSssMobileStickySharingEnabled == 1){
747
+ // insert div before </body>
748
+ jQuery(document.body).append("<div class='heateor_sss_mobile_footer'></div>");
749
+ }
750
  });
751
 
752
  function heateorSssHideSharing(elem, removeClass, addClass, margin, alignment){
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
- === WordPress Social Share Plugin - Sassy Social Share ===
2
  Contributors: Heateor
3
  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, google +1, google plus share
5
  Requires at least: 2.5.0
6
- Tested up to: 4.7.4
7
- Stable tag: 2.5.6
8
  License: GPLv2 or later
9
 
10
  Slickest, Simplest and Optimized Share buttons. Facebook, Twitter, Google+, Pinterest, WhatsApp and over 100 more.
@@ -15,9 +15,11 @@ Sassy Social Share enables your website users to share the content over Facebook
15
 
16
  This is the Simplest and Smoothest Social Sharing plugin with optimized and great looking vector icons.
17
 
 
 
18
  = Feature list =
19
  * Around **100 Social Sharing/Bookmarking** services
20
- + FREE **Icon Customization** options
21
  * **Url Shortening Service** integration
22
  * **Standard and Floating** layout for Social Share icons
23
  * **Customizable Target Url** for Social Sharing
@@ -108,6 +110,11 @@ Yes, we can help you with it. Just drop an email at support[at]heateor[dot]com
108
  4. **Universal Sharing Popup**: Universal Sharing popup having all the supported sharing and bookmarking services
109
 
110
  == Changelog ==
 
 
 
 
 
111
  = 2.5.6 =
112
  * [Bugfix] Floating sharing icons were not picking up correct title and url at archive pages
113
 
@@ -366,4 +373,9 @@ Yes, we can help you with it. Just drop an email at support[at]heateor[dot]com
366
  * [Bugfix] Plugin "Settings" link at "Plugins" page in admin area was redirecting to wrong page
367
 
368
  = 2.5.6 =
369
- * [Bugfix] Floating sharing icons were not picking up correct title and url at archive pages
 
 
 
 
 
1
+ === WordPress Social Sharing Plugin - Sassy Social Share ===
2
  Contributors: Heateor
3
  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, google +1, google plus share
5
  Requires at least: 2.5.0
6
+ Tested up to: 4.7.5
7
+ Stable tag: 2.5.7
8
  License: GPLv2 or later
9
 
10
  Slickest, Simplest and Optimized Share buttons. Facebook, Twitter, Google+, Pinterest, WhatsApp and over 100 more.
15
 
16
  This is the Simplest and Smoothest Social Sharing plugin with optimized and great looking vector icons.
17
 
18
+ **Note:** Plugin will not work on local server. You should have an online website for the plugin to function properly.
19
+
20
  = Feature list =
21
  * Around **100 Social Sharing/Bookmarking** services
22
+ * FREE **Icon Customization** options
23
  * **Url Shortening Service** integration
24
  * **Standard and Floating** layout for Social Share icons
25
  * **Customizable Target Url** for Social Sharing
110
  4. **Universal Sharing Popup**: Universal Sharing popup having all the supported sharing and bookmarking services
111
 
112
  == Changelog ==
113
+ = 2.5.7 =
114
+ * [Improvement] Horizontal sticky sharing bar is now responsive with auto-adjusting width according to device screen
115
+ * [Improvement] Sticky horizontal sharing icons were covering website footer on mobile devices
116
+ * [Improvement] Share counts are now being rounded off to one decimal
117
+
118
  = 2.5.6 =
119
  * [Bugfix] Floating sharing icons were not picking up correct title and url at archive pages
120
 
373
  * [Bugfix] Plugin "Settings" link at "Plugins" page in admin area was redirecting to wrong page
374
 
375
  = 2.5.6 =
376
+ * [Bugfix] Floating sharing icons were not picking up correct title and url at archive pages
377
+
378
+ = 2.5.7 =
379
+ * [Improvement] Horizontal sticky sharing bar is now responsive with auto-adjusting width according to device screen
380
+ * [Improvement] Sticky horizontal sharing icons were covering website footer on mobile devices
381
+ * [Improvement] Share counts are now being rounded off to one decimal
sassy-social-share.php CHANGED
@@ -7,7 +7,7 @@
7
  * Plugin Name: Sassy Social Share
8
  * Plugin URI: https://www.heateor.com
9
  * Description: Slickest, Simplest and Optimized Share buttons. Facebook, Twitter, Google+, Pinterest, WhatsApp and over 100 more.
10
- * Version: 2.5.6
11
  * Author: Team Heateor
12
  * Author URI: https://www.heateor.com
13
  * Text Domain: sassy-social-share
@@ -21,7 +21,7 @@ if ( ! defined( 'WPINC' ) ) {
21
  die;
22
  }
23
 
24
- define( 'HEATEOR_SSS_VERSION', '2.5.6' );
25
  define( 'HEATEOR_SSS_PLUGIN_DIR', plugin_dir_path(__FILE__) );
26
 
27
  // plugin core class object
@@ -114,6 +114,7 @@ function heateor_sss_save_default_options() {
114
  'horizontal_screen_width' => '783',
115
  'bottom_sharing_position' => '0',
116
  'bottom_sharing_alignment' => 'left',
 
117
  'footer_script' => '1',
118
  'delete_options' => '1',
119
  'share_count_cache_refresh_count' => '10',
7
  * Plugin Name: Sassy Social Share
8
  * Plugin URI: https://www.heateor.com
9
  * Description: Slickest, Simplest and Optimized Share buttons. Facebook, Twitter, Google+, Pinterest, WhatsApp and over 100 more.
10
+ * Version: 2.5.7
11
  * Author: Team Heateor
12
  * Author URI: https://www.heateor.com
13
  * Text Domain: sassy-social-share
21
  die;
22
  }
23
 
24
+ define( 'HEATEOR_SSS_VERSION', '2.5.7' );
25
  define( 'HEATEOR_SSS_PLUGIN_DIR', plugin_dir_path(__FILE__) );
26
 
27
  // plugin core class object
114
  'horizontal_screen_width' => '783',
115
  'bottom_sharing_position' => '0',
116
  'bottom_sharing_alignment' => 'left',
117
+ 'bottom_sharing_position_radio' => 'responsive',
118
  'footer_script' => '1',
119
  'delete_options' => '1',
120
  'share_count_cache_refresh_count' => '10',