Custom Share Buttons with Floating Sidebar - Version 2.2

Version Description

  • Fixed double time open share url issue
    • Added an option for auto close sidebar buttons on page load
    • Added an option for hide "Share This!!" button on page/post
Download this release

Release Info

Developer india-web-developer
Plugin Icon 128x128 Custom Share Buttons with Floating Sidebar
Version 2.2
Comparing to
See all releases

Code changes from version 2.1 to 2.2

csbwfs-class.php CHANGED
@@ -18,9 +18,42 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
18
 
19
  return $ctOptions;
20
  }
21
-
22
- // Get plugin options
 
 
 
 
 
 
 
 
 
 
 
 
 
23
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
  $pluginOptionsVal=get_csbwf_sidebar_options();
25
  //check plugin in enable or not
26
  if(isset($pluginOptionsVal['csbwfs_active']) && $pluginOptionsVal['csbwfs_active']==1){
@@ -194,6 +227,10 @@ if($pluginOptionsVal['csbwfs_position']=='right' || $pluginOptionsVal['csbwfs_po
194
 
195
  }
196
 
 
 
 
 
197
  $jscnt.='jQuery("div.csbwfs-show").hide();
198
  jQuery("div.csbwfs-show a").click(function(){
199
  jQuery("div#csbwfs-social-inner").show(500);
@@ -304,7 +341,7 @@ $ShareTitle= htmlspecialchars(urlencode($ShareTitle));
304
  /* Get All buttons Image */
305
 
306
  //get facebook button image
307
- if($pluginOptionsVal['csbwfs_page_fb_image']!=''){ $fImg=$pluginOptionsVal['csbwfs_fb_image'];}
308
  else{$fImg=plugins_url('images/fb.png',__FILE__);}
309
  //get twitter button image
310
  if($pluginOptionsVal['csbwfs_tw_image']!=''){ $tImg=$pluginOptionsVal['csbwfs_tw_image'];}
@@ -447,7 +484,7 @@ $flitingSidebarContent .= '<div id="csbwfs-social-inner">';
447
 
448
  /** FB */
449
  if($pluginOptionsVal['csbwfs_fpublishBtn']!=''):
450
- $flitingSidebarContent .='<div class="csbwfs-sbutton"><div id="csbwfs-fb"><a href="https://www.facebook.com/sharer/sharer.php?u='.$shareurl.'" onclick="javascript:window.open(this.href, \'\', \'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=300,width=600\');return false;" target="_blank" title="'.$fImgAlt.'" '.$fImgbg.'><img src="'.$fImg.'" alt="'.$fImgAlt.'"></a></div></div>';
451
  endif;
452
 
453
  /** TW */
@@ -457,12 +494,12 @@ endif;
457
 
458
  /** GP */
459
  if($pluginOptionsVal['csbwfs_gpublishBtn']!=''):
460
- $flitingSidebarContent .='<div class="csbwfs-sbutton"><div id="csbwfs-gp"><a href="https://plus.google.com/share?url='.$shareurl.'" onclick="javascript:window.open(this.href,\'\',\'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=800\');return false;" title="'.$gImgAlt.'" '.$gImgbg.'><img src="'.$gImg.'" alt="'.$gImgAlt.'"></a></div></div>';
461
  endif;
462
 
463
  /** LI */
464
  if($pluginOptionsVal['csbwfs_lpublishBtn']!=''):
465
- $flitingSidebarContent .='<div class="csbwfs-sbutton"><div id="csbwfs-li"><a href="https://www.linkedin.com/cws/share?mini=true&url='. $shareurl.'" onclick="javascript:window.open(this.href,\'\',\'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=800\');return false;" title="'.$lImgAlt.'" '.$lImgbg.'><img src="'.$lImg.'" alt="'.$lImgAlt.'"></a></div></div>';
466
  endif;
467
 
468
  /** PIN */
@@ -645,13 +682,16 @@ endif;
645
  if(isset($pluginOptionsVal['csbwfs_btn_text']) && $pluginOptionsVal['csbwfs_btn_text']!=''):
646
  $btnText=$pluginOptionsVal['csbwfs_btn_text'];
647
  else:
648
- $btnText='Share This!';
649
  endif;
650
 
651
- $shareButtonContent='<div id="socialButtonOnPage" class="'.$btnPosition.'SocialButtonOnPage"><div class="sharethis-arrow" title="'.$btnText.'"><span>'.$btnText.'</span></div>';
 
 
 
652
  /* Facebook*/
653
  if($pluginOptionsVal['csbwfs_fpublishBtn']!=''):
654
- $shareButtonContent.='<div class="csbwfs-sbutton-post"><div id="fb-p"><a href="https://www.facebook.com/sharer/sharer.php?u='.$shareurl.'" onclick="javascript:window.open(this.href, \'\', \'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=300,width=600\');return false;"
655
  target="_blank" title="'.$fImgAlt.'"> <img src="'.$fImg.'" alt="'.$fImgAlt.'"></a></div></div>';
656
  endif;
657
 
@@ -662,13 +702,13 @@ endif;
662
 
663
  /* Google Plus */
664
  if($pluginOptionsVal['csbwfs_gpublishBtn']!=''):
665
- $shareButtonContent.='<div class="csbwfs-sbutton-post"><div id="gp-p"><a href="https://plus.google.com/share?url='.$shareurl.'" onclick="javascript:window.open(this.href,\'\', \'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600\');return false;" title="'.$gImgAlt.'"> <img src="'.$gImg.'" alt="'.$gImgAlt.'"></a></div>
666
  </div>';
667
  endif;
668
 
669
  /* Linkedin */
670
  if($pluginOptionsVal['csbwfs_lpublishBtn']!=''):
671
- $shareButtonContent.='<div class="csbwfs-sbutton-post"><div id="li-p"><a href="https://www.linkedin.com/cws/share?url='.$shareurl.'" onclick="javascript:window.open(this.href,\'\', \'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600\');return false;" title="'.$lImgAlt.'"><img src="'.$lImg.'" alt="'.$lImgAlt.'"></a></div></div>';
672
  endif;
673
 
674
  /* Pinterest */
@@ -724,41 +764,4 @@ $shareButtonContent.='</div>';
724
  return $content;
725
  endif;
726
  }
727
-
728
- /*
729
- * Site is browsing in mobile or not
730
- * @IsMobile()
731
- * */
732
- function isMobile() {
733
- // Check the server headers to see if they're mobile friendly
734
- if(isset($_SERVER["HTTP_X_WAP_PROFILE"])) {
735
- return true;
736
- }
737
- // Let's NOT return "mobile" if it's an iPhone, because the iPhone can render normal pages quite well.
738
- if(isset($_SERVER["HTTP_USER_AGENT"])):
739
- if(strstr($_SERVER['HTTP_USER_AGENT'], 'iPad')) {
740
- return false;
741
- }
742
- endif;
743
-
744
- // If the http_accept header supports wap then it's a mobile too
745
- if(isset($_SERVER["HTTP_ACCEPT"])):
746
- if(preg_match("/wap\.|\.wap/i",$_SERVER["HTTP_ACCEPT"])) {
747
- return true;
748
- }
749
- endif;
750
- // Still no luck? Let's have a look at the user agent on the browser. If it contains
751
- // any of the following, it's probably a mobile device. Kappow!
752
- if(isset($_SERVER["HTTP_USER_AGENT"])){
753
- $user_agents = array("midp", "j2me", "avantg", "docomo", "novarra", "palmos", "palmsource", "240x320", "opwv", "chtml", "pda", "windows\ ce", "mmp\/", "blackberry", "mib\/", "symbian", "wireless", "nokia", "hand", "mobi", "phone", "cdm", "up\.b", "audio", "SIE\-", "SEC\-", "samsung", "HTC", "mot\-", "mitsu", "sagem", "sony", "alcatel", "lg", "erics", "vx", "NEC", "philips", "mmm", "xx", "panasonic", "sharp", "wap", "sch", "rover", "pocket", "benq", "java", "pt", "pg", "vox", "amoi", "bird", "compal", "kg", "voda", "sany", "kdd", "dbt", "sendo", "sgh", "gradi", "jb", "\d\d\di", "moto");
754
- foreach($user_agents as $user_string){
755
- if(preg_match("/".$user_string."/i",$_SERVER["HTTP_USER_AGENT"])) {
756
- return true;
757
- }
758
- }
759
- }
760
- // None of the above? Then it's probably not a mobile device.
761
- return false;
762
- }
763
-
764
  ?>
18
 
19
  return $ctOptions;
20
  }
21
+ /*
22
+ * Site is browsing in mobile or not
23
+ * @IsMobile()
24
+ * */
25
+ function isMobile() {
26
+ // Check the server headers to see if they're mobile friendly
27
+ if(isset($_SERVER["HTTP_X_WAP_PROFILE"])) {
28
+ return true;
29
+ }
30
+ // Let's NOT return "mobile" if it's an iPhone, because the iPhone can render normal pages quite well.
31
+ if(isset($_SERVER["HTTP_USER_AGENT"])):
32
+ if(strstr($_SERVER['HTTP_USER_AGENT'], 'iPad')) {
33
+ return false;
34
+ }
35
+ endif;
36
 
37
+ // If the http_accept header supports wap then it's a mobile too
38
+ if(isset($_SERVER["HTTP_ACCEPT"])):
39
+ if(preg_match("/wap\.|\.wap/i",$_SERVER["HTTP_ACCEPT"])) {
40
+ return true;
41
+ }
42
+ endif;
43
+ // Still no luck? Let's have a look at the user agent on the browser. If it contains
44
+ // any of the following, it's probably a mobile device. Kappow!
45
+ if(isset($_SERVER["HTTP_USER_AGENT"])){
46
+ $user_agents = array("midp", "j2me", "avantg", "docomo", "novarra", "palmos", "palmsource", "240x320", "opwv", "chtml", "pda", "windows\ ce", "mmp\/", "blackberry", "mib\/", "symbian", "wireless", "nokia", "hand", "mobi", "phone", "cdm", "up\.b", "audio", "SIE\-", "SEC\-", "samsung", "HTC", "mot\-", "mitsu", "sagem", "sony", "alcatel", "lg", "erics", "vx", "NEC", "philips", "mmm", "xx", "panasonic", "sharp", "wap", "sch", "rover", "pocket", "benq", "java", "pt", "pg", "vox", "amoi", "bird", "compal", "kg", "voda", "sany", "kdd", "dbt", "sendo", "sgh", "gradi", "jb", "\d\d\di", "moto");
47
+ foreach($user_agents as $user_string){
48
+ if(preg_match("/".$user_string."/i",$_SERVER["HTTP_USER_AGENT"])) {
49
+ return true;
50
+ }
51
+ }
52
+ }
53
+ // None of the above? Then it's probably not a mobile device.
54
+ return false;
55
+ }
56
+ // Get plugin options
57
  $pluginOptionsVal=get_csbwf_sidebar_options();
58
  //check plugin in enable or not
59
  if(isset($pluginOptionsVal['csbwfs_active']) && $pluginOptionsVal['csbwfs_active']==1){
227
 
228
  }
229
 
230
+ if(isset($pluginOptionsVal['csbwfs_auto_hide']) && $pluginOptionsVal['csbwfs_auto_hide']!=''):
231
+ $jscnt.='csbwfsSetCookie("csbwfs_show_hide_status","in_active","1");';
232
+ endif;
233
+
234
  $jscnt.='jQuery("div.csbwfs-show").hide();
235
  jQuery("div.csbwfs-show a").click(function(){
236
  jQuery("div#csbwfs-social-inner").show(500);
341
  /* Get All buttons Image */
342
 
343
  //get facebook button image
344
+ if($pluginOptionsVal['csbwfs_fb_image']!=''){ $fImg=$pluginOptionsVal['csbwfs_fb_image'];}
345
  else{$fImg=plugins_url('images/fb.png',__FILE__);}
346
  //get twitter button image
347
  if($pluginOptionsVal['csbwfs_tw_image']!=''){ $tImg=$pluginOptionsVal['csbwfs_tw_image'];}
484
 
485
  /** FB */
486
  if($pluginOptionsVal['csbwfs_fpublishBtn']!=''):
487
+ $flitingSidebarContent .='<div class="csbwfs-sbutton"><div id="csbwfs-fb"><a href="javascript:" onclick="javascript:window.open(\'https://www.facebook.com/sharer/sharer.php?u='.$shareurl.'\', \'\', \'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=300,width=600\');return false;" target="_blank" title="'.$fImgAlt.'" '.$fImgbg.'><img src="'.$fImg.'" alt="'.$fImgAlt.'"></a></div></div>';
488
  endif;
489
 
490
  /** TW */
494
 
495
  /** GP */
496
  if($pluginOptionsVal['csbwfs_gpublishBtn']!=''):
497
+ $flitingSidebarContent .='<div class="csbwfs-sbutton"><div id="csbwfs-gp"><a href="javascript:" onclick="javascript:window.open(\'https://plus.google.com/share?url='.$shareurl.'\',\'\',\'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=800\');return false;" title="'.$gImgAlt.'" '.$gImgbg.'><img src="'.$gImg.'" alt="'.$gImgAlt.'"></a></div></div>';
498
  endif;
499
 
500
  /** LI */
501
  if($pluginOptionsVal['csbwfs_lpublishBtn']!=''):
502
+ $flitingSidebarContent .='<div class="csbwfs-sbutton"><div id="csbwfs-li"><a href="javascript:" onclick="javascript:window.open(\'https://www.linkedin.com/cws/share?mini=true&url='. $shareurl.'\',\'\',\'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=800\');return false;" title="'.$lImgAlt.'" '.$lImgbg.'><img src="'.$lImg.'" alt="'.$lImgAlt.'"></a></div></div>';
503
  endif;
504
 
505
  /** PIN */
682
  if(isset($pluginOptionsVal['csbwfs_btn_text']) && $pluginOptionsVal['csbwfs_btn_text']!=''):
683
  $btnText=$pluginOptionsVal['csbwfs_btn_text'];
684
  else:
685
+ $btnText='';
686
  endif;
687
 
688
+ $shareButtonContent='<div id="socialButtonOnPage" class="'.$btnPosition.'SocialButtonOnPage">';
689
+ if($btnText!=''):
690
+ $shareButtonContent.='<div class="sharethis-arrow" title="'.$btnText.'"><span>'.$btnText.'</span></div>';
691
+ endif;
692
  /* Facebook*/
693
  if($pluginOptionsVal['csbwfs_fpublishBtn']!=''):
694
+ $shareButtonContent.='<div class="csbwfs-sbutton-post"><div id="fb-p"><a href="javascript:" onclick="javascript:window.open(\'https://www.facebook.com/sharer/sharer.php?u='.$shareurl.'\', \'\', \'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=300,width=600\');return false;"
695
  target="_blank" title="'.$fImgAlt.'"> <img src="'.$fImg.'" alt="'.$fImgAlt.'"></a></div></div>';
696
  endif;
697
 
702
 
703
  /* Google Plus */
704
  if($pluginOptionsVal['csbwfs_gpublishBtn']!=''):
705
+ $shareButtonContent.='<div class="csbwfs-sbutton-post"><div id="gp-p"><a href="javascript:" onclick="javascript:window.open(\'https://plus.google.com/share?url='.$shareurl.'\',\'\', \'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600\');return false;" title="'.$gImgAlt.'"> <img src="'.$gImg.'" alt="'.$gImgAlt.'"></a></div>
706
  </div>';
707
  endif;
708
 
709
  /* Linkedin */
710
  if($pluginOptionsVal['csbwfs_lpublishBtn']!=''):
711
+ $shareButtonContent.='<div class="csbwfs-sbutton-post"><div id="li-p"><a href="javascript:" onclick="javascript:window.open(\'https://www.linkedin.com/cws/share?url='.$shareurl.'\',\'\', \'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600\');return false;" title="'.$lImgAlt.'"><img src="'.$lImg.'" alt="'.$lImgAlt.'"></a></div></div>';
712
  endif;
713
 
714
  /* Pinterest */
764
  return $content;
765
  endif;
766
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
767
  ?>
custom-share-buttons-with-floating-sidebar.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://www.mrwebsolution.in/
5
  Description: "custom-share-buttons-with-floating-sidebar" is the very simple plugin for add to social share buttons with float sidebar. Even you can edit share buttons if you wish
6
  Author: Raghunath
7
  Author URI: http://raghunathgurjar.wordpress.com
8
- Version: 2.1
9
  */
10
 
11
  /* Copyright 2015 custom-share-buttons-with-floating-sidebar (email : raghunath.0087@gmail.com)
@@ -96,6 +96,7 @@ function csbwf_sidebar_init(){
96
  register_setting('csbwf_sidebar_options','csbwfs_page_yt_title');
97
  register_setting('csbwf_sidebar_options','csbwfs_page_re_title');
98
  register_setting('csbwf_sidebar_options','csbwfs_page_st_title');
 
99
  //Options for post/pages
100
  register_setting('csbwf_sidebar_options','csbwfs_buttons_active');
101
  register_setting('csbwf_sidebar_options','csbwfs_page_hide_home');
@@ -225,9 +226,12 @@ function csbwf_sidebar_admin_option_page(){ ?>
225
  <tr><th nowrap valign="top"><?php echo 'Delay Time: '; ?></th><td><input type="text" name="csbwfs_delayTimeBtn" id="csbwfs_delayTimeBtn" value="<?php echo get_option('csbwfs_delayTimeBtn')?get_option('csbwfs_delayTimeBtn'):0;?>" size="40" class="regular-text ltr"><br><i>Publish share buttons after given time(millisecond)</i></td></tr>
226
  <tr>
227
  <th>&nbsp;</th>
228
- <td><input type="checkbox" id="csbwfs_deactive_for_mob" name="csbwfs_deactive_for_mob" value="yes" <?php if(get_option('csbwfs_deactive_for_mob')=='yes'){echo 'checked="checked"';}?>/> <strong><?php _e('Disable Sidebar For Mobile','csbwfs');?></strong></td>
229
  </tr>
230
- <tr><th>&nbsp;</th><td><input type="checkbox" id="csbwfs_hide_home" value="yes" name="csbwfs_hide_home" <?php if(get_option('csbwfs_hide_home')!='yes'){echo '';}else{echo 'checked="checked"';}?>/> <strong>Hide Sidebar On Home Page </strong></td></tr>
 
 
 
231
  <tr><td colspan="2"><strong><h4>Social Share Button Images 32X32 (Optional) :</h4></strong></td></tr>
232
  <tr>
233
  <th><?php echo 'Facebook:';?></th>
@@ -315,7 +319,7 @@ function csbwf_sidebar_admin_option_page(){ ?>
315
  <th nowrap><?php echo 'Share Button Text:';?></th>
316
  <td>
317
  <input type="textbox" id="csbwfs_btn_text" name="csbwfs_btn_text" value="<?php echo get_option('csbwfs_btn_text'); ?>" placeholder="Share This!" size="20"/>
318
- </td>
319
  </tr>
320
  <tr><td colspan="2"><strong>Show Share Buttons On :</strong> Home <input type="checkbox" id="csbwfs_page_hide_home" value="yes" name="csbwfs_page_hide_home" <?php if(get_option('csbwfs_page_hide_home')!='yes'){echo '';}else{echo 'checked="checked"';}?>/> Page <input type="checkbox" id="csbwfs_page_hide_page" value="yes" name="csbwfs_page_hide_page" <?php if(get_option('csbwfs_page_hide_page')!='yes'){echo '';}else { echo 'checked="checked"';}?>/> Post <input type="checkbox" id="csbwfs_page_hide_post" value="yes" name="csbwfs_page_hide_post" <?php if(get_option('csbwfs_page_hide_post')!='yes'){echo '';}else{echo 'checked="checked"';}?>/> Category/Archive <input type="checkbox" id="csbwfs_page_hide_archive" value="yes" name="csbwfs_page_hide_archive" <?php if(get_option('csbwfs_page_hide_archive')!='yes'){echo '';}else{echo 'checked="checked"';}?>/> <br>
321
  </td></tr>
5
  Description: "custom-share-buttons-with-floating-sidebar" is the very simple plugin for add to social share buttons with float sidebar. Even you can edit share buttons if you wish
6
  Author: Raghunath
7
  Author URI: http://raghunathgurjar.wordpress.com
8
+ Version: 2.2
9
  */
10
 
11
  /* Copyright 2015 custom-share-buttons-with-floating-sidebar (email : raghunath.0087@gmail.com)
96
  register_setting('csbwf_sidebar_options','csbwfs_page_yt_title');
97
  register_setting('csbwf_sidebar_options','csbwfs_page_re_title');
98
  register_setting('csbwf_sidebar_options','csbwfs_page_st_title');
99
+ register_setting('csbwf_sidebar_options','csbwfs_auto_hide');
100
  //Options for post/pages
101
  register_setting('csbwf_sidebar_options','csbwfs_buttons_active');
102
  register_setting('csbwf_sidebar_options','csbwfs_page_hide_home');
226
  <tr><th nowrap valign="top"><?php echo 'Delay Time: '; ?></th><td><input type="text" name="csbwfs_delayTimeBtn" id="csbwfs_delayTimeBtn" value="<?php echo get_option('csbwfs_delayTimeBtn')?get_option('csbwfs_delayTimeBtn'):0;?>" size="40" class="regular-text ltr"><br><i>Publish share buttons after given time(millisecond)</i></td></tr>
227
  <tr>
228
  <th>&nbsp;</th>
229
+ <td><input type="checkbox" id="csbwfs_deactive_for_mob" name="csbwfs_deactive_for_mob" value="yes" <?php if(get_option('csbwfs_deactive_for_mob')=='yes'){echo 'checked="checked"';}?>/><?php _e('Disable Sidebar For Mobile','csbwfs');?></td>
230
  </tr>
231
+ <tr><th></th>
232
+ <td><input type="checkbox" id="csbwfs_auto_hide" name="csbwfs_auto_hide" value="yes" <?php if(get_option('csbwfs_auto_hide')=='yes'){echo 'checked="checked"';}?>/><?php _e('Auto Hide Sidebar On Page Load','csbwfs');?></td>
233
+ </tr>
234
+ <tr><th>&nbsp;</th><td><input type="checkbox" id="csbwfs_hide_home" value="yes" name="csbwfs_hide_home" <?php if(get_option('csbwfs_hide_home')!='yes'){echo '';}else{echo 'checked="checked"';}?>/>Hide Sidebar On Home Page</td></tr>
235
  <tr><td colspan="2"><strong><h4>Social Share Button Images 32X32 (Optional) :</h4></strong></td></tr>
236
  <tr>
237
  <th><?php echo 'Facebook:';?></th>
319
  <th nowrap><?php echo 'Share Button Text:';?></th>
320
  <td>
321
  <input type="textbox" id="csbwfs_btn_text" name="csbwfs_btn_text" value="<?php echo get_option('csbwfs_btn_text'); ?>" placeholder="Share This!" size="20"/>
322
+ <i>(Leave blank if you want hide button)</i></td>
323
  </tr>
324
  <tr><td colspan="2"><strong>Show Share Buttons On :</strong> Home <input type="checkbox" id="csbwfs_page_hide_home" value="yes" name="csbwfs_page_hide_home" <?php if(get_option('csbwfs_page_hide_home')!='yes'){echo '';}else{echo 'checked="checked"';}?>/> Page <input type="checkbox" id="csbwfs_page_hide_page" value="yes" name="csbwfs_page_hide_page" <?php if(get_option('csbwfs_page_hide_page')!='yes'){echo '';}else { echo 'checked="checked"';}?>/> Post <input type="checkbox" id="csbwfs_page_hide_post" value="yes" name="csbwfs_page_hide_post" <?php if(get_option('csbwfs_page_hide_post')!='yes'){echo '';}else{echo 'checked="checked"';}?>/> Category/Archive <input type="checkbox" id="csbwfs_page_hide_archive" value="yes" name="csbwfs_page_hide_archive" <?php if(get_option('csbwfs_page_hide_archive')!='yes'){echo '';}else{echo 'checked="checked"';}?>/> <br>
325
  </td></tr>
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
4
  Tags: social share buttons,custom share buttons,facebook, twitter, google+, share, share links,linkedin,Stumbleupon,Reddit,pinterest,floating sidebar,float,floating share buttons,float share buttons
5
  Requires at least: 3.3
6
  Tested up to: 4.3.1
7
- Stable tag: 2.1
8
 
9
  Add Social Share Buttons(Facebook,Twitter,Linkedin,Google+,Pinterest,Youtube,Mail,Stumbleupon,Reddit) Using Floating Sidebar
10
 
@@ -39,12 +39,15 @@ You can add a social share floating sidebar with all social share buttons and Ev
39
  * Options for set the position of Social Buttons (Left/Right)
40
  * Options for manage the style of the plugin
41
  * Option for disable sidebar for mobile
42
- * Option for define the pinterest share image
 
 
43
 
44
  = Go Pro =
45
 
46
  We have also released an add-on for Custom Share Buttons With Floating Sidebar which not only demonstrates the flexibility of CSBWFS, but also adds some important features:
47
 
 
48
  * Responsive Floating Sidebar
49
  * Hide Floating Sidebar On Home/Post/Page/Category
50
  * Option for Show/Hide sidebar on any specific page/post
@@ -52,14 +55,16 @@ We have also released an add-on for Custom Share Buttons With Floating Sidebar w
52
  * Option for add to “Contact Form 7″ Shortcode into lightbox
53
  * Advance Feature For Choose To Pinterest Share Image
54
  * Option for add to OG tags content(title,image,content)
 
55
  * Option for add to social site official page URL for all social buttons
56
- * Extra Buttons (Google Translate,Instagram,Whatsapp,Digg,Yummly,Vk, Buffer and Print)
57
- * Option for display to number of share (Twitter,Facebook,LinkedIn,StumbleUpon,Google Plus,Pinterest and Reddit)
58
  * Option for change to any button image and their title,background colour and url (You can use any button as your own custom button)
59
- * 4 Extra Custom Buttons
60
  * Faster support
61
 
62
 
 
63
  **[Live Demo](http://csbwfs.mrwebsolution.in)**
64
 
65
  **[Addon Documentation](http://csbwfs.mrwebsolution.in/documentation)**
@@ -127,7 +132,10 @@ No,this is not a responsibe plugin but you can use our csbwfs addon, Our CSBWFS
127
  5. screenshot-5.png
128
 
129
  == Changelog ==
130
-
 
 
 
131
  = 2.1 =
132
  * Fixed share buttons css issues
133
  * Fixed some minor js conflict issues
4
  Tags: social share buttons,custom share buttons,facebook, twitter, google+, share, share links,linkedin,Stumbleupon,Reddit,pinterest,floating sidebar,float,floating share buttons,float share buttons
5
  Requires at least: 3.3
6
  Tested up to: 4.3.1
7
+ Stable tag: 2.2
8
 
9
  Add Social Share Buttons(Facebook,Twitter,Linkedin,Google+,Pinterest,Youtube,Mail,Stumbleupon,Reddit) Using Floating Sidebar
10
 
39
  * Options for set the position of Social Buttons (Left/Right)
40
  * Options for manage the style of the plugin
41
  * Option for disable sidebar for mobile
42
+ * Option for define the pinterest share image
43
+ * Option for auto close sidebar buttons on page load
44
+ * Option for hide "Share This!!" button on page/post
45
 
46
  = Go Pro =
47
 
48
  We have also released an add-on for Custom Share Buttons With Floating Sidebar which not only demonstrates the flexibility of CSBWFS, but also adds some important features:
49
 
50
+
51
  * Responsive Floating Sidebar
52
  * Hide Floating Sidebar On Home/Post/Page/Category
53
  * Option for Show/Hide sidebar on any specific page/post
55
  * Option for add to “Contact Form 7″ Shortcode into lightbox
56
  * Advance Feature For Choose To Pinterest Share Image
57
  * Option for add to OG tags content(title,image,content)
58
+ * Option for set automatically horizontal sidebar position for mobile
59
  * Option for add to social site official page URL for all social buttons
60
+ * Extra Buttons (Google Translate,Instagram,Whatsapp,Digg,Yummly,Vk, Buffer, Line, Skype and Print)
61
+ * Option for display to number of share (Twitter,Facebook,LinkedIn,StumbleUpon,Google Plus,Pinterestand Reddit)
62
  * Option for change to any button image and their title,background colour and url (You can use any button as your own custom button)
63
+ * Option for define distance from left/right/bottom
64
  * Faster support
65
 
66
 
67
+
68
  **[Live Demo](http://csbwfs.mrwebsolution.in)**
69
 
70
  **[Addon Documentation](http://csbwfs.mrwebsolution.in/documentation)**
132
  5. screenshot-5.png
133
 
134
  == Changelog ==
135
+ = 2.2 =
136
+ * Fixed double time open share url issue
137
+ * Added an option for auto close sidebar buttons on page load
138
+ * Added an option for hide "Share This!!" button on page/post
139
  = 2.1 =
140
  * Fixed share buttons css issues
141
  * Fixed some minor js conflict issues