WP Socializer - Version 6.5

Version Description

Download this release

Release Info

Developer vaakash
Plugin Icon 128x128 WP Socializer
Version 6.5
Comparing to
See all releases

Code changes from version 6.4 to 6.5

admin/admin.php CHANGED
@@ -143,28 +143,26 @@ class WPSR_Admin{
143
 
144
  if(self::$current_page == 'home'){
145
 
146
- echo '<h1><i class="fa fa-star-of-life"></i>Features</h1>';
147
  self::admin_pages_list( 'feature' );
148
 
149
- echo '<h1><i class="fas fa-columns"></i>Sidebar Widgets</h1>';
150
  self::admin_pages_list( 'widget' );
151
 
152
- echo '<h1><i class="fa fa-wrench"></i>Settings</h1>';
153
  self::admin_pages_list( 'other' );
154
 
155
  }else{
156
 
157
  $page = $pages[ self::$current_page ];
158
  echo '<div class="page_head">';
159
- echo '<h1><i class="fa fa-star-of-life"></i>' . $page[ 'name' ] . '</h1>';
160
  if( !empty( $page[ 'description' ] ) ) echo '<p>' . $page[ 'description' ] . '</p>';
161
  echo '</div>';
162
 
163
  call_user_func( $pages[ self::$current_page ][ 'callbacks' ][ 'page' ] );
164
  }
165
 
166
- self::coffee_box();
167
-
168
  echo '</div>';
169
 
170
  }
@@ -203,9 +201,9 @@ class WPSR_Admin{
203
  );
204
 
205
  echo '<a class="' . implode( ' ', $card_class ) . '" href="' . $link . '">';
206
- echo '<div class="card_banner" style="background-image: url(' . $config[ 'banner' ] . '?v=' . WPSR_VERSION . ')"></div>';
207
  echo '<div class="card_info">';
208
  echo '<h3>' . $config[ 'name' ] . '</h3>';
 
209
  if( !empty( $config[ 'description' ] ) ) echo '<p>' . $config[ 'description' ] . '</p>';
210
  echo '</div>';
211
  echo '<div class="page_feat_status">' . $action_text . '</div>';
@@ -243,8 +241,6 @@ class WPSR_Admin{
243
  echo '<div class="notice notice-success inline is-dismissible save_notice">';
244
  echo '<p>' . __( 'Settings saved successfully ! ', 'wpsr' );
245
  echo '<a href="' . get_site_url() . '" target="_blank">' . __( 'Visit site', 'wpsr' ) . ' <i class="fas fa-arrow-right"></i></a></p>';
246
- echo '<hr />';
247
- echo '<p>📢 <a href="https://twitter.com/intent/tweet?hashtags=wordpress,plugin,facebook,twitter,addtoany,addthis&ref_src=twsrc%5Etfw&related=aakashweb&text=Check%20out%20WP%20Socializer%20⚡%20a%20free%20all%20in%20one%20plugin%20to%20add%20social%20sharing%20buttons%2C%20profile%20links%2C%20sticky%20share%20bar%20and%20widgets%20to%20your%20WordPress%20site&tw_p=tweetbutton&url=https%3A%2F%2Fwww.aakashweb.com%2Fwordpress-plugins%2Fwp-socializer%2F&via=aakashweb" target="_blank">Tweet, share and help others try this plugin <i class="fas fa-arrow-right"></i></a></p>';
248
  echo '</div>';
249
  }
250
 
@@ -403,18 +399,8 @@ class WPSR_Admin{
403
 
404
  public static function admin_links(){
405
  echo '<ul class="admin_links">';
406
- echo '<li class="slogan">⚡ Your all in one social sharing plugin</li>';
407
- echo '<li><a href="#"><i class="fas fa-bars"></i> Features</a>';
408
- echo '<ul class="sub_menu">';
409
- $pages = self::get_pages();
410
- foreach( $pages as $id => $config ){
411
- $link = empty( $config['link'] ) ? ( 'admin.php?page=wp_socializer&tab=' . $id ) : $config[ 'link' ];
412
- echo '<li><a href="' . $link . '">' . $config[ 'name' ] . '</a></li>';
413
- }
414
- echo '</ul>';
415
- echo '</li>';
416
- echo '<li><a href="https://www.paypal.me/vaakash/6" target="_blank">Buy me a coffee</a></li>';
417
- echo '<li><a href="https://wordpress.org/support/plugin/wp-socializer/reviews/?rate=5#new-post" target="_blank">Rate this plugin</a></li>';
418
  echo '</ul>';
419
  }
420
 
@@ -435,14 +421,7 @@ class WPSR_Admin{
435
  echo '<div id="sidebar">';
436
 
437
  echo '<div class="side_card">';
438
- echo '<h2><i class="fas fa-lightbulb"></i> Floating/sticky widgets</h2>';
439
- echo '<a class="side_banner" href="https://www.aakashweb.com/wordpress-plugins/ultimate-floating-widgets-pro/?utm_source=wp-socializer&utm_medium=sidebar&utm_campaign=ufw-pro" target="_blank"><img src="' . WPSR_ADMIN_URL . '/images/banners/ultimate-floating-widgets.png" /></a>';
440
- echo '<p>If your website does not have a sidebar, but still want to use widgets then you can try Ultimate floating widgets plugin. It creates a sticky popup where you can place your widgets.</p>';
441
- echo '<a class="cta_link" href="https://www.aakashweb.com/wordpress-plugins/ultimate-floating-widgets-pro/?utm_source=wp-socializer&utm_medium=sidebar&utm_campaign=ufw-pro" target="_blank">Learn more <i class="fas fa-arrow-right"></i></a>';
442
- echo '</div>';
443
-
444
- echo '<div class="side_card">';
445
- echo '<h2><i class="fas fa-info-circle"></i> Get updates</h2>';
446
  echo '<p>Get updates on the WordPress plugins, tips and tricks to enhance your WordPress experience. No spam.</p>';
447
 
448
  echo '<form class="subscribe_form" action="https://aakashweb.us19.list-manage.com/subscribe/post?u=b7023581458d048107298247e&amp;id=ef5ab3c5c4" method="post" name="mc-embedded-subscribe-form" target="_blank" novalidate>
@@ -451,8 +430,31 @@ class WPSR_Admin{
451
  <input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="button subscribe_btn">
452
  </form>';
453
 
454
- echo '<a href="https://www.facebook.com/aakashweb" target="_blank" class="cta_link">Follow me on Facebook <i class="fas fa-arrow-right"></i></a>';
455
- echo '<a href="https://www.twitter.com/aakashweb" target="_blank" class="cta_link">Follow me on Twitter <i class="fas fa-arrow-right"></i></a>';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
456
  echo '</div>';
457
 
458
  echo '<div class="side_card">';
@@ -473,36 +475,6 @@ class WPSR_Admin{
473
  </div>';
474
 
475
  }
476
-
477
- public static function coffee_box(){
478
-
479
- echo '<div class="happy_box">';
480
-
481
- echo '<h2>Happy with the plugin ?</h2>';
482
-
483
- echo '<div class="cfe_bottom">';
484
- echo '<div class="icon">☕</div>';
485
- echo '<h3>Buy me a Coffee !</h3><p>If you like this plugin, buy me a coffee and help support this plugin !</p>';
486
- echo '<div class="cfe_form">';
487
- echo '<select class="cfe_amt">';
488
- for($i = 5; $i <= 15; $i++){
489
- echo '<option value="' . $i . '" ' . ($i == 6 ? 'selected="selected"' : '') . '>$' . $i . '</option>';
490
- }
491
- echo '<option value="">Custom</option>';
492
- echo '</select>';
493
- echo '<a class="button button-primary cfe_btn" href="https://www.paypal.me/vaakash/6" data-link="https://www.paypal.me/vaakash/" target="_blank">' . __( 'Buy me a coffee !', 'wpsr' ) . '</a>';
494
- echo '</div>';
495
- echo '</div>';
496
-
497
- echo '<div class="rate_review">';
498
- echo '<div class="icon">⭐</div>';
499
- echo '<h3>Rate &amp; Review</h3><p>If you have a minute, please rate this plugin and let others know and try this plugin.</p>';
500
- echo '<a href="https://wordpress.org/support/plugin/wp-socializer/reviews/?rate=5#new-post" class="button button-primary" target="_blank">Rate &amp; Review <i class="fas fa-arrow-right"></i></a>';
501
- echo '</div>';
502
-
503
- echo '</div>';
504
-
505
- }
506
 
507
  }
508
 
143
 
144
  if(self::$current_page == 'home'){
145
 
146
+ echo '<h1>Features</h1>';
147
  self::admin_pages_list( 'feature' );
148
 
149
+ echo '<h1>Sidebar Widgets</h1>';
150
  self::admin_pages_list( 'widget' );
151
 
152
+ echo '<h1>Settings</h1>';
153
  self::admin_pages_list( 'other' );
154
 
155
  }else{
156
 
157
  $page = $pages[ self::$current_page ];
158
  echo '<div class="page_head">';
159
+ echo '<h1>' . $page[ 'name' ] . '</h1>';
160
  if( !empty( $page[ 'description' ] ) ) echo '<p>' . $page[ 'description' ] . '</p>';
161
  echo '</div>';
162
 
163
  call_user_func( $pages[ self::$current_page ][ 'callbacks' ][ 'page' ] );
164
  }
165
 
 
 
166
  echo '</div>';
167
 
168
  }
201
  );
202
 
203
  echo '<a class="' . implode( ' ', $card_class ) . '" href="' . $link . '">';
 
204
  echo '<div class="card_info">';
205
  echo '<h3>' . $config[ 'name' ] . '</h3>';
206
+ echo '<div class="card_banner" style="background-image: url(' . $config[ 'banner' ] . '?v=' . WPSR_VERSION . ')"></div>';
207
  if( !empty( $config[ 'description' ] ) ) echo '<p>' . $config[ 'description' ] . '</p>';
208
  echo '</div>';
209
  echo '<div class="page_feat_status">' . $action_text . '</div>';
241
  echo '<div class="notice notice-success inline is-dismissible save_notice">';
242
  echo '<p>' . __( 'Settings saved successfully ! ', 'wpsr' );
243
  echo '<a href="' . get_site_url() . '" target="_blank">' . __( 'Visit site', 'wpsr' ) . ' <i class="fas fa-arrow-right"></i></a></p>';
 
 
244
  echo '</div>';
245
  }
246
 
399
 
400
  public static function admin_links(){
401
  echo '<ul class="admin_links">';
402
+ echo '<li><a href="https://www.paypal.me/vaakash/6" class="button" target="_blank">☕ Buy me a Coffee</a></li>';
403
+ echo '<li><a href="https://wordpress.org/support/plugin/wp-socializer/reviews/?rate=5#new-post" class="button" target="_blank">⭐ Rate &amp; Review</a></li>';
 
 
 
 
 
 
 
 
 
 
404
  echo '</ul>';
405
  }
406
 
421
  echo '<div id="sidebar">';
422
 
423
  echo '<div class="side_card">';
424
+ echo '<h2><i class="fas fa-info-circle"></i> WordPress news</h2>';
 
 
 
 
 
 
 
425
  echo '<p>Get updates on the WordPress plugins, tips and tricks to enhance your WordPress experience. No spam.</p>';
426
 
427
  echo '<form class="subscribe_form" action="https://aakashweb.us19.list-manage.com/subscribe/post?u=b7023581458d048107298247e&amp;id=ef5ab3c5c4" method="post" name="mc-embedded-subscribe-form" target="_blank" novalidate>
430
  <input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="button subscribe_btn">
431
  </form>';
432
 
433
+ echo '<p>';
434
+ echo '<a href="https://twitter.com/intent/follow?screen_name=aakashweb" target="_blank" class="button twitter_btn"><span class="dashicons dashicons-twitter"></span> Follow us on Twitter</a>';
435
+ echo '<a href="https://www.facebook.com/aakashweb/" target="_blank" class="button facebook_btn"><span class="dashicons dashicons-facebook-alt"></span> on Facebook</a>';
436
+ echo '</p>';
437
+
438
+ echo '</div>';
439
+
440
+ echo '<div class="side_card">';
441
+ echo '<h2><i class="fas fa-heart"></i> More plugins from us</h2>';
442
+
443
+ echo '<div class="promo_slides">';
444
+ echo '<div class="promo_slide">';
445
+ echo '<a class="side_banner" href="https://www.aakashweb.com/wordpress-plugins/ultimate-floating-widgets/?utm_source=wp-socializer&utm_medium=sidebar&utm_campaign=ufw-pro" target="_blank"><img src="' . WPSR_ADMIN_URL . '/images/banners/ultimate-floating-widgets.png" /></a>';
446
+ echo '</div>';
447
+
448
+ echo '<div class="promo_slide">';
449
+ echo '<a class="side_banner" href="https://www.aakashweb.com/wordpress-plugins/announcer/?utm_source=wp-socializer&utm_medium=sidebar&utm_campaign=announcer-pro" target="_blank"><img src="' . WPSR_ADMIN_URL . '/images/banners/announcer.png" /></a>';
450
+ echo '</div>';
451
+
452
+ echo '<div class="promo_slide">';
453
+ echo '<a class="side_banner" href="https://www.aakashweb.com/wordpress-plugins/super-rss-reader/?utm_source=wp-socializer&utm_medium=sidebar&utm_campaign=srr-pro" target="_blank"><img src="' . WPSR_ADMIN_URL . '/images/banners/super-rss-reader.png" /></a>';
454
+ echo '</div>';
455
+ echo '</div>';
456
+
457
+ echo '<p><a href="#" onclick="wpsr_next_promo_slide(-1, event)" class="promo_btn"><span class="dashicons dashicons-arrow-left-alt2"></span> Prev</a><a href="#" onclick="wpsr_next_promo_slide(1, event)" class="promo_btn fright">Next <span class="dashicons dashicons-arrow-right-alt2"></span></a></p>';
458
  echo '</div>';
459
 
460
  echo '<div class="side_card">';
475
  </div>';
476
 
477
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
478
 
479
  }
480
 
admin/css/ipopup.css CHANGED
@@ -34,4 +34,9 @@
34
  text-decoration: none;
35
  font-weight: bold;
36
  box-shadow: 0 2px 9px -1px #000;
 
 
 
 
 
37
  }
34
  text-decoration: none;
35
  font-weight: bold;
36
  box-shadow: 0 2px 9px -1px #000;
37
+ }
38
+ @media screen and (max-width: 950px) {
39
+ #wpsr_ipopup_wrap section{
40
+ width: 100%;
41
+ }
42
  }
admin/css/style.css CHANGED
@@ -4,12 +4,15 @@
4
  #wpsr_header{
5
  margin: 0 0 20px -20px;
6
  padding: 0;
7
- border-bottom: 1px solid #dfdfdf;
 
8
  background: #fff;
9
  }
10
  #wpsr_header hgroup{
11
  position: relative;
12
  padding: 25px;
 
 
13
  }
14
  h1.wpsr_title{
15
  background: url( '../images/icons/wp-socializer.png' ) no-repeat left;
@@ -45,22 +48,14 @@ h1.wpsr_title a i{
45
 
46
  #main{
47
  display: flex;
48
- margin-bottom: 20px;
 
49
  }
50
 
51
  #content {
52
  width: calc(100% - 320px);
53
  padding-right: 20px;
54
  }
55
- #content h1 {
56
- padding: 0;
57
- margin: 0 0 20px 0;
58
- }
59
- #content h1 i{
60
- font-size: 0.8em;
61
- margin: 0 10px 0 0;
62
- color: #ff9900;
63
- }
64
 
65
  #sidebar{
66
  flex: 1;
@@ -69,16 +64,16 @@ h1.wpsr_title a i{
69
  .side_card {
70
  padding: 20px;
71
  background-position: 30px center;
72
- margin-bottom: 15px;
73
  background-size: 95px;
74
  background-color: #fff;
75
- border: 1px solid #dfdfdf;
76
  }
77
  .side_card h2 {
78
  margin: -20px -20px 20px -20px;
79
  padding: 12.5px 15px;
80
- border-bottom: 1px solid #dfdfdf;
81
- font-size: 1.2em;
82
  }
83
  .side_card h2 i {
84
  margin: 0 10px 0 0;
@@ -101,10 +96,20 @@ h1.wpsr_title a i{
101
  .side_card .cta_link:hover i{
102
  margin-left: 5px;
103
  }
 
 
 
 
 
 
 
 
 
 
104
  .side_banner{
105
  display: block;
106
  margin: -20px -20px 20px -20px;
107
- border-bottom: 1px solid #dfdfdf;
108
  line-height: 0;
109
  overflow: hidden;
110
  }
@@ -120,20 +125,18 @@ h1.wpsr_title a i{
120
  display: grid;
121
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
122
  grid-gap: 20px;
123
- margin-bottom: 4em;
124
  }
125
  .page_card {
126
  background-color: #fff;
127
- border: 1px solid #e6e6e6;
128
  position: relative;
129
  box-sizing: border-box;
130
  text-decoration: none;
131
- box-shadow: 0 1px 1px rgba(0,0,0,.05);
132
- padding-bottom: 40px;
133
  }
134
  .page_card h3{
135
  margin: 20px 0;
136
- font-size: 24px;
137
  color: #000000;
138
  line-height: 1.25;
139
  }
@@ -154,7 +157,8 @@ h1.wpsr_title a i{
154
  background-repeat: no-repeat;
155
  height: 100px;
156
  background-position: center;
157
- border-bottom: 1px solid #dfdfdf;
 
158
  }
159
  .page_card .card_info {
160
  margin: 0 20px;
@@ -168,7 +172,7 @@ h1.wpsr_title a i{
168
  display: block;
169
  text-align: center;
170
  background: #fbfbfb;
171
- padding: 10px 15px;
172
  position: absolute;
173
  bottom: 0;
174
  left: 0;
@@ -407,7 +411,7 @@ h1.wpsr_title a i{
407
  background: #fff;
408
  padding: 0 10px;
409
  left: -5px;
410
- border: 1px solid #dfdfdf;
411
  border-radius: 50%;
412
  height: 28px;
413
  text-align: center;
@@ -430,11 +434,11 @@ h1.wpsr_title a i{
430
  .loc_rules_inner {
431
  margin: 30px 15px;
432
  counter-reset: group-counter;
433
- border: 1px solid #dfdfdf;
434
  padding: 30px 15px 20px 15px;
435
  background: #fefefe;
436
  border-radius: 5px;
437
- box-shadow: 0 2px 3px -1px #dfdfdf;
438
  }
439
  .loc_rules_box{
440
  padding: 15px 15px 0 15px;
@@ -530,7 +534,7 @@ h1.wpsr_title a i{
530
  }
531
  .wpsr_tooltip_cnt.tt_has_footer{
532
  bottom: 55px;
533
- border-bottom: 1px solid #dfdfdf;
534
  }
535
  .wpsr_tooltip_close{
536
  position: absolute;
@@ -549,18 +553,14 @@ h1.wpsr_title a i{
549
 
550
 
551
  .page_head {
552
- border-bottom: 1px solid #dfdfdf;
553
  margin: 0 0 40px 0;
554
  padding-bottom: 20px;
555
  }
556
  .page_head *:last-child{
557
  margin-bottom: 0 !important;
558
  }
559
- .page_head h1{
560
- margin: 0 0 10px 0 !important;
561
- }
562
  .page_head p{
563
- margin-left: 25px;
564
  font-size: 15px;
565
  }
566
  .main_form {
@@ -603,6 +603,7 @@ h1.wpsr_title a i{
603
  .ft_toggle_btn{
604
  font-size: 50px !important;
605
  cursor: pointer;
 
606
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
607
  }
608
  .ft_toggle_btn.fa-toggle-on {
@@ -794,7 +795,7 @@ select[name="ft_status"]{
794
  }
795
 
796
  .form-table tr.sub_head {
797
- border-bottom: 1px solid #dfdfdf;
798
  }
799
  .form-table tr.sub_head th {
800
  font-weight: normal !important;
@@ -809,8 +810,8 @@ select[name="ft_status"]{
809
  .form_section {
810
  background: #fff;
811
  padding: 20px;
812
- border: 1px solid #dfdfdf;
813
- margin-bottom: 40px;
814
  }
815
  .form_section > *:last-child{
816
  margin-bottom: 0;
@@ -818,16 +819,13 @@ select[name="ft_status"]{
818
  .form_section h4 {
819
  text-transform: uppercase;
820
  font-size: 15px;
821
- border-bottom: 1px solid #dfdfdf;
822
  padding: 15px 0;
823
  }
824
  .form_section p{
825
  font-size: 15px;
826
  font-style: italic;
827
  }
828
- .section_head{
829
- font-size: 20px;
830
- }
831
  .section_desc{
832
  margin: 0 0 20px 0;
833
  }
@@ -848,9 +846,10 @@ select[name="ft_status"]{
848
  font-size: 14px;
849
  display: block;
850
  font-weight: bold;
851
- margin: 0 15px 0 0;
852
  width: 30%;
853
  flex-shrink: 0;
 
854
  }
855
  .field_val{
856
  margin-right: 10px;
@@ -898,7 +897,7 @@ select[name="ft_status"]{
898
  width: 100%;
899
  }
900
  .img_select_list li:hover{
901
- border-color: #dfdfdf;
902
  }
903
  .img_select_list li:active{
904
  border-color: #ccc;
@@ -922,7 +921,7 @@ select[name="ft_status"]{
922
  .tab_list {
923
  display: flex;
924
  margin: -20px -20px 20px -20px;
925
- border-bottom: 1px solid #dfdfdf;
926
  background: #f7f7f7;
927
  }
928
  .tab_list a {
@@ -931,15 +930,15 @@ select[name="ft_status"]{
931
  display: inline-block;
932
  font-size: 15px;
933
  text-decoration: none;
934
- border-right: 1px solid #dfdfdf;
935
- border-bottom: 5px solid #fff;
936
  border-top: 10px solid #fff;
937
  }
938
  .tab_list li {
939
  margin: 0;
940
  }
941
  .tab_list li.active a{
942
- border-bottom: 5px solid;
943
  }
944
  .tab_list a i {
945
  margin: 0 15px 0 0;
@@ -1001,46 +1000,13 @@ select[name="ft_status"]{
1001
  .admin_links li{
1002
  position: relative;
1003
  }
1004
- .admin_links li i{
1005
- margin-right: 10px;
1006
- }
1007
- .admin_links .slogan{
1008
- font-style: italic;
1009
- }
1010
  .admin_links > li {
1011
  padding: 5px 10px;
1012
- margin: 0 0 0 10px;
1013
- }
1014
- .admin_links > li a {
1015
- text-decoration: none;
1016
- }
1017
- .admin_links > li a:hover {
1018
- text-decoration: underline;
1019
- }
1020
- .admin_links li ul{
1021
- position: absolute;
1022
- background: #fff;
1023
- top: 25px;
1024
- right: 0;
1025
- border: 1px solid #dfdfdf;
1026
- box-shadow: 0 2px 6px -2px rgba(0, 0, 0, 0.5);
1027
- display: none;
1028
- }
1029
- .admin_links li ul li{
1030
  margin: 0;
1031
- border-bottom: 1px solid #f7f7f7;
1032
  }
1033
- .admin_links li ul li a{
1034
- background: #fff;
1035
- margin: 0;
1036
- padding: 10px 15px;
1037
- display: block;
1038
- width: 200px;
1039
  text-decoration: none;
1040
  }
1041
- .admin_links li:hover ul{
1042
- display: block;
1043
- }
1044
 
1045
  .intro_popup{
1046
  background: #fff;
@@ -1055,7 +1021,7 @@ select[name="ft_status"]{
1055
  z-index: 999;
1056
  }
1057
  .intro_popup h1 {
1058
- border-bottom: 1px solid #dfdfdf;
1059
  padding: 30px 20px !important;
1060
  margin: -20px -20px 20px -20px !important;
1061
  font-weight: 400;
@@ -1063,7 +1029,7 @@ select[name="ft_status"]{
1063
  }
1064
  .intro_popup h2 {
1065
  font-size: 20px;
1066
- border-bottom: 1px solid #dfdfdf;
1067
  padding-bottom: 15px;
1068
  display: inline-block;
1069
  margin: 0 0 15px 0;
@@ -1097,7 +1063,7 @@ select[name="ft_status"]{
1097
  padding: 15px;
1098
  left: 0;
1099
  right: 0;
1100
- border-top: 1px solid #dfdfdf;
1101
  background: #f0f0f0;
1102
  text-align: center;
1103
  }
@@ -1228,64 +1194,26 @@ select[name="ft_status"]{
1228
  width: 16px;
1229
  margin: 7px 3px 0 0;
1230
  }
1231
-
1232
-
1233
- /** Happy box **/
1234
- .happy_box h2{
1235
- font-size: 22px;
1236
- font-weight: 400;
1237
- }
1238
- .happy_box .icon{
1239
- font-size: 20px;
1240
- }
1241
- .happy_box p{
1242
- font-size: 15px;
1243
- }
1244
-
1245
- /** Coffee - Box **/
1246
- .cfe_bottom{
1247
- background: #fff;
1248
- padding: 20px 15px;
1249
- display: flex;
1250
- border: 1px solid #e3bbac;
1251
- align-items: center;
1252
- box-shadow: 0 1px 1px rgba(0,0,0,.04);
1253
- }
1254
- .cfe_bottom > * {
1255
- margin: 0 15px 0 0;
1256
- vertical-align: middle;
1257
  }
1258
- .cfe_bottom h3{
1259
- font-size: 15px;
1260
  }
1261
- .cfe_form{
1262
- display: flex;
1263
  }
1264
- .cfe_form select{
1265
- width: 100%;
1266
- margin-right: 1em;
 
1267
  }
1268
- .cfe_form .button{
1269
- text-align: center;
 
 
1270
  }
1271
 
1272
- /** Rate & review **/
1273
- .rate_review{
1274
- background: #fff;
1275
- padding: 20px 15px;
1276
- display: flex;
1277
- border: 1px solid #e3bbac;
1278
- align-items: center;
1279
- box-shadow: 0 1px 1px rgba(0,0,0,.04);
1280
- margin-top: -1px;
1281
- }
1282
- .rate_review > * {
1283
- margin: 0 15px 0 0;
1284
- vertical-align: middle;
1285
- }
1286
- .rate_review h3 {
1287
- font-size: 15px;
1288
- }
1289
 
1290
  /** Misc **/
1291
  .page_footer{
@@ -1294,9 +1222,6 @@ select[name="ft_status"]{
1294
  .save_notice{
1295
  margin-bottom: 40px !important;
1296
  }
1297
- .save_notice p{
1298
- font-size: 15px;
1299
- }
1300
  .save_notice p a{
1301
  text-decoration: none;
1302
  }
@@ -1333,6 +1258,12 @@ select[name="ft_status"]{
1333
  margin-bottom: 0;
1334
  }
1335
 
 
 
 
 
 
 
1336
  .hide_scrollbar{
1337
  overflow:hidden;
1338
  }
@@ -1387,7 +1318,7 @@ select[name="ft_status"]{
1387
  }
1388
  .sic_content header {
1389
  padding: 20px;
1390
- border-bottom: 1px solid #dfdfdf;
1391
  }
1392
  .sic_content section {
1393
  overflow: auto;
@@ -1397,7 +1328,7 @@ select[name="ft_status"]{
1397
  .sic_content footer{
1398
  text-align: right;
1399
  padding: 20px;
1400
- border-top: 1px solid #dfdfdf;
1401
  }
1402
  .sic_content h3 {
1403
  margin: 0;
@@ -1470,13 +1401,13 @@ select[name="ft_status"]{
1470
  /** SIE - Social icons - editor **/
1471
  .sie_editor{
1472
  padding: 20px 10px 10px 20px;
1473
- border: 1px dashed #dfdfdf;
1474
  background: #fff;
1475
  }
1476
  .sie_toolbar{
1477
  padding: 20px;
1478
  background: #f7f7f7;
1479
- border: 1px solid #dfdfdf;
1480
  margin-top: -1px;
1481
  }
1482
  .sie_selected li{
@@ -1509,9 +1440,6 @@ select[name="ft_status"]{
1509
  }
1510
 
1511
  @media screen and (max-width: 1200px) {
1512
- .admin_links{
1513
- display: none;
1514
- }
1515
  }
1516
 
1517
  @media screen and (max-width: 950px) {
@@ -1543,4 +1471,7 @@ select[name="ft_status"]{
1543
  .happy_box > div > *{
1544
  margin: 0 0 10px 0;
1545
  }
 
 
 
1546
  }
4
  #wpsr_header{
5
  margin: 0 0 20px -20px;
6
  padding: 0;
7
+ border-top: 1px solid #c3c4c7;
8
+ border-bottom: 1px solid #c3c4c7;
9
  background: #fff;
10
  }
11
  #wpsr_header hgroup{
12
  position: relative;
13
  padding: 25px;
14
+ max-width: 1200px;
15
+ margin: 0 auto;
16
  }
17
  h1.wpsr_title{
18
  background: url( '../images/icons/wp-socializer.png' ) no-repeat left;
48
 
49
  #main{
50
  display: flex;
51
+ max-width: 1200px;
52
+ margin: 0 auto 20px auto;
53
  }
54
 
55
  #content {
56
  width: calc(100% - 320px);
57
  padding-right: 20px;
58
  }
 
 
 
 
 
 
 
 
 
59
 
60
  #sidebar{
61
  flex: 1;
64
  .side_card {
65
  padding: 20px;
66
  background-position: 30px center;
67
+ margin-bottom: 20px;
68
  background-size: 95px;
69
  background-color: #fff;
70
+ border: 1px solid #c3c4c7;
71
  }
72
  .side_card h2 {
73
  margin: -20px -20px 20px -20px;
74
  padding: 12.5px 15px;
75
+ border-bottom: 1px solid #c3c4c7;
76
+ font-size: 14px;
77
  }
78
  .side_card h2 i {
79
  margin: 0 10px 0 0;
96
  .side_card .cta_link:hover i{
97
  margin-left: 5px;
98
  }
99
+ .side_card > *:last-child{
100
+ margin-bottom: 0;
101
+ }
102
+ .side_card .button{
103
+ display: block;
104
+ text-align: center;
105
+ }
106
+ .side_card .button:first-child{
107
+ margin-bottom: 10px;
108
+ }
109
  .side_banner{
110
  display: block;
111
  margin: -20px -20px 20px -20px;
112
+ border-bottom: 1px solid #c3c4c7;
113
  line-height: 0;
114
  overflow: hidden;
115
  }
125
  display: grid;
126
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
127
  grid-gap: 20px;
128
+ margin: 20px 0 40px 0;
129
  }
130
  .page_card {
131
  background-color: #fff;
132
+ border: 1px solid #c3c4c7;
133
  position: relative;
134
  box-sizing: border-box;
135
  text-decoration: none;
136
+ padding-bottom: 50px;
 
137
  }
138
  .page_card h3{
139
  margin: 20px 0;
 
140
  color: #000000;
141
  line-height: 1.25;
142
  }
157
  background-repeat: no-repeat;
158
  height: 100px;
159
  background-position: center;
160
+ border: 1px solid #efefef;
161
+ border-radius: 5px;
162
  }
163
  .page_card .card_info {
164
  margin: 0 20px;
172
  display: block;
173
  text-align: center;
174
  background: #fbfbfb;
175
+ padding: 10px;
176
  position: absolute;
177
  bottom: 0;
178
  left: 0;
411
  background: #fff;
412
  padding: 0 10px;
413
  left: -5px;
414
+ border: 1px solid #c3c4c7;
415
  border-radius: 50%;
416
  height: 28px;
417
  text-align: center;
434
  .loc_rules_inner {
435
  margin: 30px 15px;
436
  counter-reset: group-counter;
437
+ border: 1px solid #c3c4c7;
438
  padding: 30px 15px 20px 15px;
439
  background: #fefefe;
440
  border-radius: 5px;
441
+ box-shadow: 0 2px 3px -1px #c3c4c7;
442
  }
443
  .loc_rules_box{
444
  padding: 15px 15px 0 15px;
534
  }
535
  .wpsr_tooltip_cnt.tt_has_footer{
536
  bottom: 55px;
537
+ border-bottom: 1px solid #c3c4c7;
538
  }
539
  .wpsr_tooltip_close{
540
  position: absolute;
553
 
554
 
555
  .page_head {
556
+ border-bottom: 1px solid #c3c4c7;
557
  margin: 0 0 40px 0;
558
  padding-bottom: 20px;
559
  }
560
  .page_head *:last-child{
561
  margin-bottom: 0 !important;
562
  }
 
 
 
563
  .page_head p{
 
564
  font-size: 15px;
565
  }
566
  .main_form {
603
  .ft_toggle_btn{
604
  font-size: 50px !important;
605
  cursor: pointer;
606
+ float: right;
607
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
608
  }
609
  .ft_toggle_btn.fa-toggle-on {
795
  }
796
 
797
  .form-table tr.sub_head {
798
+ border-bottom: 1px solid #c3c4c7;
799
  }
800
  .form-table tr.sub_head th {
801
  font-weight: normal !important;
810
  .form_section {
811
  background: #fff;
812
  padding: 20px;
813
+ border: 1px solid #c3c4c7;
814
+ margin-bottom: 50px;
815
  }
816
  .form_section > *:last-child{
817
  margin-bottom: 0;
819
  .form_section h4 {
820
  text-transform: uppercase;
821
  font-size: 15px;
822
+ border-bottom: 1px solid #c3c4c7;
823
  padding: 15px 0;
824
  }
825
  .form_section p{
826
  font-size: 15px;
827
  font-style: italic;
828
  }
 
 
 
829
  .section_desc{
830
  margin: 0 0 20px 0;
831
  }
846
  font-size: 14px;
847
  display: block;
848
  font-weight: bold;
849
+ margin: 0 20px 0 0;
850
  width: 30%;
851
  flex-shrink: 0;
852
+ line-height: 1.5;
853
  }
854
  .field_val{
855
  margin-right: 10px;
897
  width: 100%;
898
  }
899
  .img_select_list li:hover{
900
+ border-color: #c3c4c7;
901
  }
902
  .img_select_list li:active{
903
  border-color: #ccc;
921
  .tab_list {
922
  display: flex;
923
  margin: -20px -20px 20px -20px;
924
+ border-bottom: 1px solid #c3c4c7;
925
  background: #f7f7f7;
926
  }
927
  .tab_list a {
930
  display: inline-block;
931
  font-size: 15px;
932
  text-decoration: none;
933
+ border-right: 1px solid #c3c4c7;
934
+ border-bottom: 3px solid #fff;
935
  border-top: 10px solid #fff;
936
  }
937
  .tab_list li {
938
  margin: 0;
939
  }
940
  .tab_list li.active a{
941
+ border-bottom: 3px solid;
942
  }
943
  .tab_list a i {
944
  margin: 0 15px 0 0;
1000
  .admin_links li{
1001
  position: relative;
1002
  }
 
 
 
 
 
 
1003
  .admin_links > li {
1004
  padding: 5px 10px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1005
  margin: 0;
 
1006
  }
1007
+ .admin_links > li a {
 
 
 
 
 
1008
  text-decoration: none;
1009
  }
 
 
 
1010
 
1011
  .intro_popup{
1012
  background: #fff;
1021
  z-index: 999;
1022
  }
1023
  .intro_popup h1 {
1024
+ border-bottom: 1px solid #c3c4c7;
1025
  padding: 30px 20px !important;
1026
  margin: -20px -20px 20px -20px !important;
1027
  font-weight: 400;
1029
  }
1030
  .intro_popup h2 {
1031
  font-size: 20px;
1032
+ border-bottom: 1px solid #c3c4c7;
1033
  padding-bottom: 15px;
1034
  display: inline-block;
1035
  margin: 0 0 15px 0;
1063
  padding: 15px;
1064
  left: 0;
1065
  right: 0;
1066
+ border-top: 1px solid #c3c4c7;
1067
  background: #f0f0f0;
1068
  text-align: center;
1069
  }
1194
  width: 16px;
1195
  margin: 7px 3px 0 0;
1196
  }
1197
+ .promo_slides > .promo_slide{
1198
+ display: none;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1199
  }
1200
+ .promo_slides > .promo_slide:first-child{
1201
+ display: block;
1202
  }
1203
+ .promo_btn{
1204
+ text-decoration: none;
1205
  }
1206
+ .twitter_btn.button{
1207
+ background: #1b95e0;
1208
+ color: #fff;
1209
+ border-color: transparent;
1210
  }
1211
+ .facebook_btn.button{
1212
+ background: #4080ff;
1213
+ color: #fff;
1214
+ border-color: transparent;
1215
  }
1216
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1217
 
1218
  /** Misc **/
1219
  .page_footer{
1222
  .save_notice{
1223
  margin-bottom: 40px !important;
1224
  }
 
 
 
1225
  .save_notice p a{
1226
  text-decoration: none;
1227
  }
1258
  margin-bottom: 0;
1259
  }
1260
 
1261
+ .button .dashicons {
1262
+ margin: 5px 5px 0 0;
1263
+ }
1264
+ .update-nag{
1265
+ margin-bottom: 20px;
1266
+ }
1267
  .hide_scrollbar{
1268
  overflow:hidden;
1269
  }
1318
  }
1319
  .sic_content header {
1320
  padding: 20px;
1321
+ border-bottom: 1px solid #c3c4c7;
1322
  }
1323
  .sic_content section {
1324
  overflow: auto;
1328
  .sic_content footer{
1329
  text-align: right;
1330
  padding: 20px;
1331
+ border-top: 1px solid #c3c4c7;
1332
  }
1333
  .sic_content h3 {
1334
  margin: 0;
1401
  /** SIE - Social icons - editor **/
1402
  .sie_editor{
1403
  padding: 20px 10px 10px 20px;
1404
+ border: 1px dashed #c3c4c7;
1405
  background: #fff;
1406
  }
1407
  .sie_toolbar{
1408
  padding: 20px;
1409
  background: #f7f7f7;
1410
+ border: 1px solid #c3c4c7;
1411
  margin-top: -1px;
1412
  }
1413
  .sie_selected li{
1440
  }
1441
 
1442
  @media screen and (max-width: 1200px) {
 
 
 
1443
  }
1444
 
1445
  @media screen and (max-width: 950px) {
1471
  .happy_box > div > *{
1472
  margin: 0 0 10px 0;
1473
  }
1474
+ .admin_links{
1475
+ display: none;
1476
+ }
1477
  }
admin/images/banners/announcer.png ADDED
Binary file
admin/images/banners/super-rss-reader.png ADDED
Binary file
admin/images/banners/ultimate-floating-widgets.png CHANGED
Binary file
admin/js/ipopup.js CHANGED
@@ -1,5 +1,5 @@
1
  function wpsr_ipopup_show( url, width = '640', height = '480' ){
2
- $popup = jQuery( '<div id="wpsr_ipopup_wrap"><section style="width:' + width + '; height:' + height + '"><iframe frameborder="0" src="' + url + '"></iframe><a href="#" class="wpsr_ipopup_close" onclick="wpsr_ipopup_close()" title="Close">X</a></section></div>' );
3
  wpsr_ipopup_close();
4
 
5
  jQuery( 'body' ).append( $popup );
1
  function wpsr_ipopup_show( url, width = '640', height = '480' ){
2
+ $popup = jQuery( '<div id="wpsr_ipopup_wrap"><section style="max-width:' + width + '; height:' + height + '"><iframe frameborder="0" src="' + url + '"></iframe><a href="#" class="wpsr_ipopup_close" onclick="wpsr_ipopup_close()" title="Close">X</a></section></div>' );
3
  wpsr_ipopup_close();
4
 
5
  jQuery( 'body' ).append( $popup );
admin/js/script.js CHANGED
@@ -50,6 +50,8 @@ jQuery(document).ready(function(){
50
 
51
  wpsr_init_image_selects();
52
 
 
 
53
  }
54
 
55
  var loc_generate_rules = function(){
@@ -550,7 +552,7 @@ jQuery(document).ready(function(){
550
  prev_id = $( this ).attr( 'data-prev-id' );
551
  qstring = 'action=wpsr_follow_icons_editor&template=' + cnt + '&cnt_id=' + cnt_id + '&prev_id=' + prev_id;
552
 
553
- wpsr_ipopup_show( wpsr.ajaxurl + '?' + qstring, '80%', '80%' );
554
 
555
  }
556
  });
@@ -583,11 +585,6 @@ jQuery(document).ready(function(){
583
  }
584
  feature_toggle();
585
  });
586
-
587
- $( document ).on( 'change', '.cfe_amt', function(){
588
- var $btn = $(this).closest('.cfe_form').find('.cfe_btn');
589
- $btn.attr('href', $btn.data('link') + $(this).val());
590
- });
591
 
592
  // V5
593
  $( document ).on( 'keyup', '.sip_filter', function(){
@@ -865,4 +862,29 @@ function wpsr_init_image_selects(){
865
  $li.attr( 'data-init', 'true' );
866
  }
867
  });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
868
  }
50
 
51
  wpsr_init_image_selects();
52
 
53
+ wpsr_promo_slide(1);
54
+
55
  }
56
 
57
  var loc_generate_rules = function(){
552
  prev_id = $( this ).attr( 'data-prev-id' );
553
  qstring = 'action=wpsr_follow_icons_editor&template=' + cnt + '&cnt_id=' + cnt_id + '&prev_id=' + prev_id;
554
 
555
+ wpsr_ipopup_show( wpsr.ajaxurl + '?' + qstring, '800px', '80%' );
556
 
557
  }
558
  });
585
  }
586
  feature_toggle();
587
  });
 
 
 
 
 
588
 
589
  // V5
590
  $( document ).on( 'keyup', '.sip_filter', function(){
862
  $li.attr( 'data-init', 'true' );
863
  }
864
  });
865
+ }
866
+
867
+ var promo_slide_index = 1;
868
+
869
+ function wpsr_next_promo_slide(n, event) {
870
+ event.preventDefault();
871
+ wpsr_promo_slide(promo_slide_index += n);
872
+ }
873
+
874
+ function wpsr_promo_slide(n) {
875
+ var slides = document.getElementsByClassName('promo_slide');
876
+ if(slides.length == 0){
877
+ return;
878
+ }
879
+ var i;
880
+ if (n > slides.length) {
881
+ promo_slide_index = 1
882
+ }
883
+ if (n < 1) {
884
+ promo_slide_index = slides.length
885
+ }
886
+ for (i = 0; i < slides.length; i++) {
887
+ slides[i].style.display = 'none';
888
+ }
889
+ slides[promo_slide_index - 1].style.display = 'block';
890
  }
admin/js/script_widgets.js CHANGED
@@ -36,7 +36,7 @@ jQuery(document).ready(function(){
36
  wtmpl_prev_id = $( this ).attr( 'data-wtmpl-prev-id' );
37
  qstring = 'action=wpsr_follow_icons_editor&template=' + wtmpl_cnt + '&cnt_id=' + wtmpl_cnt_id + '&prev_id=' + wtmpl_prev_id;
38
 
39
- wpsr_ipopup_show( wpsr_ppe_ajax + '?' + qstring, '80%', '80%' );
40
 
41
  }
42
  });
36
  wtmpl_prev_id = $( this ).attr( 'data-wtmpl-prev-id' );
37
  qstring = 'action=wpsr_follow_icons_editor&template=' + wtmpl_cnt + '&cnt_id=' + wtmpl_cnt_id + '&prev_id=' + wtmpl_prev_id;
38
 
39
+ wpsr_ipopup_show( wpsr_ppe_ajax + '?' + qstring, '800px', '80%' );
40
 
41
  }
42
  });
admin/pages/import-export.php CHANGED
@@ -43,18 +43,18 @@ class WPSR_Admin_Import_Export{
43
  $form->section_description( __( 'Import the already exported WP Socializer data using the field below. Please note that importing will <b>overwrite</b> all the existing buttons created and the settings.', 'wpsr' ) );
44
  $form->label( __( 'Import data', 'wpsr' ) );
45
  $form->field( 'textarea', array(
46
- 'name' => 'import_data',
47
- 'value' => '',
48
- 'helper' => __( 'Paste the exported data into the text box above.', 'wpsr' ),
49
- 'rows' => '3',
50
- 'cols' => '100'
51
  ));
52
  $form->build();
53
  $form->section_end();
54
 
55
  wp_nonce_field( 'wpsr_import_nonce' );
56
 
57
- echo '<p align="right"><input type="submit" class="import_form_submit button button-primary" value="' . __( 'Import', 'wpsr' ) . '" /></p>';
58
  echo '</form>';
59
 
60
  $form->section_start( __( 'Export', 'wpsr' ) );
@@ -64,7 +64,7 @@ class WPSR_Admin_Import_Export{
64
  'value' => WPSR_Import_Export::export(),
65
  'helper' => __( 'Copy the data above, save it and import it later', 'wpsr' ),
66
  'rows' => '3',
67
- 'cols' => '100',
68
  'custom' => 'onClick="this.select();"'
69
  ));
70
  $form->build();
43
  $form->section_description( __( 'Import the already exported WP Socializer data using the field below. Please note that importing will <b>overwrite</b> all the existing buttons created and the settings.', 'wpsr' ) );
44
  $form->label( __( 'Import data', 'wpsr' ) );
45
  $form->field( 'textarea', array(
46
+ 'name' => 'import_data',
47
+ 'value' => '',
48
+ 'helper' => __( 'Paste the exported data into the text box above.', 'wpsr' ),
49
+ 'rows' => '3',
50
+ 'class' => 'widefat'
51
  ));
52
  $form->build();
53
  $form->section_end();
54
 
55
  wp_nonce_field( 'wpsr_import_nonce' );
56
 
57
+ echo '<p align="center"><input type="submit" class="import_form_submit button button-primary" value="' . __( 'Import settings', 'wpsr' ) . '" /></p>';
58
  echo '</form>';
59
 
60
  $form->section_start( __( 'Export', 'wpsr' ) );
64
  'value' => WPSR_Import_Export::export(),
65
  'helper' => __( 'Copy the data above, save it and import it later', 'wpsr' ),
66
  'rows' => '3',
67
+ 'class' => 'widefat',
68
  'custom' => 'onClick="this.select();"'
69
  ));
70
  $form->build();
admin/pages/share-icons.php CHANGED
@@ -96,7 +96,7 @@ class WPSR_Admin_Share_Icons{
96
 
97
  $form = new WPSR_Form();
98
  $values = WPSR_Lists::set_defaults( $values, array(
99
- 'ft_status' => 'enable',
100
  'tmpl' => array()
101
  ));
102
 
96
 
97
  $form = new WPSR_Form();
98
  $values = WPSR_Lists::set_defaults( $values, array(
99
+ 'ft_status' => 'disable',
100
  'tmpl' => array()
101
  ));
102
 
admin/widgets.php CHANGED
@@ -117,7 +117,7 @@ class WPSR_Widget_Form_Fields{
117
  function footer(){
118
 
119
  echo '<footer>';
120
- echo '<span class="wpsr_version">WP Socializer v' . WPSR_VERSION . '</span> | <a href="https://wordpress.org/support/plugin/wp-socializer/reviews/?rate=5#new-post" target="_blank">Rate this plugin</a> | <a href="https://www.paypal.me/vaakash/6" target="_blank">Buy me a Coffee</a> | <a href="https://www.aakashweb.com/wordpress-plugins/ultimate-floating-widgets-pro/?utm_source=wp-socializer&utm_medium=widget&utm_campaign=ufw-pro" target="_blank">Add widgets to sticky popup</a>';
121
  echo '</footer>';
122
 
123
  }
117
  function footer(){
118
 
119
  echo '<footer>';
120
+ echo '<span class="wpsr_version">WP Socializer v' . WPSR_VERSION . '</span> | <a href="https://wordpress.org/support/plugin/wp-socializer/reviews/?rate=5#new-post" target="_blank">Rate this plugin</a>';
121
  echo '</footer>';
122
 
123
  }
core/lists.php CHANGED
@@ -648,7 +648,7 @@ class WPSR_Lists{
648
  'icon' => array('fa4'=> 'fa fa-xing', 'fa5' => 'fab fa-xing'),
649
  'link' => 'https://www.xing.com/app/user?op=share&url={url}',
650
  'options' => array(),
651
- 'features' => array( 'for_share' ),
652
  'colors' => array( '#006567' ),
653
  ),
654
 
648
  'icon' => array('fa4'=> 'fa fa-xing', 'fa5' => 'fab fa-xing'),
649
  'link' => 'https://www.xing.com/app/user?op=share&url={url}',
650
  'options' => array(),
651
+ 'features' => array( 'for_share', 'for_profile' ),
652
  'colors' => array( '#006567' ),
653
  ),
654
 
core/options.php CHANGED
@@ -33,7 +33,8 @@ class WPSR_Options{
33
  'zoom' => 'Zoom',
34
  'shrink' => 'Shrink',
35
  'float' => 'Float',
36
- 'sink' => 'Sink'
 
37
  ),
38
  'share_counter' => array(
39
  '' => 'No share count',
33
  'zoom' => 'Zoom',
34
  'shrink' => 'Shrink',
35
  'float' => 'Float',
36
+ 'sink' => 'Sink',
37
+ 'fade-dark' => 'Fade dark'
38
  ),
39
  'share_counter' => array(
40
  '' => 'No share count',
core/share-counter.php CHANGED
@@ -196,16 +196,22 @@ class WPSR_Share_Counter{
196
 
197
  }
198
 
199
- public static function placeholder( $url, $services ){
200
 
201
  $services = (array) $services;
202
-
 
203
  // Always get share count from ajax in if caching plugin is enabled
204
  if( ( defined( 'WP_CACHE' ) && WP_CACHE ) || !self::is_cached( $url, $services ) ){
205
- return '<span data-wpsrs="' . esc_attr( $url ) . '" data-wpsrs-svcs="' . join( ',', $services ) . '">0</span>';
 
206
  }else{
207
  $count = self::total_count( $url, $services );
208
- return '<span data-wpsrs-cached="true">' . $count[ 'formatted' ] . '</span>';
 
 
 
 
209
  }
210
 
211
  }
@@ -251,7 +257,7 @@ class WPSR_Share_Counter{
251
  $settings = WPSR_Lists::set_defaults( $settings, $default_values );
252
  $html = '';
253
 
254
- $total_holder = self::placeholder( $page_info[ 'url' ], $settings[ 'add_services' ] );
255
 
256
  $classes = array( 'wpsr-counter', 'wpsrc-sz-' . $settings[ 'size' ] );
257
 
@@ -261,7 +267,7 @@ class WPSR_Share_Counter{
261
  }
262
 
263
  $html .= '<div class="' . implode( ' ', $classes ) . '" ' . $style . '>';
264
- $html .= '<span class="scount">' . $total_holder . '</span>';
265
  $html .= '<small class="stext">' . $settings[ 'text' ] . '</small>';
266
  $html .= '</div>';
267
 
@@ -282,17 +288,14 @@ class WPSR_Share_Counter{
282
  return false;
283
  }
284
 
285
- $api = 'https://graph.facebook.com/?id=' . $url . '&fields=engagement&access_token=' . $access_token;
286
  $data = self::remote_request_json( $api );
287
 
288
  if( $data == false ){
289
  return false;
290
  }else{
291
- $reaction_count = isset( $data->engagement->reaction_count ) ? intval( $data->engagement->reaction_count ) : 0;
292
- $comment_count = isset( $data->engagement->comment_count ) ? intval( $data->engagement->comment_count ) : 0;
293
- $share_count = isset( $data->engagement->share_count ) ? intval( $data->engagement->share_count ) : 0;
294
- $sum = $reaction_count + $comment_count + $share_count;
295
- return $sum;
296
  }
297
 
298
  }
@@ -360,6 +363,8 @@ class WPSR_Share_Counter{
360
  echo '<div class="note">';
361
  echo '<ul>';
362
  echo '<li>' . __( 'Share count is supported only for sites: ', 'wpsr' ) . '<b>' . $services_text . '</b>' . '</li>';
 
 
363
  echo '<li>' . __( 'Share counts are cached for every page. You can review the cache configuration in the settings page if needed.', 'wpsr' ) . '</li>';
364
  if( empty( $gs[ 'facebook_app_id' ] ) || empty( $gs[ 'facebook_app_secret' ] ) ){
365
  echo '<li>' . __( '<b>Facebook API details are not set</b>: To display facebook like count, please fill in the facebook API information in the settings page.', 'wpsr' ) . '</li>';
196
 
197
  }
198
 
199
+ public static function placeholder( $url, $services, $class='ctext' ){
200
 
201
  $services = (array) $services;
202
+ $share_icon = '<i class="fa fa-share-alt" aria-hidden="true"></i>';
203
+
204
  // Always get share count from ajax in if caching plugin is enabled
205
  if( ( defined( 'WP_CACHE' ) && WP_CACHE ) || !self::is_cached( $url, $services ) ){
206
+ $value = ( $class == 'scount' ) ? $share_icon : '';
207
+ return '<span class="' . $class . '" data-wpsrs="' . esc_attr( $url ) . '" data-wpsrs-svcs="' . join( ',', $services ) . '">' . $value . '</span>';
208
  }else{
209
  $count = self::total_count( $url, $services );
210
+ $value = $count[ 'formatted' ];
211
+ if( $count[ 'full' ] == 0 ){
212
+ $value = ( $class == 'scount' ) ? $share_icon : '';
213
+ }
214
+ return '<span class="' . $class . '" data-wpsrs-cached="true">' . $value . '</span>';
215
  }
216
 
217
  }
257
  $settings = WPSR_Lists::set_defaults( $settings, $default_values );
258
  $html = '';
259
 
260
+ $total_holder = self::placeholder( $page_info[ 'url' ], $settings[ 'add_services' ], 'scount' );
261
 
262
  $classes = array( 'wpsr-counter', 'wpsrc-sz-' . $settings[ 'size' ] );
263
 
267
  }
268
 
269
  $html .= '<div class="' . implode( ' ', $classes ) . '" ' . $style . '>';
270
+ $html .= $total_holder;
271
  $html .= '<small class="stext">' . $settings[ 'text' ] . '</small>';
272
  $html .= '</div>';
273
 
288
  return false;
289
  }
290
 
291
+ $api = 'https://graph.facebook.com/v11.0/?id=' . $url . '&fields=og_object%7Bengagement%7D&access_token=' . $access_token;
292
  $data = self::remote_request_json( $api );
293
 
294
  if( $data == false ){
295
  return false;
296
  }else{
297
+ $count = isset( $data->og_object->engagement->count ) ? intval( $data->og_object->engagement->count ) : 0;
298
+ return $count;
 
 
 
299
  }
300
 
301
  }
363
  echo '<div class="note">';
364
  echo '<ul>';
365
  echo '<li>' . __( 'Share count is supported only for sites: ', 'wpsr' ) . '<b>' . $services_text . '</b>' . '</li>';
366
+ echo '<li>' . __( 'Share count will be <b>hidden</b> when it is 0', 'wpsr' ) . '</li>';
367
+ echo '<li>' . __( 'Facebook like count is displayed when it is more than 100.', 'wpsr' ) . ' <a href="https://developers.facebook.com/support/bugs/318897266426699/?comment_id=323684205948005" target="_blank">Read Facebook note.</a></li>';
368
  echo '<li>' . __( 'Share counts are cached for every page. You can review the cache configuration in the settings page if needed.', 'wpsr' ) . '</li>';
369
  if( empty( $gs[ 'facebook_app_id' ] ) || empty( $gs[ 'facebook_app_secret' ] ) ){
370
  echo '<li>' . __( '<b>Facebook API details are not set</b>: To display facebook like count, please fill in the facebook API information in the settings page.', 'wpsr' ) . '</li>';
core/templates/floating-sharebar.php CHANGED
@@ -113,8 +113,8 @@ class WPSR_Template_Floating_Sharebar{
113
 
114
  $count_tag = '';
115
  if( ( $o[ 'share_counter' ] == 'individual' || $o[ 'share_counter' ] == 'total-individual' ) && array_key_exists( $id, $counter_services) ){
116
- $count_holder = WPSR_Share_Counter::placeholder( $page_info[ 'url' ], $id );
117
- $count_tag = '<span class="ctext">' . $count_holder . '</span>';
118
  array_push( $classes, 'sr-' . $o[ 'sc_style' ] );
119
  if( $o[ 'sc_style' ] != 'count-1' ){
120
  array_push( $icon_classes, 'sr-text-in' );
113
 
114
  $count_tag = '';
115
  if( ( $o[ 'share_counter' ] == 'individual' || $o[ 'share_counter' ] == 'total-individual' ) && array_key_exists( $id, $counter_services) ){
116
+ $count_holder = WPSR_Share_Counter::placeholder( $page_info[ 'url' ], $id, 'ctext' );
117
+ $count_tag = $count_holder;
118
  array_push( $classes, 'sr-' . $o[ 'sc_style' ] );
119
  if( $o[ 'sc_style' ] != 'count-1' ){
120
  array_push( $icon_classes, 'sr-text-in' );
core/templates/share-icons.php CHANGED
@@ -17,7 +17,7 @@ class WPSR_Template_Share_Icons{
17
  public static function output(){
18
 
19
  $si_settings = WPSR_Lists::set_defaults( get_option( 'wpsr_social_icons_settings' ), array(
20
- 'ft_status' => 'enable',
21
  'tmpl' => array()
22
  ));
23
  $si_templates = $si_settings[ 'tmpl' ];
@@ -148,8 +148,8 @@ class WPSR_Template_Share_Icons{
148
 
149
  $count_tag = '';
150
  if( ( $tmpl[ 'share_counter' ] == 'individual' || $tmpl[ 'share_counter' ] == 'total-individual' ) && array_key_exists( $id, $counter_services) ){
151
- $count_holder = WPSR_Share_Counter::placeholder( $page_info[ 'url' ], $id );
152
- $count_tag = '<span class="ctext">' . $count_holder . '</span>';
153
  array_push( $classes, 'sr-' . $tmpl[ 'sc_style' ] );
154
  if( $tmpl[ 'sc_style' ] != 'count-1' ){
155
  array_push( $icon_classes, 'sr-text-in' );
17
  public static function output(){
18
 
19
  $si_settings = WPSR_Lists::set_defaults( get_option( 'wpsr_social_icons_settings' ), array(
20
+ 'ft_status' => 'disable',
21
  'tmpl' => array()
22
  ));
23
  $si_templates = $si_settings[ 'tmpl' ];
148
 
149
  $count_tag = '';
150
  if( ( $tmpl[ 'share_counter' ] == 'individual' || $tmpl[ 'share_counter' ] == 'total-individual' ) && array_key_exists( $id, $counter_services) ){
151
+ $count_holder = WPSR_Share_Counter::placeholder( $page_info[ 'url' ], $id, 'ctext' );
152
+ $count_tag = $count_holder;
153
  array_push( $classes, 'sr-' . $tmpl[ 'sc_style' ] );
154
  if( $tmpl[ 'sc_style' ] != 'count-1' ){
155
  array_push( $icon_classes, 'sr-text-in' );
public/css/wp-socializer.css CHANGED
@@ -140,12 +140,17 @@
140
  display: flex;
141
  flex-direction: column;
142
  justify-content: center;
 
143
  }
144
  .wpsr-counter .scount{
145
  font-size: 2em;
146
  font-weight: bold;
147
  margin-bottom: 0.25em;
148
  }
 
 
 
 
149
  .wpsr-counter .stext{
150
  display: block;
151
  line-height: 1em;
@@ -411,6 +416,9 @@
411
  .sr-custom-html {
412
  line-height: 1;
413
  }
 
 
 
414
 
415
  @keyframes wpsr-fadein {
416
  0% {opacity: 0;}
140
  display: flex;
141
  flex-direction: column;
142
  justify-content: center;
143
+ flex-shrink: 0;
144
  }
145
  .wpsr-counter .scount{
146
  font-size: 2em;
147
  font-weight: bold;
148
  margin-bottom: 0.25em;
149
  }
150
+ .wpsr-counter .scount .fa {
151
+ font-size: .7em;
152
+ opacity: 0.7;
153
+ }
154
  .wpsr-counter .stext{
155
  display: block;
156
  line-height: 1em;
416
  .sr-custom-html {
417
  line-height: 1;
418
  }
419
+ .socializer .ctext:empty{
420
+ display: none !important;
421
+ }
422
 
423
  @keyframes wpsr-fadein {
424
  0% {opacity: 0;}
public/css/wp-socializer.min.css CHANGED
@@ -1 +1 @@
1
- .wp-socializer:after{clear:both;content:'';display:block}.wp-socializer.wpsr-share-icons{margin:1em 0}.wpsr-share-icons .wpsr-si-inner{display:flex}.wpsr-share-icons .wpsr-si-inner > *:first-child{margin-left:0}.wpsr-share-icons .wpsr-si-inner > *:last-child{margin-right:0}.wpsr-share-icons .socializer{margin:0 1em}.wpsr-share-icons.wpsr-flex-center{text-align:center}.wpsr-share-icons.wpsr-flex-center .wpsr-si-inner{justify-content:center}.wpsr-sharebar{transition:all 0.5s;box-sizing:border-box;z-index:99999}.wpsr-sharebar .socializer{line-height:0}.wpsr-sb-inner:after{content:'';display:block;clear:both}.wpsr-sb-vl{z-index:99999;max-width:82px;top:50%;transform:translateY(-50%);position:fixed}.wpsr-sb-vl .wpsr-counter{margin-bottom:1.5em}.wpsr-sb-vl-static{position:absolute}.wpsr-sb-hl{bottom:0;left:0!important;right:0!important;margin:0!important;position:fixed;background:#fff;box-shadow:0 -2px 4px -2px rgba(0,0,0,0.5)}.wpsr-sb-hl .wpsr-sb-inner{display:flex}.wpsr-sb-hl .wpsr-counter{padding:0 1em}.wpsr-sb-simple{padding:10px;text-align:center;border-radius:10px;box-shadow:0 0 5px 0 rgba(0,0,0,0.2);border:1px solid transparent}.wpsr-sb-simple.wpsr-sb-hl{border-radius:0}.wpsr-sharebar:hover .wpsr-sb-close{display:block}.wpsr-sb-close{position:absolute;cursor:pointer;display:none;padding:10px}.wpsr-sb-close .wpsr-bar-icon{opacity:0.2}.wpsr-sb-close:hover .wpsr-bar-icon{opacity:0.8}.wpsr-sb-vl .wpsr-sb-close{bottom:0;transform:translate(-50%,100%);left:50%}.wpsr-sb-hl .wpsr-sb-close{display:none}.wpsr-sharebar.wpsr-closed{width:48px;height:48px;border-radius:50%;background:none!important;border:none!important;box-shadow:none!important}.wpsr-sharebar.wpsr-closed .wpsr-sb-inner{display:none}.wpsr-sharebar.wpsr-closed .wpsr-sb-close{top:0;margin-top:0;transform:none;right:0;left:0;bottom:0;line-height:48px;display:block;padding:0}.wpsr-counter{line-height:2em;text-align:center;font-size:10px;color:#000;display:flex;flex-direction:column;justify-content:center}.wpsr-counter .scount{font-size:2em;font-weight:bold;margin-bottom:0.25em}.wpsr-counter .stext{display:block;line-height:1em;color:inherit;text-transform:uppercase;font-size:1em;margin-top:-0.15em;opacity:0.5}.wpsr-counter.wpsrc-sz-40px{font-size:12.5px}.wpsr-counter.wpsrc-sz-48px{font-size:15px}.wpsr-counter.wpsrc-sz-64px{font-size:20px}.wpsr-sharebar .wpsr-counter{font-size:8.5px}.wpsr-sharebar .wpsr-counter.wpsrc-sz-40px{font-size:9.5px}.wpsr-sharebar .wpsr-counter.wpsrc-sz-48px{font-size:11.5px}.wpsr-sharebar .wpsr-counter.wpsrc-sz-64px{font-size:15.2px}.socializer span.sr-cicon a{background:none;border:none}.wpsr-follow-icons{position:fixed;z-index:999999;line-height:0}.sr-fb-tl{top:20px;left:20px}.sr-fb-tm{top:20px;left:50%;transform:translateX( -50% )}.sr-fb-tr{top:20px;right:20px}.sr-fb-rm{top:50%;right:20px;transform:translateY( -50% )}.sr-fb-br{bottom:20px;right:20px}.sr-fb-bm{bottom:20px;left:50%;transform:translateX( -50% )}.sr-fb-bl{bottom:20px;left:20px}.sr-fb-lm{left:20px;top:50%;transform:translateY( -50% )}.wpsr-follow-icons div.sr-fb-title{font-size:0.8em;margin:0 0 0.8em 0}.wpsr-follow-icons.sr-fb-hl .sr-fb-title{position:absolute;bottom:0;transform:translateX(-100%);left:-1em;top:50%;margin:0}.wpsr-follow-icons.sr-fb-vl{text-align:center;line-height:1.5q}.wpsr-follow-icons.sr-fb-vl .sr-fb-title{width:5em;text-align:center;line-height:1.5}.wpsr-fb-close{position:absolute;right:0;cursor:pointer;display:none;line-height:0;padding:1em;opacity:0.2}.wpsr-fb-close:hover{opacity:0.8}.wpsr-follow-icons:hover .wpsr-fb-close{display:block}.wpsr-closed.wpsr-follow-icons .sr-fb-title{display:none}.wpsr-closed.wpsr-follow-icons .sr-followbar{display:none}.wpsr-closed.wpsr-follow-icons .wpsr-fb-close{display:block}.sr-fb-bm .wpsr-fb-close,.sr-fb-bl .wpsr-fb-close{right:0;transform:translate(100%,-100%);padding-bottom:0}.sr-fb-vl.sr-fb-br .wpsr-fb-close{left:0;bottom:0;transform:translateX(-100%);padding-bottom:0}.sr-fb-hl.sr-fb-br .wpsr-fb-close{top:0;right:0;transform:translateY(-100%)}.sr-fb-hl.sr-fb-tr .wpsr-fb-close{padding-right:0}.wpsr-closed.sr-fb-tl .wpsr-fb-close,.wpsr-closed.sr-fb-lm .wpsr-fb-close{right:-24px;transform:translateY(0%)}.wpsr-text-sb{background:#fff;margin:0;padding:0 10px;border-radius:5px;display:inline-block;position:absolute;transform:translate( -50%,-150% );margin-top:-10px;transition:margin-top 0.5s;display:none;animation:wpsr-fadeout 1s;box-shadow:0 3px 6px -3px #000;background-image:linear-gradient(rgba(0,0,0,0.1),rgba(0,0,0,0));z-index:999}.wpsr-text-sb:before{position:absolute;content:'';display:block;background-color:inherit;width:10px;height:10px;bottom:-5px;transform:rotate(45deg) translateX(-50%);left:50%;z-index:-1;transform-origin:left;box-shadow:2px 2px 4px -2px #000}.wpsr-text-sb li{list-style:none;float:left;line-height:0}.wpsr-text-sb li a{text-align:center;display:inline-block}.wpsr-text-sb li a:hover{background-image:linear-gradient(rgba(0,0,0,0.4),rgba(0,0,0,0))}.wpsr-tsb-32px a{width:32px;height:32px;line-height:32px;font-size:16px}.wpsr-tsb-40px a{width:40px;height:40px;line-height:40px;font-size:20px}.wpsr-tsb-48px a{width:48px;height:48px;line-height:48px;font-size:24px}.wpsr-tsb-64px a{width:64px;height:64px;line-height:64px;font-size:32px}.wpsr-text-sb.wpsr-tsb-active{margin-top:0;transition:margin-top 0.5s;display:block;animation:wpsr-fadein 1s}.wpsr-bar-icon{line-height:0;background:#000;display:inline-block;padding:3px;border-radius:50%;vertical-align:middle;fill:#fff}.wpsr-bar-icon .i-open{display:none}.wpsr-closed .wpsr-bar-icon .i-close{display:none}.wpsr-closed .wpsr-bar-icon .i-open{display:block}.wpsr-closed .wpsr-bar-icon{padding:5px}.wpsr-clearfix:after{display:block;clear:both;content:''}.wpsr-hide{display:none}.wpsr-close{background:red}.sr-custom-html{line-height:1}@keyframes wpsr-fadein{0%{opacity:0}100%{opacity:1}}@keyframes wpsr-fadeout{0%{opacity:1}100%{opacity:0}}
1
+ .wp-socializer:after{clear:both;content:'';display:block}.wp-socializer.wpsr-share-icons{margin:1em 0}.wpsr-share-icons .wpsr-si-inner{display:flex}.wpsr-share-icons .wpsr-si-inner > *:first-child{margin-left:0}.wpsr-share-icons .wpsr-si-inner > *:last-child{margin-right:0}.wpsr-share-icons .socializer{margin:0 1em}.wpsr-share-icons.wpsr-flex-center{text-align:center}.wpsr-share-icons.wpsr-flex-center .wpsr-si-inner{justify-content:center}.wpsr-sharebar{transition:all 0.5s;box-sizing:border-box;z-index:99999}.wpsr-sharebar .socializer{line-height:0}.wpsr-sb-inner:after{content:'';display:block;clear:both}.wpsr-sb-vl{z-index:99999;max-width:82px;top:50%;transform:translateY(-50%);position:fixed}.wpsr-sb-vl .wpsr-counter{margin-bottom:1.5em}.wpsr-sb-vl-static{position:absolute}.wpsr-sb-hl{bottom:0;left:0!important;right:0!important;margin:0!important;position:fixed;background:#fff;box-shadow:0 -2px 4px -2px rgba(0,0,0,0.5)}.wpsr-sb-hl .wpsr-sb-inner{display:flex}.wpsr-sb-hl .wpsr-counter{padding:0 1em}.wpsr-sb-simple{padding:10px;text-align:center;border-radius:10px;box-shadow:0 0 5px 0 rgba(0,0,0,0.2);border:1px solid transparent}.wpsr-sb-simple.wpsr-sb-hl{border-radius:0}.wpsr-sharebar:hover .wpsr-sb-close{display:block}.wpsr-sb-close{position:absolute;cursor:pointer;display:none;padding:10px}.wpsr-sb-close .wpsr-bar-icon{opacity:0.2}.wpsr-sb-close:hover .wpsr-bar-icon{opacity:0.8}.wpsr-sb-vl .wpsr-sb-close{bottom:0;transform:translate(-50%,100%);left:50%}.wpsr-sb-hl .wpsr-sb-close{display:none}.wpsr-sharebar.wpsr-closed{width:48px;height:48px;border-radius:50%;background:none!important;border:none!important;box-shadow:none!important}.wpsr-sharebar.wpsr-closed .wpsr-sb-inner{display:none}.wpsr-sharebar.wpsr-closed .wpsr-sb-close{top:0;margin-top:0;transform:none;right:0;left:0;bottom:0;line-height:48px;display:block;padding:0}.wpsr-counter{line-height:2em;text-align:center;font-size:10px;color:#000;display:flex;flex-direction:column;justify-content:center;flex-shrink:0}.wpsr-counter .scount{font-size:2em;font-weight:bold;margin-bottom:0.25em}.wpsr-counter .scount .fa{font-size:.7em;opacity:0.7}.wpsr-counter .stext{display:block;line-height:1em;color:inherit;text-transform:uppercase;font-size:1em;margin-top:-0.15em;opacity:0.5}.wpsr-counter.wpsrc-sz-40px{font-size:12.5px}.wpsr-counter.wpsrc-sz-48px{font-size:15px}.wpsr-counter.wpsrc-sz-64px{font-size:20px}.wpsr-sharebar .wpsr-counter{font-size:8.5px}.wpsr-sharebar .wpsr-counter.wpsrc-sz-40px{font-size:9.5px}.wpsr-sharebar .wpsr-counter.wpsrc-sz-48px{font-size:11.5px}.wpsr-sharebar .wpsr-counter.wpsrc-sz-64px{font-size:15.2px}.socializer span.sr-cicon a{background:none;border:none}.wpsr-follow-icons{position:fixed;z-index:999999;line-height:0}.sr-fb-tl{top:20px;left:20px}.sr-fb-tm{top:20px;left:50%;transform:translateX( -50% )}.sr-fb-tr{top:20px;right:20px}.sr-fb-rm{top:50%;right:20px;transform:translateY( -50% )}.sr-fb-br{bottom:20px;right:20px}.sr-fb-bm{bottom:20px;left:50%;transform:translateX( -50% )}.sr-fb-bl{bottom:20px;left:20px}.sr-fb-lm{left:20px;top:50%;transform:translateY( -50% )}.wpsr-follow-icons div.sr-fb-title{font-size:0.8em;margin:0 0 0.8em 0}.wpsr-follow-icons.sr-fb-hl .sr-fb-title{position:absolute;bottom:0;transform:translateX(-100%);left:-1em;top:50%;margin:0}.wpsr-follow-icons.sr-fb-vl{text-align:center;line-height:1.5q}.wpsr-follow-icons.sr-fb-vl .sr-fb-title{width:5em;text-align:center;line-height:1.5}.wpsr-fb-close{position:absolute;right:0;cursor:pointer;display:none;line-height:0;padding:1em;opacity:0.2}.wpsr-fb-close:hover{opacity:0.8}.wpsr-follow-icons:hover .wpsr-fb-close{display:block}.wpsr-closed.wpsr-follow-icons .sr-fb-title{display:none}.wpsr-closed.wpsr-follow-icons .sr-followbar{display:none}.wpsr-closed.wpsr-follow-icons .wpsr-fb-close{display:block}.sr-fb-bm .wpsr-fb-close,.sr-fb-bl .wpsr-fb-close{right:0;transform:translate(100%,-100%);padding-bottom:0}.sr-fb-vl.sr-fb-br .wpsr-fb-close{left:0;bottom:0;transform:translateX(-100%);padding-bottom:0}.sr-fb-hl.sr-fb-br .wpsr-fb-close{top:0;right:0;transform:translateY(-100%)}.sr-fb-hl.sr-fb-tr .wpsr-fb-close{padding-right:0}.wpsr-closed.sr-fb-tl .wpsr-fb-close,.wpsr-closed.sr-fb-lm .wpsr-fb-close{right:-24px;transform:translateY(0%)}.wpsr-text-sb{background:#fff;margin:0;padding:0 10px;border-radius:5px;display:inline-block;position:absolute;transform:translate( -50%,-150% );margin-top:-10px;transition:margin-top 0.5s;display:none;animation:wpsr-fadeout 1s;box-shadow:0 3px 6px -3px #000;background-image:linear-gradient(rgba(0,0,0,0.1),rgba(0,0,0,0));z-index:999}.wpsr-text-sb:before{position:absolute;content:'';display:block;background-color:inherit;width:10px;height:10px;bottom:-5px;transform:rotate(45deg) translateX(-50%);left:50%;z-index:-1;transform-origin:left;box-shadow:2px 2px 4px -2px #000}.wpsr-text-sb li{list-style:none;float:left;line-height:0}.wpsr-text-sb li a{text-align:center;display:inline-block}.wpsr-text-sb li a:hover{background-image:linear-gradient(rgba(0,0,0,0.4),rgba(0,0,0,0))}.wpsr-tsb-32px a{width:32px;height:32px;line-height:32px;font-size:16px}.wpsr-tsb-40px a{width:40px;height:40px;line-height:40px;font-size:20px}.wpsr-tsb-48px a{width:48px;height:48px;line-height:48px;font-size:24px}.wpsr-tsb-64px a{width:64px;height:64px;line-height:64px;font-size:32px}.wpsr-text-sb.wpsr-tsb-active{margin-top:0;transition:margin-top 0.5s;display:block;animation:wpsr-fadein 1s}.wpsr-bar-icon{line-height:0;background:#000;display:inline-block;padding:3px;border-radius:50%;vertical-align:middle;fill:#fff}.wpsr-bar-icon .i-open{display:none}.wpsr-closed .wpsr-bar-icon .i-close{display:none}.wpsr-closed .wpsr-bar-icon .i-open{display:block}.wpsr-closed .wpsr-bar-icon{padding:5px}.wpsr-clearfix:after{display:block;clear:both;content:''}.wpsr-hide{display:none}.wpsr-close{background:red}.sr-custom-html{line-height:1}.socializer .ctext:empty{display:none!important}@keyframes wpsr-fadein{0%{opacity:0}100%{opacity:1}}@keyframes wpsr-fadeout{0%{opacity:1}100%{opacity:0}}
public/css/wpsr.min.css CHANGED
@@ -1,6 +1,6 @@
1
- .wp-socializer:after{clear:both;content:'';display:block}.wp-socializer.wpsr-share-icons{margin:1em 0}.wpsr-share-icons .wpsr-si-inner{display:flex}.wpsr-share-icons .wpsr-si-inner > *:first-child{margin-left:0}.wpsr-share-icons .wpsr-si-inner > *:last-child{margin-right:0}.wpsr-share-icons .socializer{margin:0 1em}.wpsr-share-icons.wpsr-flex-center{text-align:center}.wpsr-share-icons.wpsr-flex-center .wpsr-si-inner{justify-content:center}.wpsr-sharebar{transition:all 0.5s;box-sizing:border-box;z-index:99999}.wpsr-sharebar .socializer{line-height:0}.wpsr-sb-inner:after{content:'';display:block;clear:both}.wpsr-sb-vl{z-index:99999;max-width:82px;top:50%;transform:translateY(-50%);position:fixed}.wpsr-sb-vl .wpsr-counter{margin-bottom:1.5em}.wpsr-sb-vl-static{position:absolute}.wpsr-sb-hl{bottom:0;left:0!important;right:0!important;margin:0!important;position:fixed;background:#fff;box-shadow:0 -2px 4px -2px rgba(0,0,0,0.5)}.wpsr-sb-hl .wpsr-sb-inner{display:flex}.wpsr-sb-hl .wpsr-counter{padding:0 1em}.wpsr-sb-simple{padding:10px;text-align:center;border-radius:10px;box-shadow:0 0 5px 0 rgba(0,0,0,0.2);border:1px solid transparent}.wpsr-sb-simple.wpsr-sb-hl{border-radius:0}.wpsr-sharebar:hover .wpsr-sb-close{display:block}.wpsr-sb-close{position:absolute;cursor:pointer;display:none;padding:10px}.wpsr-sb-close .wpsr-bar-icon{opacity:0.2}.wpsr-sb-close:hover .wpsr-bar-icon{opacity:0.8}.wpsr-sb-vl .wpsr-sb-close{bottom:0;transform:translate(-50%,100%);left:50%}.wpsr-sb-hl .wpsr-sb-close{display:none}.wpsr-sharebar.wpsr-closed{width:48px;height:48px;border-radius:50%;background:none!important;border:none!important;box-shadow:none!important}.wpsr-sharebar.wpsr-closed .wpsr-sb-inner{display:none}.wpsr-sharebar.wpsr-closed .wpsr-sb-close{top:0;margin-top:0;transform:none;right:0;left:0;bottom:0;line-height:48px;display:block;padding:0}.wpsr-counter{line-height:2em;text-align:center;font-size:10px;color:#000;display:flex;flex-direction:column;justify-content:center}.wpsr-counter .scount{font-size:2em;font-weight:bold;margin-bottom:0.25em}.wpsr-counter .stext{display:block;line-height:1em;color:inherit;text-transform:uppercase;font-size:1em;margin-top:-0.15em;opacity:0.5}.wpsr-counter.wpsrc-sz-40px{font-size:12.5px}.wpsr-counter.wpsrc-sz-48px{font-size:15px}.wpsr-counter.wpsrc-sz-64px{font-size:20px}.wpsr-sharebar .wpsr-counter{font-size:8.5px}.wpsr-sharebar .wpsr-counter.wpsrc-sz-40px{font-size:9.5px}.wpsr-sharebar .wpsr-counter.wpsrc-sz-48px{font-size:11.5px}.wpsr-sharebar .wpsr-counter.wpsrc-sz-64px{font-size:15.2px}.socializer span.sr-cicon a{background:none;border:none}.wpsr-follow-icons{position:fixed;z-index:999999;line-height:0}.sr-fb-tl{top:20px;left:20px}.sr-fb-tm{top:20px;left:50%;transform:translateX( -50% )}.sr-fb-tr{top:20px;right:20px}.sr-fb-rm{top:50%;right:20px;transform:translateY( -50% )}.sr-fb-br{bottom:20px;right:20px}.sr-fb-bm{bottom:20px;left:50%;transform:translateX( -50% )}.sr-fb-bl{bottom:20px;left:20px}.sr-fb-lm{left:20px;top:50%;transform:translateY( -50% )}.wpsr-follow-icons div.sr-fb-title{font-size:0.8em;margin:0 0 0.8em 0}.wpsr-follow-icons.sr-fb-hl .sr-fb-title{position:absolute;bottom:0;transform:translateX(-100%);left:-1em;top:50%;margin:0}.wpsr-follow-icons.sr-fb-vl{text-align:center;line-height:1.5q}.wpsr-follow-icons.sr-fb-vl .sr-fb-title{width:5em;text-align:center;line-height:1.5}.wpsr-fb-close{position:absolute;right:0;cursor:pointer;display:none;line-height:0;padding:1em;opacity:0.2}.wpsr-fb-close:hover{opacity:0.8}.wpsr-follow-icons:hover .wpsr-fb-close{display:block}.wpsr-closed.wpsr-follow-icons .sr-fb-title{display:none}.wpsr-closed.wpsr-follow-icons .sr-followbar{display:none}.wpsr-closed.wpsr-follow-icons .wpsr-fb-close{display:block}.sr-fb-bm .wpsr-fb-close,.sr-fb-bl .wpsr-fb-close{right:0;transform:translate(100%,-100%);padding-bottom:0}.sr-fb-vl.sr-fb-br .wpsr-fb-close{left:0;bottom:0;transform:translateX(-100%);padding-bottom:0}.sr-fb-hl.sr-fb-br .wpsr-fb-close{top:0;right:0;transform:translateY(-100%)}.sr-fb-hl.sr-fb-tr .wpsr-fb-close{padding-right:0}.wpsr-closed.sr-fb-tl .wpsr-fb-close,.wpsr-closed.sr-fb-lm .wpsr-fb-close{right:-24px;transform:translateY(0%)}.wpsr-text-sb{background:#fff;margin:0;padding:0 10px;border-radius:5px;display:inline-block;position:absolute;transform:translate( -50%,-150% );margin-top:-10px;transition:margin-top 0.5s;display:none;animation:wpsr-fadeout 1s;box-shadow:0 3px 6px -3px #000;background-image:linear-gradient(rgba(0,0,0,0.1),rgba(0,0,0,0));z-index:999}.wpsr-text-sb:before{position:absolute;content:'';display:block;background-color:inherit;width:10px;height:10px;bottom:-5px;transform:rotate(45deg) translateX(-50%);left:50%;z-index:-1;transform-origin:left;box-shadow:2px 2px 4px -2px #000}.wpsr-text-sb li{list-style:none;float:left;line-height:0}.wpsr-text-sb li a{text-align:center;display:inline-block}.wpsr-text-sb li a:hover{background-image:linear-gradient(rgba(0,0,0,0.4),rgba(0,0,0,0))}.wpsr-tsb-32px a{width:32px;height:32px;line-height:32px;font-size:16px}.wpsr-tsb-40px a{width:40px;height:40px;line-height:40px;font-size:20px}.wpsr-tsb-48px a{width:48px;height:48px;line-height:48px;font-size:24px}.wpsr-tsb-64px a{width:64px;height:64px;line-height:64px;font-size:32px}.wpsr-text-sb.wpsr-tsb-active{margin-top:0;transition:margin-top 0.5s;display:block;animation:wpsr-fadein 1s}.wpsr-bar-icon{line-height:0;background:#000;display:inline-block;padding:3px;border-radius:50%;vertical-align:middle;fill:#fff}.wpsr-bar-icon .i-open{display:none}.wpsr-closed .wpsr-bar-icon .i-close{display:none}.wpsr-closed .wpsr-bar-icon .i-open{display:block}.wpsr-closed .wpsr-bar-icon{padding:5px}.wpsr-clearfix:after{display:block;clear:both;content:''}.wpsr-hide{display:none}.wpsr-close{background:red}.sr-custom-html{line-height:1}@keyframes wpsr-fadein{0%{opacity:0}100%{opacity:1}}@keyframes wpsr-fadeout{0%{opacity:1}100%{opacity:0}}
2
  /*!
3
  * Socializer - CSS library for social media buttons
4
  * Copyright (c) 2021 Aakash Chakravarthy - www.aakashweb.com
5
  * MIT license
6
- */.socializer{padding:0;margin:0;display:inline-block}.socializer>*{float:left;list-style:none;padding:0;margin:0;display:inline-block;position:relative}.socializer a{font-family:sans-serif!important;display:inline-block;border:0;text-align:center;text-decoration:none;width:16px;height:16px;line-height:18px;font-size:8px;border-style:solid;box-sizing:content-box;transition:all .5s;-webkit-transition:all .2s;transition-timing-function:ease-out;-webkit-transition-timing-function:ease-out}.socializer a>*{display:inline-block;vertical-align:middle;padding:0;margin:0}.socializer:after{content:'';clear:both;display:block}.sr-32px{min-height:32px}.sr-32px a{width:32px;height:32px;line-height:32px;font-size:16px}.sr-32px.sr-font-sm a{font-size:10.6666666667px}.sr-32px.sr-font-lg a{font-size:21.3333333333px}.sr-40px{min-height:40px}.sr-40px a{width:40px;height:40px;line-height:40px;font-size:20px}.sr-40px.sr-font-sm a{font-size:13.3333333333px}.sr-40px.sr-font-lg a{font-size:26.6666666667px}.sr-48px{min-height:48px}.sr-48px a{width:48px;height:48px;line-height:48px;font-size:24px}.sr-48px.sr-font-sm a{font-size:16px}.sr-48px.sr-font-lg a{font-size:32px}.sr-64px{min-height:64px}.sr-64px a{width:64px;height:64px;line-height:64px;font-size:32px}.sr-64px.sr-font-sm a{font-size:21.3333333333px}.sr-64px.sr-font-lg a{font-size:42.6666666667px}.socializer .sr-addtofavorites a,.socializer .sr-addtofavorites a:visited{color:#f9a600;border-color:#f9a600;background-color:#f9a600}.socializer .sr-behance a,.socializer .sr-behance a:visited{color:#1769ff;border-color:#1769ff;background-color:#1769ff}.socializer .sr-bitbucket a,.socializer .sr-bitbucket a:visited{color:#205081;border-color:#205081;background-color:#205081}.socializer .sr-blogger a,.socializer .sr-blogger a:visited{color:#ff6501;border-color:#ff6501;background-color:#ff6501}.socializer .sr-codepen a,.socializer .sr-codepen a:visited{color:#000;border-color:#000;background-color:#000}.socializer .sr-comments a,.socializer .sr-comments a:visited{color:#333;border-color:#333;background-color:#333}.socializer .sr-delicious a,.socializer .sr-delicious a:visited{color:#3274d1;border-color:#3274d1;background-color:#3274d1}.socializer .sr-deviantart a,.socializer .sr-deviantart a:visited{color:#475c4d;border-color:#475c4d;background-color:#475c4d}.socializer .sr-digg a,.socializer .sr-digg a:visited{color:#000;border-color:#000;background-color:#000}.socializer .sr-discord a,.socializer .sr-discord a:visited{color:#7289da;border-color:#7289da;background-color:#7289da}.socializer .sr-dribbble a,.socializer .sr-dribbble a:visited{color:#ea4c89;border-color:#ea4c89;background-color:#ea4c89}.socializer .sr-email a,.socializer .sr-email a:visited{color:#000;border-color:#000;background-color:#000}.socializer .sr-etsy a,.socializer .sr-etsy a:visited{color:#f1641e;border-color:#f1641e;background-color:#f1641e}.socializer .sr-facebook a,.socializer .sr-facebook a:visited{color:#1977f3;border-color:#1977f3;background-color:#1977f3}.socializer .sr-fbmessenger a,.socializer .sr-fbmessenger a:visited{color:#2998ff;border-color:#2998ff;background-color:#2998ff}.socializer .sr-flickr a,.socializer .sr-flickr a:visited{color:#1c9be9;border-color:#1c9be9;background-color:#1c9be9}.socializer .sr-github a,.socializer .sr-github a:visited{color:#333;border-color:#333;background-color:#333}.socializer .sr-google a,.socializer .sr-google a:visited{color:#3a7cec;border-color:#3a7cec;background-color:#3a7cec}.socializer .sr-googleplus a,.socializer .sr-googleplus a:visited{color:#db483b;border-color:#db483b;background-color:#db483b}.socializer .sr-hackernews a,.socializer .sr-hackernews a:visited{color:#ff6500;border-color:#ff6500;background-color:#ff6500}.socializer .sr-houzz a,.socializer .sr-houzz a:visited{color:#4dbc15;border-color:#4dbc15;background-color:#4dbc15}.socializer .sr-instagram a,.socializer .sr-instagram a:visited{color:#e23367;border-color:#e23367;background-color:#e23367}.socializer .sr-line a,.socializer .sr-line a:visited{color:#00c300;border-color:#00c300;background-color:#00c300}.socializer .sr-linkedin a,.socializer .sr-linkedin a:visited{color:#0274b3;border-color:#0274b3;background-color:#0274b3}.socializer .sr-medium a,.socializer .sr-medium a:visited{color:#02b875;border-color:#02b875;background-color:#02b875}.socializer .sr-mix a,.socializer .sr-mix a:visited{color:#ff8226;border-color:#ff8226;background-color:#ff8226}.socializer .sr-odnoklassniki a,.socializer .sr-odnoklassniki a:visited{color:#f2720c;border-color:#f2720c;background-color:#f2720c}.socializer .sr-patreon a,.socializer .sr-patreon a:visited{color:#e85b46;border-color:#e85b46;background-color:#e85b46}.socializer .sr-paypal a,.socializer .sr-paypal a:visited{color:#0070ba;border-color:#0070ba;background-color:#0070ba}.socializer .sr-pdf a,.socializer .sr-pdf a:visited{color:#e61b2e;border-color:#e61b2e;background-color:#e61b2e}.socializer .sr-phone a,.socializer .sr-phone a:visited{color:#1a73e8;border-color:#1a73e8;background-color:#1a73e8}.socializer .sr-pinterest a,.socializer .sr-pinterest a:visited{color:#cb2027;border-color:#cb2027;background-color:#cb2027}.socializer .sr-pocket a,.socializer .sr-pocket a:visited{color:#ef4056;border-color:#ef4056;background-color:#ef4056}.socializer .sr-print a,.socializer .sr-print a:visited{color:#6d9f00;border-color:#6d9f00;background-color:#6d9f00}.socializer .sr-reddit a,.socializer .sr-reddit a:visited{color:#ff5600;border-color:#ff5600;background-color:#ff5600}.socializer .sr-renren a,.socializer .sr-renren a:visited{color:#005eac;border-color:#005eac;background-color:#005eac}.socializer .sr-rss a,.socializer .sr-rss a:visited{color:#ff7b0a;border-color:#ff7b0a;background-color:#ff7b0a}.socializer .sr-shortlink a,.socializer .sr-shortlink a:visited{color:#333;border-color:#333;background-color:#333}.socializer .sr-skype a,.socializer .sr-skype a:visited{color:#00aff0;border-color:#00aff0;background-color:#00aff0}.socializer .sr-snapchat a,.socializer .sr-snapchat a:visited{color:#fffc00;border-color:#fffc00;background-color:#fffc00}.socializer .sr-soundcloud a,.socializer .sr-soundcloud a:visited{color:#f50;border-color:#f50;background-color:#f50}.socializer .sr-stackoverflow a,.socializer .sr-stackoverflow a:visited{color:#f48024;border-color:#f48024;background-color:#f48024}.socializer .sr-stumbleupon a,.socializer .sr-stumbleupon a:visited{color:#eb4823;border-color:#eb4823;background-color:#eb4823}.socializer .sr-quora a,.socializer .sr-quora a:visited{color:#b92b27;border-color:#b92b27;background-color:#b92b27}.socializer .sr-telegram a,.socializer .sr-telegram a:visited{color:#179cde;border-color:#179cde;background-color:#179cde}.socializer .sr-tiktok a,.socializer .sr-tiktok a:visited{color:#010101;border-color:#010101;background-color:#010101}.socializer .sr-tumblr a,.socializer .sr-tumblr a:visited{color:#314358;border-color:#314358;background-color:#314358}.socializer .sr-twitch a,.socializer .sr-twitch a:visited{color:#4b367c;border-color:#4b367c;background-color:#4b367c}.socializer .sr-twitter a,.socializer .sr-twitter a:visited{color:#1da1f2;border-color:#1da1f2;background-color:#1da1f2}.socializer .sr-viber a,.socializer .sr-viber a:visited{color:#574e92;border-color:#574e92;background-color:#574e92}.socializer .sr-vimeo a,.socializer .sr-vimeo a:visited{color:#00adef;border-color:#00adef;background-color:#00adef}.socializer .sr-vkontakte a,.socializer .sr-vkontakte a:visited{color:#4c75a3;border-color:#4c75a3;background-color:#4c75a3}.socializer .sr-wechat a,.socializer .sr-wechat a:visited{color:#7bb32e;border-color:#7bb32e;background-color:#7bb32e}.socializer .sr-weibo a,.socializer .sr-weibo a:visited{color:#e6162d;border-color:#e6162d;background-color:#e6162d}.socializer .sr-whatsapp a,.socializer .sr-whatsapp a:visited{color:#60b82d;border-color:#60b82d;background-color:#60b82d}.socializer .sr-xing a,.socializer .sr-xing a:visited{color:#006567;border-color:#006567;background-color:#006567}.socializer .sr-yahoomail a,.socializer .sr-yahoomail a:visited{color:#4a00a1;border-color:#4a00a1;background-color:#4a00a1}.socializer .sr-youtube a,.socializer .sr-youtube a:visited{color:red;border-color:red;background-color:red}.socializer .sr-more>a,.socializer .sr-more>a:visited{color:green;border-color:green;background-color:green}.sr-text-in a{width:auto;padding:0 1em;overflow:hidden}.sr-text-in a>*{padding-right:.5em}.sr-text-in a>:last-child{padding-right:0}.sr-text-out a{vertical-align:middle}.sr-text-out .text{font-size:12px;margin-left:.5em;vertical-align:middle}.sr-text-below{text-align:center}.sr-text-below .text{display:block;font-size:12px;margin-top:.5em}.sr-text-hover .text{display:none;position:absolute;background:#000;color:#fff;font-size:12px;width:100px;top:-3em;border-radius:5px;text-align:center;line-height:2em;margin-left:-25%;z-index:9999}.sr-text-hover .text:before{position:absolute;content:'';border:.5em solid red;bottom:-1em;left:1em;width:0;height:0;border-color:#000 transparent transparent transparent}.sr-text-hover:hover>.text{display:block}.sr-bdr-sm.socializer a{border-width:1px}.sr-bdr-md.socializer a{border-width:2px}.sr-bdr-lg.socializer a{border-width:3px}.sr-bdr-none.socializer a{border-width:0}.sr-bdr-white.socializer a,.sr-bdr-white.socializer a:visited{border-color:#fff}.sr-bdr-dark.socializer a,.sr-bdr-dark.socializer a:visited{border-color:#000}.sr-bdr-grey.socializer a,.sr-bdr-grey.socializer a:visited{border-color:#ccc}.sr-bg-white.socializer a,.sr-bg-white.socializer a:visited{background-color:#fff}.sr-bg-dark.socializer a,.sr-bg-dark.socializer a:visited{background-color:#333}.sr-bg-grey.socializer a,.sr-bg-grey.socializer a:visited{background-color:#ccc}.sr-bg-none.socializer a,.sr-bg-none.socializer a:visited{background-color:transparent}.sr-icon-white.socializer a,.sr-icon-white.socializer a:visited{color:#fff}.sr-icon-dark.socializer a,.sr-icon-dark.socializer a:visited{color:#333}.sr-icon-grey.socializer a,.sr-icon-grey.socializer a:visited{color:#ccc}.sr-sw-1.socializer a{box-shadow:0 0 .2em rgba(0,0,0,.3)}.sr-sw-2.socializer a{box-shadow:inset 0 -.1em .1em rgba(0,0,0,.3)}.sr-sw-3.socializer a{box-shadow:0 -.1em .1em rgba(0,0,0,.3)}.sr-sw-icon-1.socializer a i{text-shadow:0 1px 1px rgba(0,0,0,.5)}.sr-count-1 span.ctext{background:#ff5722;position:absolute;top:-.6em;right:-.6em;border-radius:1em;font-size:.6em;line-height:1;padding:.3em .5em;z-index:99;color:#fff;box-shadow:0 1px 3px -1px #000}.sr-count-2 span.ctext{font-size:.8em;margin:0;padding:.5em;font-weight:700;line-height:.8em;background:rgba(0,0,0,.3);border-radius:1em}.sr-count-3 span.ctext{font-size:.8em;margin:0;font-weight:700;line-height:.8em;border-left:1px solid;padding:0 0 0 .8em}.sr-vertical.sr-count-2 a{height:auto}.sr-vertical.sr-count-2 span.ctext{display:block;font-size:.6em;border-radius:0;padding:.5em}.sr-vertical.sr-count-3 a{height:auto}.sr-vertical.sr-count-3 span.ctext{display:block;font-size:.6em;border-radius:0;border-top:1px solid;padding:.5em;border-left:0}.sr-bb-1 .sr-text-in{margin-right:3.5em}.sr-bb-1 a{position:relative;overflow:visible}.sr-bb-1 span.ctext{font-size:.8em;font-weight:700;background:#fff;border-radius:3px;color:#333;position:absolute;width:3em;top:0;bottom:0;padding:0;right:-3.5em;border:1px solid #dfdfdf}.sr-vertical.sr-bb-1 span.ctext{display:block;position:static;width:100%;margin:0;font-size:.7em;line-height:1;padding:.3em 0;margin-top:-.3em}.sr-circle a{border-radius:50%}.sr-circle .sr-text-in a,.sr-circle.sr-text-in a{border-radius:1em}.sr-squircle .sr-text-in a,.sr-squircle a,.sr-squircle.sr-text-in a{border-radius:.5em}.sr-squircle-2 .sr-text-in a,.sr-squircle-2 a,.sr-squircle-2.sr-text-in a{border-radius:0 .5em 0 .5em}.sr-diamond a{-webkit-transform:rotate(45deg);transform:rotate(45deg)}.sr-diamond a>*{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.sr-drop a{border-radius:50% 50% 0 50%}.sr-ribbon a:after{content:'';display:block;position:absolute;left:0;right:0;border-style:solid;border-color:inherit;border-bottom-color:transparent;border-width:0 1em .5em 1em}.sr-fluid{display:flex;width:100%}.sr-fluid>*{float:none;width:100%}.sr-fluid a{width:100%;box-sizing:border-box;overflow:hidden;padding:0 .5em}.sr-fluid.sr-pad{border-spacing:.25em}.sr-fluid .sr-text-in a>*,.sr-fluid.sr-text-in a>*{margin-right:.5em}.sr-fluid .sr-text-in a>:last-child,.sr-fluid.sr-text-in a>:last-child{margin-right:0}.sr-fluid .sr-text-in a:last-child,.sr-fluid.sr-text-in a:last-child{margin:0}.sr-fluid.sr-squircle a{border-radius:.5em}.sr-fluid.sr-squircle-2 a{border-radius:0 .5em 0 .5em}.sr-fluid .sr-more li{display:block;width:100%}.sr-vertical{width:16px}.sr-vertical.sr-32px{width:32px}.sr-vertical.sr-32px>*{width:32px}.sr-vertical.sr-40px{width:40px}.sr-vertical.sr-40px>*{width:40px}.sr-vertical.sr-48px{width:48px}.sr-vertical.sr-48px>*{width:48px}.sr-vertical.sr-64px{width:64px}.sr-vertical.sr-64px>*{width:64px}.sr-vertical.sr-pad>*{margin:0 0 .5em 0}.sr-vertical .sr-text-in{line-height:1}.sr-vertical .sr-text-in a{padding:0;width:inherit}.sr-vertical .sr-text-in a>*{padding:0}.sr-vertical .sr-text-in .text{display:none}.sr-opacity a:hover{opacity:.5}.sr-opacity a:active{opacity:.8}.sr-rotate a:hover{-webkit-transform:rotate(15deg);transform:rotate(15deg)}.sr-rotate a:active{-webkit-transform:rotate(0);transform:rotate(0)}.sr-zoom a:hover{-webkit-transform:scale(1.1);transform:scale(1.1);z-index:9999}.sr-zoom a:active{-webkit-transform:scale(.9);transform:scale(.9)}.sr-shrink a:hover{-webkit-transform:scale(.9);transform:scale(.9)}.sr-shrink a:active{-webkit-transform:scale(.7);transform:scale(.7)}.sr-float a:hover{-webkit-transform:translateY(-5px);transform:translateY(-5px)}.sr-float a:active{-webkit-transform:translateY(0);transform:translateY(0)}.sr-sink a:hover{-webkit-transform:translateY(5px);transform:translateY(5px)}.sr-sink a:active{-webkit-transform:translateY(0);transform:translateY(0)}.sr-fade-white a:hover{color:#000;background-color:#fff}.sr-fade-white a:active{opacity:.2}.sr-fade-black a:hover{color:#fff;background-color:#000}.sr-fade-black a:active{opacity:.2}.sr-pad>*{margin-right:.5em}.sr-multiline>*{margin-bottom:.5em}.sr-no-icon i{display:none}.socializer.sr-pad>:last-child{margin:0}.sr-more .socializer{background:#fff;padding:.5em;position:absolute;display:none;box-shadow:0 2px 6px -2px;z-index:9999}.sr-more .socializer:before{content:'';display:inline-block;position:absolute;border:.25em solid;border-color:transparent transparent #fff transparent;top:-.5em;left:.5em}.sr-more .socializer:after{content:'';clear:both;display:block}.sr-more .socializer>*{margin:0 0 .5em 0}.sr-more .socializer>:last-child{margin-bottom:0}.sr-more:hover .socializer{display:block}.sr-sharebar{position:fixed;z-index:9999}.sr-sb-vl{top:50%;transform:translateY(-50%)}.sr-sb-left{left:30px}.sr-sb-right{right:30px}.sr-sb-hl{left:50%;transform:translateX(-50%)}.sr-sb-top{top:30px}.sr-sb-bottom{bottom:30px}.sr-sb-white{background:#fff;box-shadow:0 1px 4px -2px;padding:10px}.sr-sb-dark{background:#333;box-shadow:0 1px 4px -2px;padding:10px}.sr-sb-dark .text{color:#fff}
1
+ .wp-socializer:after{clear:both;content:'';display:block}.wp-socializer.wpsr-share-icons{margin:1em 0}.wpsr-share-icons .wpsr-si-inner{display:flex}.wpsr-share-icons .wpsr-si-inner > *:first-child{margin-left:0}.wpsr-share-icons .wpsr-si-inner > *:last-child{margin-right:0}.wpsr-share-icons .socializer{margin:0 1em}.wpsr-share-icons.wpsr-flex-center{text-align:center}.wpsr-share-icons.wpsr-flex-center .wpsr-si-inner{justify-content:center}.wpsr-sharebar{transition:all 0.5s;box-sizing:border-box;z-index:99999}.wpsr-sharebar .socializer{line-height:0}.wpsr-sb-inner:after{content:'';display:block;clear:both}.wpsr-sb-vl{z-index:99999;max-width:82px;top:50%;transform:translateY(-50%);position:fixed}.wpsr-sb-vl .wpsr-counter{margin-bottom:1.5em}.wpsr-sb-vl-static{position:absolute}.wpsr-sb-hl{bottom:0;left:0!important;right:0!important;margin:0!important;position:fixed;background:#fff;box-shadow:0 -2px 4px -2px rgba(0,0,0,0.5)}.wpsr-sb-hl .wpsr-sb-inner{display:flex}.wpsr-sb-hl .wpsr-counter{padding:0 1em}.wpsr-sb-simple{padding:10px;text-align:center;border-radius:10px;box-shadow:0 0 5px 0 rgba(0,0,0,0.2);border:1px solid transparent}.wpsr-sb-simple.wpsr-sb-hl{border-radius:0}.wpsr-sharebar:hover .wpsr-sb-close{display:block}.wpsr-sb-close{position:absolute;cursor:pointer;display:none;padding:10px}.wpsr-sb-close .wpsr-bar-icon{opacity:0.2}.wpsr-sb-close:hover .wpsr-bar-icon{opacity:0.8}.wpsr-sb-vl .wpsr-sb-close{bottom:0;transform:translate(-50%,100%);left:50%}.wpsr-sb-hl .wpsr-sb-close{display:none}.wpsr-sharebar.wpsr-closed{width:48px;height:48px;border-radius:50%;background:none!important;border:none!important;box-shadow:none!important}.wpsr-sharebar.wpsr-closed .wpsr-sb-inner{display:none}.wpsr-sharebar.wpsr-closed .wpsr-sb-close{top:0;margin-top:0;transform:none;right:0;left:0;bottom:0;line-height:48px;display:block;padding:0}.wpsr-counter{line-height:2em;text-align:center;font-size:10px;color:#000;display:flex;flex-direction:column;justify-content:center;flex-shrink:0}.wpsr-counter .scount{font-size:2em;font-weight:bold;margin-bottom:0.25em}.wpsr-counter .scount .fa{font-size:.7em;opacity:0.7}.wpsr-counter .stext{display:block;line-height:1em;color:inherit;text-transform:uppercase;font-size:1em;margin-top:-0.15em;opacity:0.5}.wpsr-counter.wpsrc-sz-40px{font-size:12.5px}.wpsr-counter.wpsrc-sz-48px{font-size:15px}.wpsr-counter.wpsrc-sz-64px{font-size:20px}.wpsr-sharebar .wpsr-counter{font-size:8.5px}.wpsr-sharebar .wpsr-counter.wpsrc-sz-40px{font-size:9.5px}.wpsr-sharebar .wpsr-counter.wpsrc-sz-48px{font-size:11.5px}.wpsr-sharebar .wpsr-counter.wpsrc-sz-64px{font-size:15.2px}.socializer span.sr-cicon a{background:none;border:none}.wpsr-follow-icons{position:fixed;z-index:999999;line-height:0}.sr-fb-tl{top:20px;left:20px}.sr-fb-tm{top:20px;left:50%;transform:translateX( -50% )}.sr-fb-tr{top:20px;right:20px}.sr-fb-rm{top:50%;right:20px;transform:translateY( -50% )}.sr-fb-br{bottom:20px;right:20px}.sr-fb-bm{bottom:20px;left:50%;transform:translateX( -50% )}.sr-fb-bl{bottom:20px;left:20px}.sr-fb-lm{left:20px;top:50%;transform:translateY( -50% )}.wpsr-follow-icons div.sr-fb-title{font-size:0.8em;margin:0 0 0.8em 0}.wpsr-follow-icons.sr-fb-hl .sr-fb-title{position:absolute;bottom:0;transform:translateX(-100%);left:-1em;top:50%;margin:0}.wpsr-follow-icons.sr-fb-vl{text-align:center;line-height:1.5q}.wpsr-follow-icons.sr-fb-vl .sr-fb-title{width:5em;text-align:center;line-height:1.5}.wpsr-fb-close{position:absolute;right:0;cursor:pointer;display:none;line-height:0;padding:1em;opacity:0.2}.wpsr-fb-close:hover{opacity:0.8}.wpsr-follow-icons:hover .wpsr-fb-close{display:block}.wpsr-closed.wpsr-follow-icons .sr-fb-title{display:none}.wpsr-closed.wpsr-follow-icons .sr-followbar{display:none}.wpsr-closed.wpsr-follow-icons .wpsr-fb-close{display:block}.sr-fb-bm .wpsr-fb-close,.sr-fb-bl .wpsr-fb-close{right:0;transform:translate(100%,-100%);padding-bottom:0}.sr-fb-vl.sr-fb-br .wpsr-fb-close{left:0;bottom:0;transform:translateX(-100%);padding-bottom:0}.sr-fb-hl.sr-fb-br .wpsr-fb-close{top:0;right:0;transform:translateY(-100%)}.sr-fb-hl.sr-fb-tr .wpsr-fb-close{padding-right:0}.wpsr-closed.sr-fb-tl .wpsr-fb-close,.wpsr-closed.sr-fb-lm .wpsr-fb-close{right:-24px;transform:translateY(0%)}.wpsr-text-sb{background:#fff;margin:0;padding:0 10px;border-radius:5px;display:inline-block;position:absolute;transform:translate( -50%,-150% );margin-top:-10px;transition:margin-top 0.5s;display:none;animation:wpsr-fadeout 1s;box-shadow:0 3px 6px -3px #000;background-image:linear-gradient(rgba(0,0,0,0.1),rgba(0,0,0,0));z-index:999}.wpsr-text-sb:before{position:absolute;content:'';display:block;background-color:inherit;width:10px;height:10px;bottom:-5px;transform:rotate(45deg) translateX(-50%);left:50%;z-index:-1;transform-origin:left;box-shadow:2px 2px 4px -2px #000}.wpsr-text-sb li{list-style:none;float:left;line-height:0}.wpsr-text-sb li a{text-align:center;display:inline-block}.wpsr-text-sb li a:hover{background-image:linear-gradient(rgba(0,0,0,0.4),rgba(0,0,0,0))}.wpsr-tsb-32px a{width:32px;height:32px;line-height:32px;font-size:16px}.wpsr-tsb-40px a{width:40px;height:40px;line-height:40px;font-size:20px}.wpsr-tsb-48px a{width:48px;height:48px;line-height:48px;font-size:24px}.wpsr-tsb-64px a{width:64px;height:64px;line-height:64px;font-size:32px}.wpsr-text-sb.wpsr-tsb-active{margin-top:0;transition:margin-top 0.5s;display:block;animation:wpsr-fadein 1s}.wpsr-bar-icon{line-height:0;background:#000;display:inline-block;padding:3px;border-radius:50%;vertical-align:middle;fill:#fff}.wpsr-bar-icon .i-open{display:none}.wpsr-closed .wpsr-bar-icon .i-close{display:none}.wpsr-closed .wpsr-bar-icon .i-open{display:block}.wpsr-closed .wpsr-bar-icon{padding:5px}.wpsr-clearfix:after{display:block;clear:both;content:''}.wpsr-hide{display:none}.wpsr-close{background:red}.sr-custom-html{line-height:1}.socializer .ctext:empty{display:none!important}@keyframes wpsr-fadein{0%{opacity:0}100%{opacity:1}}@keyframes wpsr-fadeout{0%{opacity:1}100%{opacity:0}}
2
  /*!
3
  * Socializer - CSS library for social media buttons
4
  * Copyright (c) 2021 Aakash Chakravarthy - www.aakashweb.com
5
  * MIT license
6
+ */.socializer{padding:0;margin:0;display:inline-flex;flex-wrap:wrap}.socializer>*{list-style:none;padding:0;margin:0;display:inline-block;position:relative;line-height:0}.socializer a{font-family:sans-serif!important;display:inline-block;border:0;text-align:center;text-decoration:none;width:16px;height:16px;line-height:18px;font-size:8px;border-style:solid;box-sizing:content-box;transition:all .5s;-webkit-transition:all .2s;transition-timing-function:ease-out;-webkit-transition-timing-function:ease-out}.socializer a>*{display:inline-block;vertical-align:middle;padding:0;margin:0}.socializer:after{content:'';clear:both;display:block}.sr-32px{min-height:32px}.sr-32px a{width:32px;height:32px;line-height:32px;font-size:16px}.sr-32px.sr-font-sm a{font-size:10.6666666667px}.sr-32px.sr-font-lg a{font-size:21.3333333333px}.sr-40px{min-height:40px}.sr-40px a{width:40px;height:40px;line-height:40px;font-size:20px}.sr-40px.sr-font-sm a{font-size:13.3333333333px}.sr-40px.sr-font-lg a{font-size:26.6666666667px}.sr-48px{min-height:48px}.sr-48px a{width:48px;height:48px;line-height:48px;font-size:24px}.sr-48px.sr-font-sm a{font-size:16px}.sr-48px.sr-font-lg a{font-size:32px}.sr-64px{min-height:64px}.sr-64px a{width:64px;height:64px;line-height:64px;font-size:32px}.sr-64px.sr-font-sm a{font-size:21.3333333333px}.sr-64px.sr-font-lg a{font-size:42.6666666667px}.socializer .sr-addtofavorites a,.socializer .sr-addtofavorites a:visited{color:#f9a600;border-color:#f9a600;background-color:#f9a600}.socializer .sr-behance a,.socializer .sr-behance a:visited{color:#1769ff;border-color:#1769ff;background-color:#1769ff}.socializer .sr-bitbucket a,.socializer .sr-bitbucket a:visited{color:#205081;border-color:#205081;background-color:#205081}.socializer .sr-blogger a,.socializer .sr-blogger a:visited{color:#ff6501;border-color:#ff6501;background-color:#ff6501}.socializer .sr-codepen a,.socializer .sr-codepen a:visited{color:#000;border-color:#000;background-color:#000}.socializer .sr-comments a,.socializer .sr-comments a:visited{color:#333;border-color:#333;background-color:#333}.socializer .sr-delicious a,.socializer .sr-delicious a:visited{color:#3274d1;border-color:#3274d1;background-color:#3274d1}.socializer .sr-deviantart a,.socializer .sr-deviantart a:visited{color:#475c4d;border-color:#475c4d;background-color:#475c4d}.socializer .sr-digg a,.socializer .sr-digg a:visited{color:#000;border-color:#000;background-color:#000}.socializer .sr-discord a,.socializer .sr-discord a:visited{color:#7289da;border-color:#7289da;background-color:#7289da}.socializer .sr-dribbble a,.socializer .sr-dribbble a:visited{color:#ea4c89;border-color:#ea4c89;background-color:#ea4c89}.socializer .sr-email a,.socializer .sr-email a:visited{color:#000;border-color:#000;background-color:#000}.socializer .sr-etsy a,.socializer .sr-etsy a:visited{color:#f1641e;border-color:#f1641e;background-color:#f1641e}.socializer .sr-facebook a,.socializer .sr-facebook a:visited{color:#1977f3;border-color:#1977f3;background-color:#1977f3}.socializer .sr-fbmessenger a,.socializer .sr-fbmessenger a:visited{color:#2998ff;border-color:#2998ff;background-color:#2998ff}.socializer .sr-flickr a,.socializer .sr-flickr a:visited{color:#1c9be9;border-color:#1c9be9;background-color:#1c9be9}.socializer .sr-github a,.socializer .sr-github a:visited{color:#333;border-color:#333;background-color:#333}.socializer .sr-google a,.socializer .sr-google a:visited{color:#3a7cec;border-color:#3a7cec;background-color:#3a7cec}.socializer .sr-googleplus a,.socializer .sr-googleplus a:visited{color:#db483b;border-color:#db483b;background-color:#db483b}.socializer .sr-hackernews a,.socializer .sr-hackernews a:visited{color:#ff6500;border-color:#ff6500;background-color:#ff6500}.socializer .sr-houzz a,.socializer .sr-houzz a:visited{color:#4dbc15;border-color:#4dbc15;background-color:#4dbc15}.socializer .sr-instagram a,.socializer .sr-instagram a:visited{color:#e23367;border-color:#e23367;background-color:#e23367}.socializer .sr-line a,.socializer .sr-line a:visited{color:#00c300;border-color:#00c300;background-color:#00c300}.socializer .sr-linkedin a,.socializer .sr-linkedin a:visited{color:#0274b3;border-color:#0274b3;background-color:#0274b3}.socializer .sr-medium a,.socializer .sr-medium a:visited{color:#02b875;border-color:#02b875;background-color:#02b875}.socializer .sr-mix a,.socializer .sr-mix a:visited{color:#ff8226;border-color:#ff8226;background-color:#ff8226}.socializer .sr-odnoklassniki a,.socializer .sr-odnoklassniki a:visited{color:#f2720c;border-color:#f2720c;background-color:#f2720c}.socializer .sr-patreon a,.socializer .sr-patreon a:visited{color:#e85b46;border-color:#e85b46;background-color:#e85b46}.socializer .sr-paypal a,.socializer .sr-paypal a:visited{color:#0070ba;border-color:#0070ba;background-color:#0070ba}.socializer .sr-pdf a,.socializer .sr-pdf a:visited{color:#e61b2e;border-color:#e61b2e;background-color:#e61b2e}.socializer .sr-phone a,.socializer .sr-phone a:visited{color:#1a73e8;border-color:#1a73e8;background-color:#1a73e8}.socializer .sr-pinterest a,.socializer .sr-pinterest a:visited{color:#cb2027;border-color:#cb2027;background-color:#cb2027}.socializer .sr-pocket a,.socializer .sr-pocket a:visited{color:#ef4056;border-color:#ef4056;background-color:#ef4056}.socializer .sr-print a,.socializer .sr-print a:visited{color:#6d9f00;border-color:#6d9f00;background-color:#6d9f00}.socializer .sr-reddit a,.socializer .sr-reddit a:visited{color:#ff5600;border-color:#ff5600;background-color:#ff5600}.socializer .sr-renren a,.socializer .sr-renren a:visited{color:#005eac;border-color:#005eac;background-color:#005eac}.socializer .sr-rss a,.socializer .sr-rss a:visited{color:#ff7b0a;border-color:#ff7b0a;background-color:#ff7b0a}.socializer .sr-shortlink a,.socializer .sr-shortlink a:visited{color:#333;border-color:#333;background-color:#333}.socializer .sr-skype a,.socializer .sr-skype a:visited{color:#00aff0;border-color:#00aff0;background-color:#00aff0}.socializer .sr-snapchat a,.socializer .sr-snapchat a:visited{color:#fffc00;border-color:#fffc00;background-color:#fffc00}.socializer .sr-soundcloud a,.socializer .sr-soundcloud a:visited{color:#f50;border-color:#f50;background-color:#f50}.socializer .sr-stackoverflow a,.socializer .sr-stackoverflow a:visited{color:#f48024;border-color:#f48024;background-color:#f48024}.socializer .sr-stumbleupon a,.socializer .sr-stumbleupon a:visited{color:#eb4823;border-color:#eb4823;background-color:#eb4823}.socializer .sr-quora a,.socializer .sr-quora a:visited{color:#b92b27;border-color:#b92b27;background-color:#b92b27}.socializer .sr-telegram a,.socializer .sr-telegram a:visited{color:#179cde;border-color:#179cde;background-color:#179cde}.socializer .sr-tiktok a,.socializer .sr-tiktok a:visited{color:#010101;border-color:#010101;background-color:#010101}.socializer .sr-tumblr a,.socializer .sr-tumblr a:visited{color:#314358;border-color:#314358;background-color:#314358}.socializer .sr-twitch a,.socializer .sr-twitch a:visited{color:#4b367c;border-color:#4b367c;background-color:#4b367c}.socializer .sr-twitter a,.socializer .sr-twitter a:visited{color:#1da1f2;border-color:#1da1f2;background-color:#1da1f2}.socializer .sr-viber a,.socializer .sr-viber a:visited{color:#574e92;border-color:#574e92;background-color:#574e92}.socializer .sr-vimeo a,.socializer .sr-vimeo a:visited{color:#00adef;border-color:#00adef;background-color:#00adef}.socializer .sr-vkontakte a,.socializer .sr-vkontakte a:visited{color:#4c75a3;border-color:#4c75a3;background-color:#4c75a3}.socializer .sr-wechat a,.socializer .sr-wechat a:visited{color:#7bb32e;border-color:#7bb32e;background-color:#7bb32e}.socializer .sr-weibo a,.socializer .sr-weibo a:visited{color:#e6162d;border-color:#e6162d;background-color:#e6162d}.socializer .sr-whatsapp a,.socializer .sr-whatsapp a:visited{color:#60b82d;border-color:#60b82d;background-color:#60b82d}.socializer .sr-xing a,.socializer .sr-xing a:visited{color:#006567;border-color:#006567;background-color:#006567}.socializer .sr-yahoomail a,.socializer .sr-yahoomail a:visited{color:#4a00a1;border-color:#4a00a1;background-color:#4a00a1}.socializer .sr-youtube a,.socializer .sr-youtube a:visited{color:red;border-color:red;background-color:red}.socializer .sr-more>a,.socializer .sr-more>a:visited{color:green;border-color:green;background-color:green}.sr-text-in a{width:auto;padding:0 1em;overflow:hidden}.sr-text-in a>*{padding-right:.5em}.sr-text-in a>:last-child{padding-right:0}.sr-text-in .text{font-size:.8em}.sr-text-out a{vertical-align:middle}.sr-text-out .text{font-size:.8em;margin-left:.5em;vertical-align:middle}.sr-text-below{text-align:center}.sr-text-below .text{display:block;font-size:.8em;margin-top:.5em}.sr-text-hover .text{display:none;position:absolute;background:#000;color:#fff;font-size:12px;width:100px;top:-3em;border-radius:5px;text-align:center;line-height:2em;margin-left:-25%;z-index:9999}.sr-text-hover .text:before{position:absolute;content:'';border:.5em solid red;bottom:-1em;left:1em;width:0;height:0;border-color:#000 transparent transparent transparent}.sr-text-hover:hover>.text{display:block}.sr-bdr-sm.socializer a{border-width:1px}.sr-bdr-md.socializer a{border-width:2px}.sr-bdr-lg.socializer a{border-width:3px}.sr-bdr-none.socializer a{border-width:0}.sr-bdr-white.socializer a,.sr-bdr-white.socializer a:visited{border-color:#fff}.sr-bdr-dark.socializer a,.sr-bdr-dark.socializer a:visited{border-color:#000}.sr-bdr-grey.socializer a,.sr-bdr-grey.socializer a:visited{border-color:#ccc}.sr-bg-white.socializer a,.sr-bg-white.socializer a:visited{background-color:#fff}.sr-bg-dark.socializer a,.sr-bg-dark.socializer a:visited{background-color:#333}.sr-bg-grey.socializer a,.sr-bg-grey.socializer a:visited{background-color:#ccc}.sr-bg-none.socializer a,.sr-bg-none.socializer a:visited{background-color:transparent}.sr-icon-white.socializer a,.sr-icon-white.socializer a:visited{color:#fff}.sr-icon-dark.socializer a,.sr-icon-dark.socializer a:visited{color:#333}.sr-icon-grey.socializer a,.sr-icon-grey.socializer a:visited{color:#ccc}.sr-sw-1.socializer a{box-shadow:0 0 .2em rgba(0,0,0,.3)}.sr-sw-2.socializer a{box-shadow:inset 0 -.1em .1em rgba(0,0,0,.3)}.sr-sw-3.socializer a{box-shadow:0 -.1em .1em rgba(0,0,0,.3)}.sr-sw-icon-1.socializer a i{text-shadow:0 1px 1px rgba(0,0,0,.5)}.sr-count-1 span.ctext{background:#ff5722;position:absolute;top:-.6em;right:-.6em;border-radius:1em;font-size:.6em;line-height:1;padding:.3em .5em;z-index:99;color:#fff;box-shadow:0 1px 3px -1px #000}.sr-count-2 span.ctext{font-size:.8em;margin:0;padding:.5em;font-weight:700;line-height:.8em;background:rgba(0,0,0,.3);border-radius:1em}.sr-count-3 span.ctext{font-size:.8em;margin:0;font-weight:700;line-height:.8em;border-left:1px solid;padding:0 0 0 .8em}.sr-vertical.sr-count-2 a{height:auto}.sr-vertical.sr-count-2 span.ctext{display:block;font-size:.6em;border-radius:0;padding:.5em}.sr-vertical.sr-count-3 a{height:auto}.sr-vertical.sr-count-3 span.ctext{display:block;font-size:.6em;border-radius:0;border-top:1px solid;padding:.5em;border-left:0}.sr-bb-1 .sr-text-in{margin-right:3.5em}.sr-bb-1 a{position:relative;overflow:visible}.sr-bb-1 span.ctext{font-size:.8em;font-weight:700;background:#fff;border-radius:3px;color:#333;position:absolute;width:3em;top:0;bottom:0;padding:0;right:-3.5em;border:1px solid #dfdfdf}.sr-vertical.sr-bb-1 span.ctext{display:block;position:static;width:100%;margin:0;font-size:.7em;line-height:1;padding:.3em 0;margin-top:-.3em}.sr-circle a{border-radius:50%}.sr-circle .sr-text-in a,.sr-circle.sr-text-in a{border-radius:1em}.sr-squircle .sr-text-in a,.sr-squircle a,.sr-squircle.sr-text-in a{border-radius:.5em}.sr-squircle-2 .sr-text-in a,.sr-squircle-2 a,.sr-squircle-2.sr-text-in a{border-radius:0 .5em 0 .5em}.sr-diamond a{-webkit-transform:rotate(45deg);transform:rotate(45deg)}.sr-diamond a>*{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.sr-drop a{border-radius:50% 50% 0 50%}.sr-ribbon a:after{content:'';display:block;position:absolute;left:0;right:0;border-style:solid;border-color:inherit;border-bottom-color:transparent;border-width:0 1em .5em 1em}.sr-fluid{display:flex;width:100%;flex-wrap:nowrap}.sr-fluid>*{float:none;width:100%}.sr-fluid a{width:100%;box-sizing:border-box;overflow:hidden;padding:0 .5em}.sr-fluid.sr-pad{border-spacing:.25em}.sr-fluid .sr-text-in a>*,.sr-fluid.sr-text-in a>*{margin-right:.5em}.sr-fluid .sr-text-in a>:last-child,.sr-fluid.sr-text-in a>:last-child{margin-right:0}.sr-fluid .sr-text-in a:last-child,.sr-fluid.sr-text-in a:last-child{margin:0}.sr-fluid.sr-squircle a{border-radius:.5em}.sr-fluid.sr-squircle-2 a{border-radius:0 .5em 0 .5em}.sr-fluid .sr-more li{display:block;width:100%}.sr-vertical{width:16px;flex-direction:column}.sr-vertical.sr-32px{width:32px}.sr-vertical.sr-32px>*{width:32px}.sr-vertical.sr-40px{width:40px}.sr-vertical.sr-40px>*{width:40px}.sr-vertical.sr-48px{width:48px}.sr-vertical.sr-48px>*{width:48px}.sr-vertical.sr-64px{width:64px}.sr-vertical.sr-64px>*{width:64px}.sr-vertical.sr-pad>*{margin:0 0 .5em 0}.sr-vertical .sr-text-in{line-height:1}.sr-vertical .sr-text-in a{padding:0;width:inherit}.sr-vertical .sr-text-in a>*{padding:0}.sr-vertical .sr-text-in .text{display:none}.sr-opacity a:hover{opacity:.5}.sr-opacity a:active{opacity:.8}.sr-rotate a:hover{-webkit-transform:rotate(15deg);transform:rotate(15deg)}.sr-rotate a:active{-webkit-transform:rotate(0);transform:rotate(0)}.sr-zoom a:hover{-webkit-transform:scale(1.1);transform:scale(1.1);z-index:9999}.sr-zoom a:active{-webkit-transform:scale(.9);transform:scale(.9)}.sr-shrink a:hover{-webkit-transform:scale(.9);transform:scale(.9)}.sr-shrink a:active{-webkit-transform:scale(.7);transform:scale(.7)}.sr-float a:hover{-webkit-transform:translateY(-5px);transform:translateY(-5px)}.sr-float a:active{-webkit-transform:translateY(0);transform:translateY(0)}.sr-sink a:hover{-webkit-transform:translateY(5px);transform:translateY(5px)}.sr-sink a:active{-webkit-transform:translateY(0);transform:translateY(0)}.sr-fade-white a:hover{color:#000;background-color:#fff}.sr-fade-white a:active{opacity:.2}.sr-fade-black a:hover{color:#fff;background-color:#000}.sr-fade-black a:active{opacity:.2}.sr-fade-dark a:hover{filter:brightness(.8)}.sr-fade-dark a:active{filter:brightness(.5)}.sr-pad>*{margin-right:.5em}.sr-multiline>*{margin-bottom:.5em}.sr-no-icon i{display:none}.socializer.sr-pad>:last-child{margin:0}.sr-more .socializer{background:#fff;padding:.5em;position:absolute;display:none;box-shadow:0 2px 6px -2px;z-index:9999}.sr-more .socializer:before{content:'';display:inline-block;position:absolute;border:.25em solid;border-color:transparent transparent #fff transparent;top:-.5em;left:.5em}.sr-more .socializer:after{content:'';clear:both;display:block}.sr-more .socializer>*{margin:0 0 .5em 0}.sr-more .socializer>:last-child{margin-bottom:0}.sr-more:hover .socializer{display:block}.sr-sharebar{position:fixed;z-index:9999}.sr-sb-vl{top:50%;transform:translateY(-50%)}.sr-sb-left{left:30px}.sr-sb-right{right:30px}.sr-sb-hl{left:50%;transform:translateX(-50%)}.sr-sb-top{top:30px}.sr-sb-bottom{bottom:30px}.sr-sb-white{background:#fff;box-shadow:0 1px 4px -2px;padding:10px}.sr-sb-dark{background:#333;box-shadow:0 1px 4px -2px;padding:10px}.sr-sb-dark .text{color:#fff}
public/js/wp-socializer.js CHANGED
@@ -165,7 +165,7 @@ document.addEventListener( 'DOMContentLoaded', function(){
165
  psurl: tsb.getAttribute( 'data-surl' ),
166
  ptuname: tsb.getAttribute( 'data-tuname' ),
167
  cnt_sel: tsb.getAttribute( 'data-content' ),
168
- word_count: tsb.getAttribute( 'data-tcount' )
169
  };
170
 
171
  var get_selection_text = function() {
@@ -191,7 +191,8 @@ document.addEventListener( 'DOMContentLoaded', function(){
191
  var sel_link_text = function(){
192
  var sel_text = wpsr_tsb.stext;
193
  var wcount = parseInt( tsb_attr.word_count );
194
-
 
195
  if( wcount == 0 ){
196
  return sel_text;
197
  }else{
@@ -381,7 +382,9 @@ document.addEventListener( 'DOMContentLoaded', function(){
381
  count += parseInt( out[ svc ] ) || 0;
382
  }
383
  }
384
- phEle.innerHTML = wpsr_helpers.format_num( count );
 
 
385
  }
386
 
387
  }
165
  psurl: tsb.getAttribute( 'data-surl' ),
166
  ptuname: tsb.getAttribute( 'data-tuname' ),
167
  cnt_sel: tsb.getAttribute( 'data-content' ),
168
+ word_count: tsb.getAttribute( 'data-tcount' )
169
  };
170
 
171
  var get_selection_text = function() {
191
  var sel_link_text = function(){
192
  var sel_text = wpsr_tsb.stext;
193
  var wcount = parseInt( tsb_attr.word_count );
194
+ sel_text = sel_text.replace(/[^\x00-\x7F]/g, '');
195
+
196
  if( wcount == 0 ){
197
  return sel_text;
198
  }else{
382
  count += parseInt( out[ svc ] ) || 0;
383
  }
384
  }
385
+ if( count > 0 ){
386
+ phEle.innerHTML = wpsr_helpers.format_num( count );
387
+ }
388
  }
389
 
390
  }
public/js/wp-socializer.min.js CHANGED
@@ -1 +1 @@
1
- function socializer_addbookmark(t){var e=navigator.userAgent.toLowerCase(),s=-1!=e.indexOf("mac"),r="";t.preventDefault(),r=(s?"Command/Cmd":"CTRL")+" + D",alert("Press "+r+" to bookmark this page")}function socializer_shortlink(t,e){t.preventDefault(),link=e.getAttribute("href"),"#"!=link&&prompt("Short link",link)}window.wpsr_helpers={addClass:function(t,e){t.classList?t.classList.add(e):t.className+=" "+e},removeClass:function(t,e){t.classList?t.classList.remove(e):t.className=t.className.replace(new RegExp("(^|\\b)"+e.split(" ").join("|")+"(\\b|$)","gi")," ")},popup:function(t,e,s,r){var n=screen.width/2-s/2,a=screen.height/2-r/2;return window.open(t,e,"toolbar=no,location=no,menubar=no,scrollbars=yes,width="+s+",height="+r+",top="+a+",left="+n)},offset:function(t){var e=t.getBoundingClientRect();return{top:e.top+document.body.scrollTop,left:e.left+document.body.scrollLeft}},ajax:function(t,e,s,r,n){var a=new XMLHttpRequest;a.props=n,a.open(e,t,!0),"POST"==e&&a.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8"),a.onreadystatechange=function(){if(4==a.readyState&&200==a.status)return r(a)},a.send(s)},format_num:function(t){if(t<1e3)return t;for(var e=["k","m","b","t"],s=t,r=0;r<e.length;r++)if(!((t/=1e3)>1e3)){s=Math.round(100*t)/100+e[r];break}return s},is_mobile:function(){return/Mobi|Android/i.test(navigator.userAgent)}},document.addEventListener("DOMContentLoaded",function(){var t=document.querySelectorAll(".socializer.sr-popup a");for(_=0;_<t.length;_++){var e=t[_];e.addEventListener("click",function(t){var e=this.getAttribute("href");"#"==e||this.hasAttribute("onclick")||null==e||wpsr_helpers.popup(e,"_blank",800,500),t.preventDefault()})}if(wpsr_helpers.is_mobile()){var s=document.querySelectorAll(".socializer a[data-mobile]");for(_=0;_<s.length;_++){var e=s[_],r=e.getAttribute("data-mobile");e.setAttribute("href",r)}}var n=document.querySelector(".wpsr-sharebar");if(n){var a=n.querySelector(".socializer");n.sm_action_call=function(t){wpsr_helpers.removeClass(this,"wpsr-sb-vl"),wpsr_helpers.addClass(this,"wpsr-sb-hl"),wpsr_helpers.removeClass(a,"sr-vertical"),wpsr_helpers.addClass(a,"sr-horizontal"),wpsr_helpers.addClass(a,"sr-fluid")},n.lg_action_call=function(){wpsr_helpers.addClass(this,"wpsr-sb-vl"),wpsr_helpers.removeClass(this,"wpsr-sb-hl"),wpsr_helpers.addClass(a,"sr-vertical"),wpsr_helpers.removeClass(a,"sr-horizontal"),wpsr_helpers.removeClass(a,"sr-fluid")};var o=function(){stick_sb=document.querySelector(".wpsr-sb-vl-scontent"),stick_sb&&(stick=stick_sb.getAttribute("data-stick-to"),stick_ele=document.querySelector(stick),stick_ele&&(stick_offset=wpsr_helpers.offset(stick_ele),stick_sb.style.left=stick_offset.left+"px"))};o(),window.addEventListener("resize",o)}if(tsb=document.querySelector(".wpsr-text-sb"),tsb){window.wpsr_tsb={stext:"",startx:0,starty:0};var l={ptitle:tsb.getAttribute("data-title"),purl:tsb.getAttribute("data-url"),psurl:tsb.getAttribute("data-surl"),ptuname:tsb.getAttribute("data-tuname"),cnt_sel:tsb.getAttribute("data-content"),word_count:tsb.getAttribute("data-tcount")},i=function(){var t="";return window.getSelection?t=window.getSelection().toString():document.selection&&"Control"!=document.selection.type&&(t=document.selection.createRange().text),t},p=function(t,e){tsb.style.left=t+"px",tsb.style.top=e+"px",wpsr_helpers.addClass(tsb,"wpsr-tsb-active")},c=function(){wpsr_helpers.removeClass(tsb,"wpsr-tsb-active")},u=function(){var t=wpsr_tsb.stext,e=parseInt(l.word_count);return 0==e?t:t.split(" ").slice(0,e).join(" ")},d=function(t){var e={"{title}":escape(l.ptitle),"{url}":l.purl,"{s-url}":l.psurl,"{twitter-username}":l.ptuname,"{excerpt}":escape(u())};for(var s in e)e.hasOwnProperty(s)&&(t=t.replace(RegExp(s,"g"),e[s]));return t};if(""!=l.cnt_sel)for(var w=l.cnt_sel.replace(/[\[\]<>"'\/\\=&%]/g,""),f=document.querySelectorAll(w),_=0;_<f.length;_++){var h=f[_];h.addEventListener("mousedown",function(t){wpsr_tsb.startx=t.pageX,wpsr_tsb.starty=t.pageY}),h.addEventListener("mouseup",function(t){var e=i();""!=e?(tsb_x=(t.pageX+parseInt(wpsr_tsb.startx))/2,tsb_y=Math.min(wpsr_tsb.starty,t.pageY),e!=wpsr_tsb.stext?(p(tsb_x,tsb_y),wpsr_tsb.stext=e):c()):c()})}document.body.addEventListener("mousedown",function(t){c()}),tsb.addEventListener("mousedown",function(t){t.stopPropagation()});for(var b=tsb.querySelectorAll("a"),_=0;_<b.length;_++){b[_].addEventListener("click",function(t){var e=this.getAttribute("data-link");"#"!=e&&(rep_link=d(e),wpsr_helpers.popup(rep_link,800,500)),t.preventDefault()})}}var v=document.querySelectorAll(".wp-socializer");v.length>0&&["resize","load"].forEach(function(t){window.addEventListener(t,function(){for(var t=0;t<v.length;t++){var e=v[t],s=e.getAttribute("data-lg-action"),r=e.getAttribute("data-sm-action"),n=e.getAttribute("data-sm-width"),a=window.innerWidth<=n?r:s;"close"==a?wpsr_helpers.addClass(e,"wpsr-closed"):wpsr_helpers.removeClass(e,"wpsr-closed"),"hide"==a?wpsr_helpers.addClass(e,"wpsr-hide"):wpsr_helpers.removeClass(e,"wpsr-hide"),"function"==typeof e.sm_action_call&&a==r&&e.sm_action_call(),"function"==typeof e.lg_action_call&&a==s&&e.lg_action_call()}})});var m=document.querySelectorAll(".wpsr-close-btn");if(m.length>0)for(_=0;_<m.length;_++){var g=m[_];g.addEventListener("click",function(){var t=this.parentNode;t.classList.contains("wpsr-closed")?wpsr_helpers.removeClass(t,"wpsr-closed"):wpsr_helpers.addClass(t,"wpsr-closed")})}if(wpsr_ajax_url){var y=document.querySelectorAll("[data-wpsrs]");if(y.length>0){var k={},A=wpsr_ajax_url+"?action=wpsr_share_count";for(_=0;_<y.length;_++){var C=y[_],x=C.getAttribute("data-wpsrs"),L=C.getAttribute("data-wpsrs-svcs").split(",");x in k||(k[x]=[]);for(j=0;j<L.length;j++)-1===k[x].indexOf(L[j])&&k[x].push(L[j])}var S=function(t){var e=JSON.parse(t.responseText),s=document.querySelectorAll('[data-wpsrs="'+t.props.forURL+'"]');for(_=0;_<s.length;_++){var r=s[_],n=r.getAttribute("data-wpsrs-svcs").split(","),a=0;for(j=0;j<n.length;j++){var o=n[j];o in e&&(a+=parseInt(e[o])||0)}r.innerHTML=wpsr_helpers.format_num(a)}};for(var x in k)k.hasOwnProperty(x)&&(send_data={url:x,services:k[x]},to_send="data="+JSON.stringify(send_data),wpsr_helpers.ajax(A,"POST",to_send,S,{forURL:x}))}}});
1
+ function socializer_addbookmark(t){var e=navigator.userAgent.toLowerCase(),s=-1!=e.indexOf("mac"),r="";t.preventDefault(),r=(s?"Command/Cmd":"CTRL")+" + D",alert("Press "+r+" to bookmark this page")}function socializer_shortlink(t,e){t.preventDefault(),link=e.getAttribute("href"),"#"!=link&&prompt("Short link",link)}window.wpsr_helpers={addClass:function(t,e){t.classList?t.classList.add(e):t.className+=" "+e},removeClass:function(t,e){t.classList?t.classList.remove(e):t.className=t.className.replace(new RegExp("(^|\\b)"+e.split(" ").join("|")+"(\\b|$)","gi")," ")},popup:function(t,e,s,r){var a=screen.width/2-s/2,n=screen.height/2-r/2;return window.open(t,e,"toolbar=no,location=no,menubar=no,scrollbars=yes,width="+s+",height="+r+",top="+n+",left="+a)},offset:function(t){var e=t.getBoundingClientRect();return{top:e.top+document.body.scrollTop,left:e.left+document.body.scrollLeft}},ajax:function(t,e,s,r,a){var n=new XMLHttpRequest;n.props=a,n.open(e,t,!0),"POST"==e&&n.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8"),n.onreadystatechange=function(){if(4==n.readyState&&200==n.status)return r(n)},n.send(s)},format_num:function(t){if(t<1e3)return t;for(var e=["k","m","b","t"],s=t,r=0;r<e.length;r++)if(!((t/=1e3)>1e3)){s=Math.round(100*t)/100+e[r];break}return s},is_mobile:function(){return/Mobi|Android/i.test(navigator.userAgent)}},document.addEventListener("DOMContentLoaded",function(){var t=document.querySelectorAll(".socializer.sr-popup a");for(_=0;_<t.length;_++){var e=t[_];e.addEventListener("click",function(t){var e=this.getAttribute("href");"#"==e||this.hasAttribute("onclick")||null==e||wpsr_helpers.popup(e,"_blank",800,500),t.preventDefault()})}if(wpsr_helpers.is_mobile()){var s=document.querySelectorAll(".socializer a[data-mobile]");for(_=0;_<s.length;_++){var e=s[_],r=e.getAttribute("data-mobile");e.setAttribute("href",r)}}var a=document.querySelector(".wpsr-sharebar");if(a){var n=a.querySelector(".socializer");a.sm_action_call=function(t){wpsr_helpers.removeClass(this,"wpsr-sb-vl"),wpsr_helpers.addClass(this,"wpsr-sb-hl"),wpsr_helpers.removeClass(n,"sr-vertical"),wpsr_helpers.addClass(n,"sr-horizontal"),wpsr_helpers.addClass(n,"sr-fluid")},a.lg_action_call=function(){wpsr_helpers.addClass(this,"wpsr-sb-vl"),wpsr_helpers.removeClass(this,"wpsr-sb-hl"),wpsr_helpers.addClass(n,"sr-vertical"),wpsr_helpers.removeClass(n,"sr-horizontal"),wpsr_helpers.removeClass(n,"sr-fluid")};var o=function(){stick_sb=document.querySelector(".wpsr-sb-vl-scontent"),stick_sb&&(stick=stick_sb.getAttribute("data-stick-to"),stick_ele=document.querySelector(stick),stick_ele&&(stick_offset=wpsr_helpers.offset(stick_ele),stick_sb.style.left=stick_offset.left+"px"))};o(),window.addEventListener("resize",o)}if(tsb=document.querySelector(".wpsr-text-sb"),tsb){window.wpsr_tsb={stext:"",startx:0,starty:0};var l={ptitle:tsb.getAttribute("data-title"),purl:tsb.getAttribute("data-url"),psurl:tsb.getAttribute("data-surl"),ptuname:tsb.getAttribute("data-tuname"),cnt_sel:tsb.getAttribute("data-content"),word_count:tsb.getAttribute("data-tcount")},i=function(){var t="";return window.getSelection?t=window.getSelection().toString():document.selection&&"Control"!=document.selection.type&&(t=document.selection.createRange().text),t},p=function(t,e){tsb.style.left=t+"px",tsb.style.top=e+"px",wpsr_helpers.addClass(tsb,"wpsr-tsb-active")},c=function(){wpsr_helpers.removeClass(tsb,"wpsr-tsb-active")},u=function(){var t=wpsr_tsb.stext,e=parseInt(l.word_count);return t=t.replace(/[^\x00-\x7F]/g,""),0==e?t:t.split(" ").slice(0,e).join(" ")},d=function(t){var e={"{title}":escape(l.ptitle),"{url}":l.purl,"{s-url}":l.psurl,"{twitter-username}":l.ptuname,"{excerpt}":escape(u())};for(var s in e)e.hasOwnProperty(s)&&(t=t.replace(RegExp(s,"g"),e[s]));return t};if(""!=l.cnt_sel)for(var w=l.cnt_sel.replace(/[\[\]<>"'\/\\=&%]/g,""),f=document.querySelectorAll(w),_=0;_<f.length;_++){var h=f[_];h.addEventListener("mousedown",function(t){wpsr_tsb.startx=t.pageX,wpsr_tsb.starty=t.pageY}),h.addEventListener("mouseup",function(t){var e=i();""!=e?(tsb_x=(t.pageX+parseInt(wpsr_tsb.startx))/2,tsb_y=Math.min(wpsr_tsb.starty,t.pageY),e!=wpsr_tsb.stext?(p(tsb_x,tsb_y),wpsr_tsb.stext=e):c()):c()})}document.body.addEventListener("mousedown",function(t){c()}),tsb.addEventListener("mousedown",function(t){t.stopPropagation()});for(var b=tsb.querySelectorAll("a"),_=0;_<b.length;_++){b[_].addEventListener("click",function(t){var e=this.getAttribute("data-link");"#"!=e&&(rep_link=d(e),wpsr_helpers.popup(rep_link,800,500)),t.preventDefault()})}}var v=document.querySelectorAll(".wp-socializer");v.length>0&&["resize","load"].forEach(function(t){window.addEventListener(t,function(){for(var t=0;t<v.length;t++){var e=v[t],s=e.getAttribute("data-lg-action"),r=e.getAttribute("data-sm-action"),a=e.getAttribute("data-sm-width"),n=window.innerWidth<=a?r:s;"close"==n?wpsr_helpers.addClass(e,"wpsr-closed"):wpsr_helpers.removeClass(e,"wpsr-closed"),"hide"==n?wpsr_helpers.addClass(e,"wpsr-hide"):wpsr_helpers.removeClass(e,"wpsr-hide"),"function"==typeof e.sm_action_call&&n==r&&e.sm_action_call(),"function"==typeof e.lg_action_call&&n==s&&e.lg_action_call()}})});var m=document.querySelectorAll(".wpsr-close-btn");if(m.length>0)for(_=0;_<m.length;_++){var g=m[_];g.addEventListener("click",function(){var t=this.parentNode;t.classList.contains("wpsr-closed")?wpsr_helpers.removeClass(t,"wpsr-closed"):wpsr_helpers.addClass(t,"wpsr-closed")})}if(wpsr_ajax_url){var y=document.querySelectorAll("[data-wpsrs]");if(y.length>0){var k={},A=wpsr_ajax_url+"?action=wpsr_share_count";for(_=0;_<y.length;_++){var C=y[_],x=C.getAttribute("data-wpsrs"),L=C.getAttribute("data-wpsrs-svcs").split(",");x in k||(k[x]=[]);for(j=0;j<L.length;j++)-1===k[x].indexOf(L[j])&&k[x].push(L[j])}var S=function(t){var e=JSON.parse(t.responseText),s=document.querySelectorAll('[data-wpsrs="'+t.props.forURL+'"]');for(_=0;_<s.length;_++){var r=s[_],a=r.getAttribute("data-wpsrs-svcs").split(","),n=0;for(j=0;j<a.length;j++){var o=a[j];o in e&&(n+=parseInt(e[o])||0)}n>0&&(r.innerHTML=wpsr_helpers.format_num(n))}};for(var x in k)k.hasOwnProperty(x)&&(send_data={url:x,services:k[x]},to_send="data="+JSON.stringify(send_data),wpsr_helpers.ajax(A,"POST",to_send,S,{forURL:x}))}}});
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: vaakash
3
  Donate link: https://www.paypal.me/vaakash/6
4
  Tags: social media, share, buttons, social sharing, share buttons, social profile, social widget, icons, sharing icons, sharing buttons, social share, sharing, shortcode, widget, twitter tweets, facebook page, share count, whatsapp icon, whatsapp button, instagram icon, sticky share, floating share bar
5
  Requires at least: 4.6
6
- Tested up to: 5.7
7
- Stable tag: 6.4
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
  Requires PHP: 5.3
@@ -154,6 +154,17 @@ Please refer [this page](https://www.aakashweb.com/docs/) for the full list of F
154
 
155
 
156
  ## Changelog
 
 
 
 
 
 
 
 
 
 
 
157
  ### 6.4
158
  * New: Added TikTok icon in follow me icons.
159
  * Fix: "Unparenthesized" error when using PHP 8.
3
  Donate link: https://www.paypal.me/vaakash/6
4
  Tags: social media, share, buttons, social sharing, share buttons, social profile, social widget, icons, sharing icons, sharing buttons, social share, sharing, shortcode, widget, twitter tweets, facebook page, share count, whatsapp icon, whatsapp button, instagram icon, sticky share, floating share bar
5
  Requires at least: 4.6
6
+ Tested up to: 5.7.2
7
+ Stable tag: 6.5
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
  Requires PHP: 5.3
154
 
155
 
156
  ## Changelog
157
+ ### 6.5
158
+ * New: Simplified and cleaned up the admin UI.
159
+ * New: Refined share icons layout.
160
+ * New: Xing can now be added in follow us icons.
161
+ * New: Automatically hide share count when it is 0.
162
+ * New: "Fade to dark" hover style.
163
+ * Fix: Facebook like count is 0.
164
+ * Fix: Share from text sharebar fails when there are non-ascii characters in share text.
165
+ * Fix: Share icons text font size.
166
+ * Fix: Share icons feature enabled by default.
167
+
168
  ### 6.4
169
  * New: Added TikTok icon in follow me icons.
170
  * Fix: "Unparenthesized" error when using PHP 8.
wpsr.php CHANGED
@@ -3,14 +3,14 @@
3
  * Plugin Name: WP Socializer
4
  * Plugin URI: https://www.aakashweb.com/wordpress-plugins/wp-socializer/
5
  * Description: Add various social media sharing features to posts/pages/widgets like social media share icons, floating/sticky share bar, follow my profile icons and more.
6
- * Version: 6.4
7
  * Author: Aakash Chakravarthy
8
  * Author URI: https://www.aakashweb.com
9
  * Text Domain: wpsr
10
  * Domain Path: /languages
11
  */
12
 
13
- define( 'WPSR_VERSION', '6.4' );
14
  define( 'WPSR_PATH', plugin_dir_path( __FILE__ ) ); // All have trailing slash
15
  define( 'WPSR_URL', plugin_dir_url( __FILE__ ) );
16
  define( 'WPSR_ADMIN_URL', trailingslashit( plugin_dir_url( __FILE__ ) . 'admin' ) );
3
  * Plugin Name: WP Socializer
4
  * Plugin URI: https://www.aakashweb.com/wordpress-plugins/wp-socializer/
5
  * Description: Add various social media sharing features to posts/pages/widgets like social media share icons, floating/sticky share bar, follow my profile icons and more.
6
+ * Version: 6.5
7
  * Author: Aakash Chakravarthy
8
  * Author URI: https://www.aakashweb.com
9
  * Text Domain: wpsr
10
  * Domain Path: /languages
11
  */
12
 
13
+ define( 'WPSR_VERSION', '6.5' );
14
  define( 'WPSR_PATH', plugin_dir_path( __FILE__ ) ); // All have trailing slash
15
  define( 'WPSR_URL', plugin_dir_url( __FILE__ ) );
16
  define( 'WPSR_ADMIN_URL', trailingslashit( plugin_dir_url( __FILE__ ) . 'admin' ) );