WP Socializer - Version 5.1

Version Description

  • New: Custom HTML can now be added above and below the social icons.
  • New: Add custom HTML in between social icons and in floating sharebar.
  • Fix: When no social icons are selected, empty HTML tag were inserted.
  • Fix: Admin UI is enhanced.
Download this release

Release Info

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

Code changes from version 5.0 to 5.1

admin/admin.php CHANGED
@@ -35,6 +35,8 @@ class WPSR_Admin{
35
 
36
  add_action( 'plugins_loaded', array( __CLASS__, 'on_activate' ) );
37
 
 
 
38
  register_activation_hook( WPSR_BASE_NAME, array( __CLASS__, 'on_activate' ) );
39
 
40
  }
@@ -95,23 +97,36 @@ class WPSR_Admin{
95
  self::admin_header();
96
 
97
  echo '<div id="content">';
98
- if(self::$current_page == 'home'){
99
-
100
- echo '<h1><i class="fa fa-star-of-life"></i>Features</h1>';
101
- self::admin_pages_list();
102
-
103
- echo '<h1><i class="fa fa-wrench"></i>Settings</h1>';
104
- self::admin_pages_list(false);
105
-
106
- self::intro_popups();
107
-
108
- self::admin_footer();
109
-
110
- }else{
111
- call_user_func( self::$pages[ self::$current_page ][ 'page_callback' ] );
112
- }
 
 
 
 
 
 
 
 
 
113
  echo '</div>';
114
-
 
 
 
 
115
  echo '</div>';
116
 
117
  }
@@ -235,10 +250,6 @@ class WPSR_Admin{
235
 
236
  echo '</form>';
237
 
238
- self::intro_popups();
239
-
240
- self::admin_footer();
241
-
242
  }
243
 
244
  public static function enqueue_scripts( $hook ){
@@ -690,8 +701,8 @@ class WPSR_Admin{
690
  if( in_array( get_current_screen()->id, $pages_display ) ){
691
  if( version_compare( WPSR_VERSION, get_option( 'wpsr_last_changelog' ), '>' ) ){
692
  echo '<div class="notice notice-success is-dismissible">
693
- <p>' . __( '<b>WP Socializer</b> is updated to the latest brand new version', 'wpsr') . '</p>
694
- <p>' . sprintf( __( 'Social icons and floating sharebar features have been updated. Social icons and sharebar is now beautiful and easy to configure. Please visit the %ssettings%s page to configure them.', 'wpsr' ), '<a href="' . esc_url( admin_url( 'admin.php?page=wp_socializer') ) . '">', '</a>' ) . '</p>
695
  <p><a href="' . esc_url( admin_url( 'admin.php?page=wp_socializer') ) . '" class="button button-primary">' . __( 'Open settings', 'wpsr' ) . '</a></p>
696
  </div>';
697
  }
@@ -700,24 +711,45 @@ class WPSR_Admin{
700
 
701
  public static function admin_links(){
702
  echo '<div class="admin_links">
703
- <a href="https://www.paypal.me/vaakash/" target="_blank"><i class="fa fa-coffee cdarkred"></i>Buy me a coffee !</a>
704
- <a href="https://wordpress.org/support/plugin/wp-socializer/reviews/?rate=5#new-post" target="_blank"><i class="fa fa-star corange"></i>Rate 5 stars</a>
705
- <a href="https://twitter.com/intent/tweet?hashtags=wordpress&ref_src=twsrc%5Etfw&related=vaakash&text=Check%20out%20WP%20Socializer%2C%20a%20powerful%20social%20media%20share%20icons%2C%20buttons%20plugin%20for%20WordPress&tw_p=tweetbutton&url=https%3A%2F%2Fwww.aakashweb.com%2Fwordpress-plugins%2Fwp-socializer%2F&via=vaakash" target="_blank"><i class="fab fa-twitter ctwitter"></i>Recommend this plugin</a>
706
  </div>';
707
  }
708
 
709
- public static function admin_footer(){
 
 
 
 
 
 
 
 
 
 
 
 
710
 
 
 
 
 
 
 
 
 
 
711
  echo '
712
- <div class="coffee_box">
 
 
 
 
713
 
714
  <div class="coffee_amt_wrap">
715
- <p><select class="coffee_amt">
716
- <option value="2">$2</option>
717
- <option value="3">$3</option>
718
- <option value="4">$4</option>
719
- <option value="5" selected="selected">$5</option>
720
- <option value="6">$6</option>
721
  <option value="7">$7</option>
722
  <option value="8">$8</option>
723
  <option value="9">$9</option>
@@ -725,27 +757,19 @@ class WPSR_Admin{
725
  <option value="11">$11</option>
726
  <option value="12">$12</option>
727
  <option value="">Custom</option>
728
- </select></p>
729
- <a class="button button-primary buy_coffee_btn" href="https://www.paypal.me/vaakash/5" data-link="https://www.paypal.me/vaakash/" target="_blank">Buy me a coffee !</a>
730
  </div>
731
-
732
- <h2>Buy me a coffee !</h2>
733
- <p>Thank you for using WP Socializer. If you found the plugin useful buy me a coffee ! Your donation will motivate and make me happy for all the efforts. You can donate via PayPal.</p>
734
-
735
  </div>
736
  ';
737
-
738
- echo '<div class="page_footer">
739
- <p><img src="' . WPSR_ADMIN_URL . '/images/icons/aakash-web.png" /> Created by <a href="https://goo.gl/aHKnsM" target="_blank">Aakash Chakravarthy</a> - Follow me on <a href="https://twitter.com/vaakash", target="_blank">Twitter</a>, <a href="https://fb.com/aakashweb" target="_blank">Facebook</a>, <a href="https://www.linkedin.com/in/vaakash/" target="_blank">LinkedIn</a>. Check out <a href="https://goo.gl/OAxx4l" target="_blank">my other works</a>.</p>
740
- </div>';
741
-
742
- echo '<div class="ufw"><a href="https://www.aakashweb.com/wordpress-plugins/ultimate-floating-widgets/" target="_blank">
743
- <span>Ultimate floating widgets</span><div class="banner"><img src="' . WPSR_ADMIN_URL . '/images/banners/ufw.png"/><em>A plugin to float your sidebar widgets. Check it out <i class="fas fa-arrow-down"></i></em></div></a>
744
- </div>';
745
 
746
  }
747
-
748
  public static function intro_popups(){
 
749
  echo '<div class="welcome_wrap intro_popup style_ele">
750
  <section></section>
751
  <footer><button class="button button-primary close_changelog_btn">' . __( 'Start using WP Socializer', 'wpsr' ) . '</button></footer>
35
 
36
  add_action( 'plugins_loaded', array( __CLASS__, 'on_activate' ) );
37
 
38
+ add_filter( 'admin_footer_text', array( __class__, 'footer_text' ) );
39
+
40
  register_activation_hook( WPSR_BASE_NAME, array( __CLASS__, 'on_activate' ) );
41
 
42
  }
97
  self::admin_header();
98
 
99
  echo '<div id="content">';
100
+
101
+ $c_share_buttons = get_option( 'wpsr_button_settings' );
102
+ $c_sharebar = get_option( 'wpsr_sharebar_settings' );
103
+
104
+ if( isset( $c_share_buttons[ 'ft_status' ] ) && $c_share_buttons[ 'ft_status' ] == 'enable' ){
105
+ echo '<div class="notice notice-error"><p>Classic share buttons feature is enabled on your site. Please note that this feature is <strong>deprecated</strong> and will be removed in the <strong>month of May</strong>. Please use the <strong>new and easy to configure</strong> "social icons" feature. For any help in migrating the settings, please post your queries in the <a href="https://www.aakashweb.com/forum/discuss/wordpress-plugins/wp-socializer/" target="_blank">support forums</a></p></div>';
106
+ }
107
+
108
+ if( isset( $c_sharebar[ 'ft_status' ] ) && $c_sharebar[ 'ft_status' ] == 'enable' ){
109
+ echo '<div class="notice notice-error"><p>Classic floating sharebar feature is enabled on your site. Please note that this feature is <strong>deprecated</strong> and will be removed in the <strong>month of May</strong>. Please use the <strong>new and easy to configure</strong> "floating sharebar" feature. For any help in migrating the settings, please post your queries in the <a href="https://www.aakashweb.com/forum/discuss/wordpress-plugins/wp-socializer/" target="_blank">support forums</a></p></div>';
110
+ }
111
+
112
+ if(self::$current_page == 'home'){
113
+
114
+ echo '<h1><i class="fa fa-star-of-life"></i>Features</h1>';
115
+ self::admin_pages_list();
116
+
117
+ echo '<h1><i class="fa fa-wrench"></i>Settings</h1>';
118
+ self::admin_pages_list(false);
119
+
120
+ }else{
121
+ call_user_func( self::$pages[ self::$current_page ][ 'page_callback' ] );
122
+ }
123
+
124
  echo '</div>';
125
+
126
+ self::admin_sidebar();
127
+
128
+ self::intro_popups();
129
+
130
  echo '</div>';
131
 
132
  }
250
 
251
  echo '</form>';
252
 
 
 
 
 
253
  }
254
 
255
  public static function enqueue_scripts( $hook ){
701
  if( in_array( get_current_screen()->id, $pages_display ) ){
702
  if( version_compare( WPSR_VERSION, get_option( 'wpsr_last_changelog' ), '>' ) ){
703
  echo '<div class="notice notice-success is-dismissible">
704
+ <p>' . __( '<b>WP Socializer</b> is updated to the latest brand new version', 'wpsr') . '</p>
705
+ <p>' . sprintf( __( 'Social icons and floating sharebar features have been updated. Social icons and sharebar is now beautiful and easy to configure. Please visit the %ssettings%s page to configure them.', 'wpsr' ), '<a href="' . esc_url( admin_url( 'admin.php?page=wp_socializer') ) . '">', '</a>' ) . '</p>
706
  <p><a href="' . esc_url( admin_url( 'admin.php?page=wp_socializer') ) . '" class="button button-primary">' . __( 'Open settings', 'wpsr' ) . '</a></p>
707
  </div>';
708
  }
711
 
712
  public static function admin_links(){
713
  echo '<div class="admin_links">
714
+ <a href="https://wordpress.org/support/plugin/wp-socializer/reviews/?rate=5#new-post" target="_blank" class="rate_btn"><i class="fa fa-star"></i>Rate 5 stars</a>
715
+ <a href="https://twitter.com/intent/tweet?hashtags=wordpress&ref_src=twsrc%5Etfw&related=vaakash&text=Check%20out%20WP%20Socializer%2C%20a%20powerful%20social%20media%20share%20icons%2C%20buttons%20plugin%20for%20WordPress&tw_p=tweetbutton&url=https%3A%2F%2Fwww.aakashweb.com%2Fwordpress-plugins%2Fwp-socializer%2F&via=vaakash" target="_blank" class="twitter_btn"><i class="fab fa-twitter"></i>Recommend this plugin</a>
 
716
  </div>';
717
  }
718
 
719
+ public static function footer_text( $text ){
720
+
721
+ $screen = get_current_screen();
722
+
723
+ if( self::$pagehook == $screen->id ){
724
+ return '<img src="' . WPSR_ADMIN_URL . '/images/icons/aakash-web.png" /> Thank you for using WP Socializer. Created by <a href="https://www.aakashweb.com" target="_blank">Aakash Chakravarthy</a> - Follow me on <a href="https://twitter.com/vaakash", target="_blank">Twitter</a>, <a href="https://fb.com/aakashweb" target="_blank">Facebook</a>, <a href="https://www.linkedin.com/in/vaakash/" target="_blank">LinkedIn</a>. More <a href="https://www.aakashweb.com/wordpress-plugins/" target="_blank">WordPress plugins</a>';
725
+ }
726
+
727
+ return $text;
728
+
729
+ }
730
+
731
+ public static function admin_sidebar(){
732
 
733
+ echo '<div id="sidebar">';
734
+
735
+ echo '<div class="side_card ufw">';
736
+ echo '<h2><i class="fas fa-heart"></i> More plugins</h2>';
737
+ echo '<div class="banner"><a href="https://www.aakashweb.com/wordpress-plugins/ultimate-floating-widgets/?utm_source=wp-socializer&utm_medium=sidebar&utm_campaign=ufw" target="_blank"><img src="' . WPSR_ADMIN_URL . '/images/banners/ufw.png" /></a></div>';
738
+ echo '<p>Ultimate floating widgets is a WordPress plugin to create floating sidebars in a popup or in flyouts and add any widget to it. From the same author of WP Socializer.</p>';
739
+ echo '<a href="https://www.aakashweb.com/wordpress-plugins/ultimate-floating-widgets/?utm_source=wp-socializer&utm_medium=sidebar&utm_campaign=ufw" class="button button-primary" target="_blank">Check it out ! <i class="fas fa-chevron-right"></i></a>';
740
+ echo '</div>';
741
+
742
  echo '
743
+ <div class="side_card coffee_box">
744
+
745
+ <h2><i class="fas fa-mug-hot"></i> Buy me a coffee !</h2>
746
+ <p>Thanks for using WP Socializer. If you found the plugin useful buy me a coffee !</p>
747
+ <p>Your donation will help further develop, add new features and support this plugin.</p>
748
 
749
  <div class="coffee_amt_wrap">
750
+ <select class="coffee_amt">
751
+ <option value="5">$5</option>
752
+ <option value="6" selected="selected">$6</option>
 
 
 
753
  <option value="7">$7</option>
754
  <option value="8">$8</option>
755
  <option value="9">$9</option>
757
  <option value="11">$11</option>
758
  <option value="12">$12</option>
759
  <option value="">Custom</option>
760
+ </select>
761
+ <a class="button button-primary buy_coffee_btn" href="https://www.paypal.me/vaakash/6" data-link="https://www.paypal.me/vaakash/" target="_blank">Buy me a coffee !<i class="fas fa-chevron-right"></i></a>
762
  </div>
763
+
 
 
 
764
  </div>
765
  ';
766
+
767
+ echo '</div>';
 
 
 
 
 
 
768
 
769
  }
770
+
771
  public static function intro_popups(){
772
+
773
  echo '<div class="welcome_wrap intro_popup style_ele">
774
  <section></section>
775
  <footer><button class="button button-primary close_changelog_btn">' . __( 'Start using WP Socializer', 'wpsr' ) . '</button></footer>
admin/css/style.css CHANGED
@@ -7,8 +7,7 @@
7
  border-bottom: 1px solid #dfdfdf;
8
  }
9
  #wpsr_header hgroup{
10
- width: 70%;
11
- margin: 0 auto;
12
  position: relative;
13
  padding-left: 20px;
14
  }
@@ -45,8 +44,7 @@ h1.wpsr_title a i{
45
  }
46
 
47
  #content {
48
- width: 70%;
49
- margin: 0 auto;
50
  }
51
  #content h1 {
52
  padding: 0;
@@ -57,6 +55,44 @@ h1.wpsr_title a i{
57
  margin: 0;
58
  }
59
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
60
  .admin_pages_list{
61
  display: flex;
62
  flex-wrap: wrap;
@@ -1201,6 +1237,9 @@ select[name="ft_status"]{
1201
  font-weight: normal !important;
1202
  color: #666;
1203
  }
 
 
 
1204
 
1205
  .img_select{
1206
  display: none;
@@ -1344,25 +1383,31 @@ select[name="ft_status"]{
1344
  .admin_links{
1345
  position: absolute;
1346
  top: 40px;
1347
- right: 0;
1348
  display: flex;
1349
  transform: translateY(-50%);
1350
  }
1351
  .admin_links a{
1352
- background: #fff;
1353
  border-radius: 5px;
1354
  padding: 7px 10px;
1355
  margin: 0 0 0 10px;
1356
  text-decoration: none;
1357
- font-size: 13px;
1358
- border: 1px solid #dfdfdf;
 
1359
  }
1360
  .admin_links a:hover{
1361
- background: #dfdfdf;
1362
  }
1363
  .admin_links a i{
1364
  margin-right: 10px;
1365
  }
 
 
 
 
 
 
1366
 
1367
  .intro_popup{
1368
  background: #fff;
@@ -1429,18 +1474,16 @@ select[name="ft_status"]{
1429
  margin-left: 10px;
1430
  }
1431
 
1432
- .page_footer p {
1433
  font-size: 12px;
1434
  font-style: italic;
1435
  margin: 5px 0;
1436
  color: #757575;
1437
  }
1438
- .page_footer p img{
1439
  vertical-align: middle;
1440
  margin-right: 5px;
1441
- }
1442
- .page_footer .fright p{
1443
- text-align: right;
1444
  }
1445
 
1446
  .veditor > .ui-sortable-helper{
@@ -1518,76 +1561,33 @@ select[name="ft_status"]{
1518
  color: #4caf50;
1519
  }
1520
 
1521
- .coffee_box{
1522
- padding: 25px;
1523
- border: 1px solid #4CAF50;
1524
- padding-left: 17%;
1525
- background: url(../images/icons/coffee.svg) no-repeat;
1526
- border-radius: 5px;
1527
- background-position: 30px center;
1528
- margin-bottom: 15px;
1529
- background-size: 95px;
1530
- background-color: #fff;
1531
- }
1532
- .coffee_box h2{
1533
- font-size: 22px;
1534
- margin-top: 10px;
1535
- }
1536
- .coffee_box .coffee_amt{
1537
- width: 120px;
1538
- padding: 10px;
1539
- height: auto;
1540
- font-size: 1.5em;
1541
- }
1542
- .coffee_amt_wrap{
1543
- float: right;
1544
- margin: -10px 20px 0 20px;
1545
- }
1546
-
1547
  /** Promo **/
1548
 
1549
- .ufw{
1550
- position: fixed;
1551
- right: 5px;
1552
- bottom: 0;
1553
- text-align: center;
1554
- background: #71a3e4 url(../images/icons/ufw.png) no-repeat;
1555
- padding: 10px 10px 10px 35px;
1556
- border-bottom: 0;
1557
- border-radius: 5px 5px 0 0;
1558
- box-shadow: 0 -2px 6px -2px #7e7e7e;
1559
- z-index: 99999;
1560
- }
1561
- .ufw a{
1562
- text-decoration: none;
1563
  color: #fff;
1564
  }
1565
- .ufw a:hover{
1566
- text-decoration: underline;
 
1567
  }
1568
- .ufw .banner{
1569
- display: none;
1570
- position: fixed;
1571
- right: 5px;
1572
- width: 320px;
1573
- bottom: 50px;
1574
- border-radius: 10px;
1575
- box-shadow: 0 0 2px 0px #000;
1576
- background: #000;
1577
- padding: 5px;
1578
- color: #fff;
1579
  }
1580
- .ufw .banner img {
1581
  width: 100%;
1582
- border-radius: 5px;
1583
  }
1584
- .ufw:hover .banner{
1585
- display: block;
 
 
1586
  }
1587
- .ufw .banner em{
1588
- padding: 5px;
1589
- display: inline-block;
1590
- font-style: normal;
1591
  }
1592
 
1593
  /** Misc **/
@@ -1787,10 +1787,13 @@ select[name="ft_status"]{
1787
  .main_form_footer{
1788
  position: static;
1789
  }
1790
- .coffee_box{
1791
- background: #fff;
 
 
 
1792
  }
1793
- .ufw{
1794
- display: none;
1795
  }
1796
  }
7
  border-bottom: 1px solid #dfdfdf;
8
  }
9
  #wpsr_header hgroup{
10
+ width: 75%;
 
11
  position: relative;
12
  padding-left: 20px;
13
  }
44
  }
45
 
46
  #content {
47
+ width: 75%;
 
48
  }
49
  #content h1 {
50
  padding: 0;
55
  margin: 0;
56
  }
57
 
58
+ #sidebar{
59
+ position: fixed;
60
+ width: calc(25% - 90px);
61
+ right: 20px;
62
+ top: 50%;
63
+ transform: translateY(-50%);
64
+ }
65
+ .side_card {
66
+ padding: 25px;
67
+ border-radius: 5px;
68
+ background-position: 30px center;
69
+ margin-bottom: 15px;
70
+ background-size: 95px;
71
+ background-color: #fff;
72
+ box-shadow: 0 2px 4px -2px rgba(0, 0, 0, 0.5);
73
+ }
74
+ .side_card h2 {
75
+ margin: -25px -25px 0 -25px;
76
+ padding: 15px 10px 15px 10px;
77
+ border-radius: 5px 5px 0 0;
78
+ }
79
+ .side_card h2 i {
80
+ margin: 0 10px;
81
+ }
82
+ .side_card .banner{
83
+ margin: 0 -25px;
84
+ }
85
+ .side_card .banner img{
86
+ width: 100%;
87
+ }
88
+ .side_card .button-primary{
89
+ width: 100%;
90
+ }
91
+ .side_card .button-primary i {
92
+ float: right;
93
+ margin-top: 7px;
94
+ }
95
+
96
  .admin_pages_list{
97
  display: flex;
98
  flex-wrap: wrap;
1237
  font-weight: normal !important;
1238
  color: #666;
1239
  }
1240
+ .form-table .inline_field{
1241
+ margin-right: 10px;
1242
+ }
1243
 
1244
  .img_select{
1245
  display: none;
1383
  .admin_links{
1384
  position: absolute;
1385
  top: 40px;
1386
+ right: 20px;
1387
  display: flex;
1388
  transform: translateY(-50%);
1389
  }
1390
  .admin_links a{
 
1391
  border-radius: 5px;
1392
  padding: 7px 10px;
1393
  margin: 0 0 0 10px;
1394
  text-decoration: none;
1395
+ font-size: 14px;
1396
+ box-shadow: 0 1px 2px -1px #00000085;
1397
+ color: #fff;
1398
  }
1399
  .admin_links a:hover{
1400
+ opacity: 0.5;
1401
  }
1402
  .admin_links a i{
1403
  margin-right: 10px;
1404
  }
1405
+ .admin_links .rate_btn{
1406
+ background: linear-gradient(45deg, #ff9800, #ffd400);
1407
+ }
1408
+ .admin_links .twitter_btn{
1409
+ background: linear-gradient(45deg, #4da7de, #03c5f1);
1410
+ }
1411
 
1412
  .intro_popup{
1413
  background: #fff;
1474
  margin-left: 10px;
1475
  }
1476
 
1477
+ #footer-left{
1478
  font-size: 12px;
1479
  font-style: italic;
1480
  margin: 5px 0;
1481
  color: #757575;
1482
  }
1483
+ #footer-left img{
1484
  vertical-align: middle;
1485
  margin-right: 5px;
1486
+ width: 20px;
 
 
1487
  }
1488
 
1489
  .veditor > .ui-sortable-helper{
1561
  color: #4caf50;
1562
  }
1563
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1564
  /** Promo **/
1565
 
1566
+ .coffee_box h2{
1567
+ background-color: #5fab07;
 
 
 
 
 
 
 
 
 
 
 
 
1568
  color: #fff;
1569
  }
1570
+ .coffee_box .coffee_amt {
1571
+ font-size: 1.25em;
1572
+ margin-bottom: 10px;
1573
  }
1574
+ .coffee_box h2 i{
1575
+ color: yellow;
1576
+ }
1577
+ .coffee_amt_wrap{
1578
+ display: flex;
1579
+ flex-direction: column;
 
 
 
 
 
1580
  }
1581
+ .coffee_amt{
1582
  width: 100%;
 
1583
  }
1584
+
1585
+ .ufw h2{
1586
+ background-color: #4a81d1;
1587
+ color: #fff;
1588
  }
1589
+ .ufw h2 i{
1590
+ color: #FF5722;
 
 
1591
  }
1592
 
1593
  /** Misc **/
1787
  .main_form_footer{
1788
  position: static;
1789
  }
1790
+ #sidebar{
1791
+ position: static;
1792
+ width: 100%;
1793
+ transform: none;
1794
+ display: flex;
1795
  }
1796
+ #sidebar .side_card{
1797
+ margin-right: 15px;
1798
  }
1799
  }
admin/floating_sharebar.php CHANGED
@@ -49,7 +49,7 @@ class wpsr_admin_floating_sharebar{
49
 
50
  WPSR_Admin::build_table( $section0, __( 'Enable/disable floating sharebar', 'wpsr' ), '', false, '1' );
51
 
52
- $icon_settings = array( 'icon', 'hover_text' );
53
  WPSR_Icons_Editor::commons( $icon_settings );
54
 
55
  echo '<div class="feature_wrap">';
49
 
50
  WPSR_Admin::build_table( $section0, __( 'Enable/disable floating sharebar', 'wpsr' ), '', false, '1' );
51
 
52
+ $icon_settings = array( 'icon', 'hover_text', 'html' );
53
  WPSR_Icons_Editor::commons( $icon_settings );
54
 
55
  echo '<div class="feature_wrap">';
admin/icons_editor.php CHANGED
@@ -97,6 +97,15 @@ class WPSR_Icons_Editor{
97
  }
98
 
99
  foreach( $icon_settings as $is_id => $is_props ){
 
 
 
 
 
 
 
 
 
100
  array_push( $datas, 'data-icns_' . $is_id . '=""' );
101
  }
102
 
@@ -140,6 +149,11 @@ class WPSR_Icons_Editor{
140
  'type' => 'text',
141
  'helper' => __( 'Text to show on hovering the icon', 'wpsr' ),
142
  'placeholder' => __( 'Enter custom text to appear when the icon is hovered.', 'wpsr' )
 
 
 
 
 
143
  )
144
  );
145
 
97
  }
98
 
99
  foreach( $icon_settings as $is_id => $is_props ){
100
+
101
+ if( $id == 'html' && $is_id != 'html' ){
102
+ continue;
103
+ }
104
+
105
+ if( $id != 'html' && $is_id == 'html' ){
106
+ continue;
107
+ }
108
+
109
  array_push( $datas, 'data-icns_' . $is_id . '=""' );
110
  }
111
 
149
  'type' => 'text',
150
  'helper' => __( 'Text to show on hovering the icon', 'wpsr' ),
151
  'placeholder' => __( 'Enter custom text to appear when the icon is hovered.', 'wpsr' )
152
+ ),
153
+ 'html' => array(
154
+ 'type' => 'textarea',
155
+ 'helper' => __( 'Custom HTML', 'wpsr' ),
156
+ 'placeholder' => __( 'Enter custom HTML to occur. You can use the parameters <code>{url}</code> and <code>{title}</code> to replace them with the current page URL and title respectively.<br/><strong>Note:</strong> For any formatting issues, please use custom CSS to adjust the output as required.', 'wpsr' )
157
  )
158
  );
159
 
admin/images/banners/ufw.png CHANGED
Binary file
admin/images/icons/aakash-web.png CHANGED
Binary file
admin/images/icons/ufw.png DELETED
Binary file
admin/js/script.js CHANGED
@@ -1247,8 +1247,9 @@ jQuery(document).ready(function(){
1247
  continue;
1248
 
1249
  $wrap = $( '<tr><th></th><td></td></tr>' );
1250
- $checkbox = $( '<input type="checkbox" value="1" />' );
1251
- $text = $( '<input type="text" class="widefat" />' );
 
1252
 
1253
  helper = sip_icon_settings[ the_opt ][ 'helper' ];
1254
  type = sip_icon_settings[ the_opt ][ 'type' ];
@@ -1267,6 +1268,10 @@ jQuery(document).ready(function(){
1267
  $the_input = $text.val( opt_val ).attr( 'data-id', the_opt );
1268
  }
1269
 
 
 
 
 
1270
  $wrap.find( 'th' ).append( helper );
1271
  $wrap.find( 'td' ).append( $the_input );
1272
 
@@ -1286,13 +1291,13 @@ jQuery(document).ready(function(){
1286
 
1287
  if( $icon.length ){
1288
  $popup = $( this ).closest( '.sie_icon_settings' );
1289
- $inputs = $popup.find( 'tr input' );
1290
 
1291
  $inputs.each( function(){
1292
 
1293
  $i = $( this );
1294
  id = $i.data( 'id' );
1295
- type = $i.attr( 'type' );
1296
  value = '';
1297
 
1298
  if( type == 'checkbox' && $i.is( ':checked' ) )
@@ -1301,6 +1306,9 @@ jQuery(document).ready(function(){
1301
  if( type == 'text' )
1302
  value = $i.val();
1303
 
 
 
 
1304
  $icon.data( 'icns_' + id, value );
1305
 
1306
  });
1247
  continue;
1248
 
1249
  $wrap = $( '<tr><th></th><td></td></tr>' );
1250
+ $checkbox = $( '<input type="checkbox" value="1" class="sie_is_input" data-type="checkbox" />' );
1251
+ $text = $( '<input type="text" class="widefat sie_is_input" data-type="text" />' );
1252
+ $textarea = $( '<textarea class="widefat sie_is_input" data-type="textarea"></textarea>' );
1253
 
1254
  helper = sip_icon_settings[ the_opt ][ 'helper' ];
1255
  type = sip_icon_settings[ the_opt ][ 'type' ];
1268
  $the_input = $text.val( opt_val ).attr( 'data-id', the_opt );
1269
  }
1270
 
1271
+ if( type == 'textarea' ){
1272
+ $the_input = $textarea.val( opt_val ).attr( 'data-id', the_opt );
1273
+ }
1274
+
1275
  $wrap.find( 'th' ).append( helper );
1276
  $wrap.find( 'td' ).append( $the_input );
1277
 
1291
 
1292
  if( $icon.length ){
1293
  $popup = $( this ).closest( '.sie_icon_settings' );
1294
+ $inputs = $popup.find( '.sie_is_input' );
1295
 
1296
  $inputs.each( function(){
1297
 
1298
  $i = $( this );
1299
  id = $i.data( 'id' );
1300
+ type = $i.data( 'type' );
1301
  value = '';
1302
 
1303
  if( type == 'checkbox' && $i.is( ':checked' ) )
1306
  if( type == 'text' )
1307
  value = $i.val();
1308
 
1309
+ if( type == 'textarea' )
1310
+ value = $i.val();
1311
+
1312
  $icon.data( 'icns_' + id, value );
1313
 
1314
  });
admin/social_icons.php CHANGED
@@ -200,6 +200,18 @@ class wpsr_admin_social_icons{
200
  'helper' => __( 'Heading to show above the share buttons. HTML is allowed.' )
201
  ))),
202
 
 
 
 
 
 
 
 
 
 
 
 
 
203
  );
204
 
205
  WPSR_Admin::build_table( $customization, __( 'Customization', 'wpsr' ), '', false, '3' );
@@ -257,7 +269,7 @@ class wpsr_admin_social_icons{
257
 
258
  WPSR_Admin::build_table( $section0, __( 'Enable/disable social icons', 'wpsr' ), '', false, '1' );
259
 
260
- $icon_settings = array( 'icon', 'text', 'hover_text' );
261
  WPSR_Icons_Editor::commons( $icon_settings );
262
 
263
  echo '<div class="feature_wrap">';
200
  'helper' => __( 'Heading to show above the share buttons. HTML is allowed.' )
201
  ))),
202
 
203
+ array( __( 'Custom HTML above and below icons', 'wpsr' ), WPSR_Admin::field( 'textarea', array(
204
+ 'name' => 'tmpl[' . $i . '][custom_html_above]',
205
+ 'value' => $values[ 'tmpl' ][ $i ][ 'custom_html_above' ],
206
+ 'class' => 'inline_field',
207
+ 'placeholder' => 'Above'
208
+ )) . WPSR_Admin::field( 'textarea', array(
209
+ 'name' => 'tmpl[' . $i . '][custom_html_below]',
210
+ 'value' => $values[ 'tmpl' ][ $i ][ 'custom_html_below' ],
211
+ 'class' => '',
212
+ 'placeholder' => 'Below'
213
+ ))),
214
+
215
  );
216
 
217
  WPSR_Admin::build_table( $customization, __( 'Customization', 'wpsr' ), '', false, '3' );
269
 
270
  WPSR_Admin::build_table( $section0, __( 'Enable/disable social icons', 'wpsr' ), '', false, '1' );
271
 
272
+ $icon_settings = array( 'icon', 'text', 'hover_text', 'html' );
273
  WPSR_Icons_Editor::commons( $icon_settings );
274
 
275
  echo '<div class="feature_wrap">';
core/lists.php CHANGED
@@ -308,6 +308,16 @@ class WPSR_Lists{
308
  'colors' => array( '#4dbc15' ),
309
  ),
310
 
 
 
 
 
 
 
 
 
 
 
311
  'instagram' => array(
312
  'name' => 'Instagram',
313
  'title' => __('', 'wpsr') . 'Instagram',
@@ -812,6 +822,8 @@ class WPSR_Lists{
812
  'more_icons' => '0',
813
  'center_icons' => '',
814
  'heading' => '<h3>Share and Enjoy !</h3>',
 
 
815
  'loc_rules' => array(
816
  'type' => 'show_all',
817
  'rule' => 'W10=',
308
  'colors' => array( '#4dbc15' ),
309
  ),
310
 
311
+ 'html' => array(
312
+ 'name' => 'Custom HTML',
313
+ 'title' => __('', 'wpsr'),
314
+ 'icon' => array('fa4'=> 'fa fa-code', 'fa5' => 'fa fa-code'),
315
+ 'link' => 'https://aakashweb.com',
316
+ 'options' => array(),
317
+ 'features' => array( 'for_share' ),
318
+ 'colors' => array( 'red' ),
319
+ ),
320
+
321
  'instagram' => array(
322
  'name' => 'Instagram',
323
  'title' => __('', 'wpsr') . 'Instagram',
822
  'more_icons' => '0',
823
  'center_icons' => '',
824
  'heading' => '<h3>Share and Enjoy !</h3>',
825
+ 'custom_html_above' => '',
826
+ 'custom_html_below' => '',
827
  'loc_rules' => array(
828
  'type' => 'show_all',
829
  'rule' => 'W10=',
core/templates.php CHANGED
@@ -593,9 +593,20 @@ class WPSR_Template_Social_Icons{
593
 
594
  $counters_selected = array();
595
 
 
 
 
 
 
 
596
  foreach( $selected_icons as $icon ){
597
 
598
  $id = key( $icon );
 
 
 
 
 
599
  $props = $social_icons[ $id ];
600
  $icon_classes = array( 'sr-' . $id );
601
 
@@ -609,6 +620,21 @@ class WPSR_Template_Social_Icons{
609
  'hover_text' => ''
610
  ));
611
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
612
  $url = WPSR_Metadata::process_url( $props[ 'link' ], $page_info );
613
  $onclick = isset( $props[ 'onclick' ] ) ? 'onclick="' . $props[ 'onclick' ] . '"' : '';
614
 
@@ -704,10 +730,18 @@ class WPSR_Template_Social_Icons{
704
  $html .= '</div>';
705
  }
706
 
 
 
 
 
707
  $html .= '<div class="wp-socializer wpsr-buttons ' . $wrap_classes . '">';
708
  $html .= $row_html;
709
  $html .= '</div>';
710
 
 
 
 
 
711
  return array(
712
  'html' => $html
713
  );
@@ -789,6 +823,21 @@ class WPSR_Template_Floating_Sharebar{
789
  'hover_text' => ''
790
  ));
791
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
792
  $url = WPSR_Metadata::process_url( $props[ 'link' ], $page_info );
793
  $onclick = isset( $props[ 'onclick' ] ) ? 'onclick="' . $props[ 'onclick' ] . '"' : '';
794
 
593
 
594
  $counters_selected = array();
595
 
596
+ if( empty( $selected_icons ) ){
597
+ return array(
598
+ 'html' => ''
599
+ );
600
+ }
601
+
602
  foreach( $selected_icons as $icon ){
603
 
604
  $id = key( $icon );
605
+
606
+ if( !array_key_exists( $id, $social_icons ) ){
607
+ continue;
608
+ }
609
+
610
  $props = $social_icons[ $id ];
611
  $icon_classes = array( 'sr-' . $id );
612
 
620
  'hover_text' => ''
621
  ));
622
 
623
+ // If custom HTML button
624
+ if( $id == 'html' ){
625
+ $tags = array();
626
+ $replace_with = array();
627
+ foreach( $page_info as $id => $val ){
628
+ array_push( $tags, '{' . $id . '}' );
629
+ array_push( $replace_with, $val );
630
+ }
631
+ $custom_html = str_replace( $tags, $replace_with, $settings[ 'html' ] );
632
+
633
+ $ihtml = '<div class="sr-custom-html">' . $custom_html . '</div>';
634
+ array_push( $icons_html, $ihtml );
635
+ continue;
636
+ }
637
+
638
  $url = WPSR_Metadata::process_url( $props[ 'link' ], $page_info );
639
  $onclick = isset( $props[ 'onclick' ] ) ? 'onclick="' . $props[ 'onclick' ] . '"' : '';
640
 
730
  $html .= '</div>';
731
  }
732
 
733
+ if( trim( $tmpl[ 'custom_html_above' ] ) != '' ){
734
+ $html .= $tmpl[ 'custom_html_above' ];
735
+ }
736
+
737
  $html .= '<div class="wp-socializer wpsr-buttons ' . $wrap_classes . '">';
738
  $html .= $row_html;
739
  $html .= '</div>';
740
 
741
+ if( trim( $tmpl[ 'custom_html_below' ] ) != '' ){
742
+ $html .= $tmpl[ 'custom_html_below' ];
743
+ }
744
+
745
  return array(
746
  'html' => $html
747
  );
823
  'hover_text' => ''
824
  ));
825
 
826
+ // If custom HTML button
827
+ if( $id == 'html' ){
828
+ $tags = array();
829
+ $replace_with = array();
830
+ foreach( $page_info as $id => $val ){
831
+ array_push( $tags, '{' . $id . '}' );
832
+ array_push( $replace_with, $val );
833
+ }
834
+ $custom_html = str_replace( $tags, $replace_with, $settings[ 'html' ] );
835
+
836
+ $ihtml = '<div class="sr-custom-html">' . $custom_html . '</div>';
837
+ array_push( $icons_html, $ihtml );
838
+ continue;
839
+ }
840
+
841
  $url = WPSR_Metadata::process_url( $props[ 'link' ], $page_info );
842
  $onclick = isset( $props[ 'onclick' ] ) ? 'onclick="' . $props[ 'onclick' ] . '"' : '';
843
 
public/css/wp-socializer.css CHANGED
@@ -460,6 +460,9 @@
460
  display: flex;
461
  justify-content: center;
462
  }
 
 
 
463
 
464
  .wpsr-btn .fb_iframe_widget {
465
  margin-bottom: 0;
460
  display: flex;
461
  justify-content: center;
462
  }
463
+ .sr-custom-html {
464
+ line-height: 1;
465
+ }
466
 
467
  .wpsr-btn .fb_iframe_widget {
468
  margin-bottom: 0;
public/css/wp-socializer.min.css CHANGED
@@ -1 +1 @@
1
- .wp-socializer:after{clear:both;content:'';display:block}.wpsr-buttons{display:block;margin:0 0 1.5em 0}.wpsr-buttons .wpsr-btn{float:left;margin:0 1em 0 0;padding:0;line-height:0}.wpsr-buttons .wpsr-btn:last-child{margin-right:0}.wpsr-sharebar{transition:all 0.5s;box-sizing:border-box;z-index:99999}.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-btn{margin-bottom:1em;display:block}.wpsr-sb-vl .wpsr-btn:last-child{margin:0}.wpsr-sb-vl-wleft{left:0}.wpsr-sb-vl-wright{right:0}.wpsr-sb-vl-static{position:absolute}.wpsr-sb-hl{left:50%;transform:translateX(-50%);position:fixed}.wpsr-sb-hl .wpsr-btn{float:left;margin:0 1em 0 0;padding:0;line-height:0}.wpsr-sb-hl .wpsr-btn:last-child{margin:0}.wpsr-sb-hl-wtop{top:0}.wpsr-sb-hl-wbottom{bottom:0}.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-sq{padding:10px;text-align:center;box-shadow:0 0 5px 0 rgba(0,0,0,0.2);border:1px solid transparent}.wpsr-sb-simple-ns{text-align:center;border:1px solid transparent}.wpsr-sharebar::-webkit-scrollbar{width:5px;height:5px}.wpsr-sharebar::-webkit-scrollbar-thumb{background:#aaa;border-radius:10px}.wpsr-sharebar:hover .wpsr-sb-close{display:block}.wpsr-sharebar.wpsr-how{display:none}.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{right:0;transform:translate(100%,-50%);top:50%}.wpsr-mow.wpsr-sharebar{width:48px;height:48px;border-radius:50%;background:none!important;border:none!important;box-shadow:none!important}.wpsr-mow.wpsr-sharebar .wpsr-sb-inner{display:none}.wpsr-mow.wpsr-sharebar .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}.wpsr-counter .scount{font-size:2em;font-weight:bold}.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-hl{line-height:1em;font-size:18px}.wpsr-counter.wpsrc-hl .scount{font-size:1em;margin-right:0.25em}.wpsr-counter.wpsrc-hl .stext{display:inline-block;font-size:0.8em}.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-followbar{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-followbar div.sr-fb-title{font-size:0.8em;margin:0 0 0.8em 0}.wpsr-followbar.sr-fb-hl .sr-fb-title{position:absolute;bottom:0;transform:translateX(-100%);left:-1em;top:50%;margin:0}.wpsr-followbar.sr-fb-vl{text-align:center;line-height:1.5q}.wpsr-followbar.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-followbar:hover .wpsr-fb-close{display:block}.wpsr-mow.wpsr-followbar .sr-fb-title{display:none}.wpsr-mow.wpsr-followbar .sr-followbar{display:none}.wpsr-mow.wpsr-followbar .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-mow.sr-fb-tl .wpsr-fb-close,.wpsr-mow.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-mobile-sb{position:fixed;bottom:0;left:0;right:0;line-height:0;background:#fff;box-shadow:0 3px 5px 3px #000;transition:margin 1s ease-out;margin-bottom:0;z-index:99999}.wpsr-mobile-sb.wpsr-msb-hide{transition:margin 2s ease-out;margin-bottom:-68px}.wpsr-mow.wpsr-buttons{display:none}.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-mow .wpsr-bar-icon .i-close{display:none}.wpsr-mow .wpsr-bar-icon .i-open{display:block}.wpsr-mow .wpsr-bar-icon{padding:5px}.wpsr-clearfix:after{display:block;clear:both;content:''}.wpsr-flex{display:flex}.wpsr-flex-center{display:flex;justify-content:center}.wpsr-btn .fb_iframe_widget{margin-bottom:0}@keyframes wpsr-fadein{0%{opacity:0}100%{opacity:1}}@keyframes wpsr-fadeout{0%{opacity:1}100%{opacity:0}}@media only screen and (max-width:800px){.wpsr-sb-hl{bottom:0!important;top:auto!important;left:-1px!important;right:-1px!important;border-radius:0;overflow:auto;transform:none;padding-left:60px;max-height:84px}.wpsr-sb-hl .wpsr-sb-inner{width:100%;padding:10px}.wpsr-sb-hl .wpsr-sb-close{display:block;position:absolute;left:0;top:0;bottom:0;width:50px;transform:none;padding:0}.wpsr-sb-vl{bottom:0!important;top:0!important;left:-1px!important;right:auto!important;margin-left:0!important;border-radius:0;overflow:auto;transform:none;padding-top:60px}.wpsr-sb-vl .wpsr-sb-close{display:block;position:absolute;left:0!important;top:0;right:0;margin:0!important;transform:none;height:50px;padding:0}.wpsr-sb-vl.wpsr-sb-mobmode-right{right:0!important;left:auto!important}.wpsr-sb-simple-ns{background:#fff;border:1px solid #dfdfdf}.wpsr-mow.wpsr-sharebar{width:50px;height:50px;padding:0;overflow:hidden;border-radius:0}.wpsr-sharebar .wpsr-bar-icon{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}}
1
+ .wp-socializer:after{clear:both;content:'';display:block}.wpsr-buttons{display:block;margin:0 0 1.5em 0}.wpsr-buttons .wpsr-btn{float:left;margin:0 1em 0 0;padding:0;line-height:0}.wpsr-buttons .wpsr-btn:last-child{margin-right:0}.wpsr-sharebar{transition:all 0.5s;box-sizing:border-box;z-index:99999}.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-btn{margin-bottom:1em;display:block}.wpsr-sb-vl .wpsr-btn:last-child{margin:0}.wpsr-sb-vl-wleft{left:0}.wpsr-sb-vl-wright{right:0}.wpsr-sb-vl-static{position:absolute}.wpsr-sb-hl{left:50%;transform:translateX(-50%);position:fixed}.wpsr-sb-hl .wpsr-btn{float:left;margin:0 1em 0 0;padding:0;line-height:0}.wpsr-sb-hl .wpsr-btn:last-child{margin:0}.wpsr-sb-hl-wtop{top:0}.wpsr-sb-hl-wbottom{bottom:0}.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-sq{padding:10px;text-align:center;box-shadow:0 0 5px 0 rgba(0,0,0,0.2);border:1px solid transparent}.wpsr-sb-simple-ns{text-align:center;border:1px solid transparent}.wpsr-sharebar::-webkit-scrollbar{width:5px;height:5px}.wpsr-sharebar::-webkit-scrollbar-thumb{background:#aaa;border-radius:10px}.wpsr-sharebar:hover .wpsr-sb-close{display:block}.wpsr-sharebar.wpsr-how{display:none}.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{right:0;transform:translate(100%,-50%);top:50%}.wpsr-mow.wpsr-sharebar{width:48px;height:48px;border-radius:50%;background:none!important;border:none!important;box-shadow:none!important}.wpsr-mow.wpsr-sharebar .wpsr-sb-inner{display:none}.wpsr-mow.wpsr-sharebar .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}.wpsr-counter .scount{font-size:2em;font-weight:bold}.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-hl{line-height:1em;font-size:18px}.wpsr-counter.wpsrc-hl .scount{font-size:1em;margin-right:0.25em}.wpsr-counter.wpsrc-hl .stext{display:inline-block;font-size:0.8em}.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-followbar{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-followbar div.sr-fb-title{font-size:0.8em;margin:0 0 0.8em 0}.wpsr-followbar.sr-fb-hl .sr-fb-title{position:absolute;bottom:0;transform:translateX(-100%);left:-1em;top:50%;margin:0}.wpsr-followbar.sr-fb-vl{text-align:center;line-height:1.5q}.wpsr-followbar.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-followbar:hover .wpsr-fb-close{display:block}.wpsr-mow.wpsr-followbar .sr-fb-title{display:none}.wpsr-mow.wpsr-followbar .sr-followbar{display:none}.wpsr-mow.wpsr-followbar .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-mow.sr-fb-tl .wpsr-fb-close,.wpsr-mow.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-mobile-sb{position:fixed;bottom:0;left:0;right:0;line-height:0;background:#fff;box-shadow:0 3px 5px 3px #000;transition:margin 1s ease-out;margin-bottom:0;z-index:99999}.wpsr-mobile-sb.wpsr-msb-hide{transition:margin 2s ease-out;margin-bottom:-68px}.wpsr-mow.wpsr-buttons{display:none}.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-mow .wpsr-bar-icon .i-close{display:none}.wpsr-mow .wpsr-bar-icon .i-open{display:block}.wpsr-mow .wpsr-bar-icon{padding:5px}.wpsr-clearfix:after{display:block;clear:both;content:''}.wpsr-flex{display:flex}.wpsr-flex-center{display:flex;justify-content:center}.sr-custom-html{line-height:1}.wpsr-btn .fb_iframe_widget{margin-bottom:0}@keyframes wpsr-fadein{0%{opacity:0}100%{opacity:1}}@keyframes wpsr-fadeout{0%{opacity:1}100%{opacity:0}}@media only screen and (max-width:800px){.wpsr-sb-hl{bottom:0!important;top:auto!important;left:-1px!important;right:-1px!important;border-radius:0;overflow:auto;transform:none;padding-left:60px;max-height:84px}.wpsr-sb-hl .wpsr-sb-inner{width:100%;padding:10px}.wpsr-sb-hl .wpsr-sb-close{display:block;position:absolute;left:0;top:0;bottom:0;width:50px;transform:none;padding:0}.wpsr-sb-vl{bottom:0!important;top:0!important;left:-1px!important;right:auto!important;margin-left:0!important;border-radius:0;overflow:auto;transform:none;padding-top:60px}.wpsr-sb-vl .wpsr-sb-close{display:block;position:absolute;left:0!important;top:0;right:0;margin:0!important;transform:none;height:50px;padding:0}.wpsr-sb-vl.wpsr-sb-mobmode-right{right:0!important;left:auto!important}.wpsr-sb-simple-ns{background:#fff;border:1px solid #dfdfdf}.wpsr-mow.wpsr-sharebar{width:50px;height:50px;padding:0;overflow:hidden;border-radius:0}.wpsr-sharebar .wpsr-bar-icon{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}}
public/css/wpsr.min.css CHANGED
@@ -1,4 +1,4 @@
1
- .wp-socializer:after{clear:both;content:'';display:block}.wpsr-buttons{display:block;margin:0 0 1.5em 0}.wpsr-buttons .wpsr-btn{float:left;margin:0 1em 0 0;padding:0;line-height:0}.wpsr-buttons .wpsr-btn:last-child{margin-right:0}.wpsr-sharebar{transition:all 0.5s;box-sizing:border-box;z-index:99999}.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-btn{margin-bottom:1em;display:block}.wpsr-sb-vl .wpsr-btn:last-child{margin:0}.wpsr-sb-vl-wleft{left:0}.wpsr-sb-vl-wright{right:0}.wpsr-sb-vl-static{position:absolute}.wpsr-sb-hl{left:50%;transform:translateX(-50%);position:fixed}.wpsr-sb-hl .wpsr-btn{float:left;margin:0 1em 0 0;padding:0;line-height:0}.wpsr-sb-hl .wpsr-btn:last-child{margin:0}.wpsr-sb-hl-wtop{top:0}.wpsr-sb-hl-wbottom{bottom:0}.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-sq{padding:10px;text-align:center;box-shadow:0 0 5px 0 rgba(0,0,0,0.2);border:1px solid transparent}.wpsr-sb-simple-ns{text-align:center;border:1px solid transparent}.wpsr-sharebar::-webkit-scrollbar{width:5px;height:5px}.wpsr-sharebar::-webkit-scrollbar-thumb{background:#aaa;border-radius:10px}.wpsr-sharebar:hover .wpsr-sb-close{display:block}.wpsr-sharebar.wpsr-how{display:none}.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{right:0;transform:translate(100%,-50%);top:50%}.wpsr-mow.wpsr-sharebar{width:48px;height:48px;border-radius:50%;background:none!important;border:none!important;box-shadow:none!important}.wpsr-mow.wpsr-sharebar .wpsr-sb-inner{display:none}.wpsr-mow.wpsr-sharebar .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}.wpsr-counter .scount{font-size:2em;font-weight:bold}.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-hl{line-height:1em;font-size:18px}.wpsr-counter.wpsrc-hl .scount{font-size:1em;margin-right:0.25em}.wpsr-counter.wpsrc-hl .stext{display:inline-block;font-size:0.8em}.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-followbar{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-followbar div.sr-fb-title{font-size:0.8em;margin:0 0 0.8em 0}.wpsr-followbar.sr-fb-hl .sr-fb-title{position:absolute;bottom:0;transform:translateX(-100%);left:-1em;top:50%;margin:0}.wpsr-followbar.sr-fb-vl{text-align:center;line-height:1.5q}.wpsr-followbar.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-followbar:hover .wpsr-fb-close{display:block}.wpsr-mow.wpsr-followbar .sr-fb-title{display:none}.wpsr-mow.wpsr-followbar .sr-followbar{display:none}.wpsr-mow.wpsr-followbar .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-mow.sr-fb-tl .wpsr-fb-close,.wpsr-mow.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-mobile-sb{position:fixed;bottom:0;left:0;right:0;line-height:0;background:#fff;box-shadow:0 3px 5px 3px #000;transition:margin 1s ease-out;margin-bottom:0;z-index:99999}.wpsr-mobile-sb.wpsr-msb-hide{transition:margin 2s ease-out;margin-bottom:-68px}.wpsr-mow.wpsr-buttons{display:none}.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-mow .wpsr-bar-icon .i-close{display:none}.wpsr-mow .wpsr-bar-icon .i-open{display:block}.wpsr-mow .wpsr-bar-icon{padding:5px}.wpsr-clearfix:after{display:block;clear:both;content:''}.wpsr-flex{display:flex}.wpsr-flex-center{display:flex;justify-content:center}.wpsr-btn .fb_iframe_widget{margin-bottom:0}@keyframes wpsr-fadein{0%{opacity:0}100%{opacity:1}}@keyframes wpsr-fadeout{0%{opacity:1}100%{opacity:0}}@media only screen and (max-width:800px){.wpsr-sb-hl{bottom:0!important;top:auto!important;left:-1px!important;right:-1px!important;border-radius:0;overflow:auto;transform:none;padding-left:60px;max-height:84px}.wpsr-sb-hl .wpsr-sb-inner{width:100%;padding:10px}.wpsr-sb-hl .wpsr-sb-close{display:block;position:absolute;left:0;top:0;bottom:0;width:50px;transform:none;padding:0}.wpsr-sb-vl{bottom:0!important;top:0!important;left:-1px!important;right:auto!important;margin-left:0!important;border-radius:0;overflow:auto;transform:none;padding-top:60px}.wpsr-sb-vl .wpsr-sb-close{display:block;position:absolute;left:0!important;top:0;right:0;margin:0!important;transform:none;height:50px;padding:0}.wpsr-sb-vl.wpsr-sb-mobmode-right{right:0!important;left:auto!important}.wpsr-sb-simple-ns{background:#fff;border:1px solid #dfdfdf}.wpsr-mow.wpsr-sharebar{width:50px;height:50px;padding:0;overflow:hidden;border-radius:0}.wpsr-sharebar .wpsr-bar-icon{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}}
2
  /*!
3
  * Socializer - CSS library for social media buttons
4
  * Copyright (c) 2020 Aakash Chakravarthy - www.aakashweb.com
1
+ .wp-socializer:after{clear:both;content:'';display:block}.wpsr-buttons{display:block;margin:0 0 1.5em 0}.wpsr-buttons .wpsr-btn{float:left;margin:0 1em 0 0;padding:0;line-height:0}.wpsr-buttons .wpsr-btn:last-child{margin-right:0}.wpsr-sharebar{transition:all 0.5s;box-sizing:border-box;z-index:99999}.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-btn{margin-bottom:1em;display:block}.wpsr-sb-vl .wpsr-btn:last-child{margin:0}.wpsr-sb-vl-wleft{left:0}.wpsr-sb-vl-wright{right:0}.wpsr-sb-vl-static{position:absolute}.wpsr-sb-hl{left:50%;transform:translateX(-50%);position:fixed}.wpsr-sb-hl .wpsr-btn{float:left;margin:0 1em 0 0;padding:0;line-height:0}.wpsr-sb-hl .wpsr-btn:last-child{margin:0}.wpsr-sb-hl-wtop{top:0}.wpsr-sb-hl-wbottom{bottom:0}.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-sq{padding:10px;text-align:center;box-shadow:0 0 5px 0 rgba(0,0,0,0.2);border:1px solid transparent}.wpsr-sb-simple-ns{text-align:center;border:1px solid transparent}.wpsr-sharebar::-webkit-scrollbar{width:5px;height:5px}.wpsr-sharebar::-webkit-scrollbar-thumb{background:#aaa;border-radius:10px}.wpsr-sharebar:hover .wpsr-sb-close{display:block}.wpsr-sharebar.wpsr-how{display:none}.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{right:0;transform:translate(100%,-50%);top:50%}.wpsr-mow.wpsr-sharebar{width:48px;height:48px;border-radius:50%;background:none!important;border:none!important;box-shadow:none!important}.wpsr-mow.wpsr-sharebar .wpsr-sb-inner{display:none}.wpsr-mow.wpsr-sharebar .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}.wpsr-counter .scount{font-size:2em;font-weight:bold}.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-hl{line-height:1em;font-size:18px}.wpsr-counter.wpsrc-hl .scount{font-size:1em;margin-right:0.25em}.wpsr-counter.wpsrc-hl .stext{display:inline-block;font-size:0.8em}.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-followbar{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-followbar div.sr-fb-title{font-size:0.8em;margin:0 0 0.8em 0}.wpsr-followbar.sr-fb-hl .sr-fb-title{position:absolute;bottom:0;transform:translateX(-100%);left:-1em;top:50%;margin:0}.wpsr-followbar.sr-fb-vl{text-align:center;line-height:1.5q}.wpsr-followbar.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-followbar:hover .wpsr-fb-close{display:block}.wpsr-mow.wpsr-followbar .sr-fb-title{display:none}.wpsr-mow.wpsr-followbar .sr-followbar{display:none}.wpsr-mow.wpsr-followbar .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-mow.sr-fb-tl .wpsr-fb-close,.wpsr-mow.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-mobile-sb{position:fixed;bottom:0;left:0;right:0;line-height:0;background:#fff;box-shadow:0 3px 5px 3px #000;transition:margin 1s ease-out;margin-bottom:0;z-index:99999}.wpsr-mobile-sb.wpsr-msb-hide{transition:margin 2s ease-out;margin-bottom:-68px}.wpsr-mow.wpsr-buttons{display:none}.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-mow .wpsr-bar-icon .i-close{display:none}.wpsr-mow .wpsr-bar-icon .i-open{display:block}.wpsr-mow .wpsr-bar-icon{padding:5px}.wpsr-clearfix:after{display:block;clear:both;content:''}.wpsr-flex{display:flex}.wpsr-flex-center{display:flex;justify-content:center}.sr-custom-html{line-height:1}.wpsr-btn .fb_iframe_widget{margin-bottom:0}@keyframes wpsr-fadein{0%{opacity:0}100%{opacity:1}}@keyframes wpsr-fadeout{0%{opacity:1}100%{opacity:0}}@media only screen and (max-width:800px){.wpsr-sb-hl{bottom:0!important;top:auto!important;left:-1px!important;right:-1px!important;border-radius:0;overflow:auto;transform:none;padding-left:60px;max-height:84px}.wpsr-sb-hl .wpsr-sb-inner{width:100%;padding:10px}.wpsr-sb-hl .wpsr-sb-close{display:block;position:absolute;left:0;top:0;bottom:0;width:50px;transform:none;padding:0}.wpsr-sb-vl{bottom:0!important;top:0!important;left:-1px!important;right:auto!important;margin-left:0!important;border-radius:0;overflow:auto;transform:none;padding-top:60px}.wpsr-sb-vl .wpsr-sb-close{display:block;position:absolute;left:0!important;top:0;right:0;margin:0!important;transform:none;height:50px;padding:0}.wpsr-sb-vl.wpsr-sb-mobmode-right{right:0!important;left:auto!important}.wpsr-sb-simple-ns{background:#fff;border:1px solid #dfdfdf}.wpsr-mow.wpsr-sharebar{width:50px;height:50px;padding:0;overflow:hidden;border-radius:0}.wpsr-sharebar .wpsr-bar-icon{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}}
2
  /*!
3
  * Socializer - CSS library for social media buttons
4
  * Copyright (c) 2020 Aakash Chakravarthy - www.aakashweb.com
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.me/vaakash/6
4
  Tags: sharing, social media icons, share icons, share buttons, follow buttons, widgets, floating share buttons, profile buttons, mobile sharebar, profile icons, social bar, share counter, excerpt, shortcode, linkedin, pinterest, pocket, reddit, sharethis, addthis, whatsapp, tweet, vkontakte, socializer, wp socializer, weibo, line, mix, odnoklassniki, renren, skype
5
  Requires at least: 4.6
6
  Tested up to: 5.3.2
7
- Stable tag: 5.0
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
  Requires PHP: 5.3
@@ -150,6 +150,12 @@ Please refer [this page](https://goo.gl/Ge7riC) for the full list of FAQs.
150
 
151
  == Changelog ==
152
 
 
 
 
 
 
 
153
  = 5.0 =
154
  * New: Social icons feature is replacing "classic share buttons" feature with easy to setup and powerful features.
155
  * New: Floating sharebar is replacing the "classic sharebar" feature providing advanced features to setup quick and easy.
4
  Tags: sharing, social media icons, share icons, share buttons, follow buttons, widgets, floating share buttons, profile buttons, mobile sharebar, profile icons, social bar, share counter, excerpt, shortcode, linkedin, pinterest, pocket, reddit, sharethis, addthis, whatsapp, tweet, vkontakte, socializer, wp socializer, weibo, line, mix, odnoklassniki, renren, skype
5
  Requires at least: 4.6
6
  Tested up to: 5.3.2
7
+ Stable tag: 5.1
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
  Requires PHP: 5.3
150
 
151
  == Changelog ==
152
 
153
+ = 5.1 =
154
+ * New: Custom HTML can now be added above and below the social icons.
155
+ * New: Add custom HTML in between social icons and in floating sharebar.
156
+ * Fix: When no social icons are selected, empty HTML tag were inserted.
157
+ * Fix: Admin UI is enhanced.
158
+
159
  = 5.0 =
160
  * New: Social icons feature is replacing "classic share buttons" feature with easy to setup and powerful features.
161
  * New: Floating sharebar is replacing the "classic sharebar" feature providing advanced features to setup quick and easy.
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: WP Socializer is an all in one complete social media plugin to add native social media buttons, icons, floating sharebar, follow us buttons, profile icons, mobile sharebar and selected text share popups easily with complete control and customization.
6
- * Version: 5.0
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', '5.0' );
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: WP Socializer is an all in one complete social media plugin to add native social media buttons, icons, floating sharebar, follow us buttons, profile icons, mobile sharebar and selected text share popups easily with complete control and customization.
6
+ * Version: 5.1
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', '5.1' );
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' ) );