Custom Share Buttons with Floating Sidebar - Version 1.9

Version Description

  • Released Pro Version 1.3
    • Fixed all suggested issues by users
    • Fixed css conflict issues
    • Added Stumbleupon and Reddit buttons to social share buttons
    • Minify CSS
Download this release

Release Info

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

Code changes from version 1.8 to 1.9

csbwfs-class.php CHANGED
@@ -108,162 +108,93 @@ function csbwf_sidebar_load_inline_js()
108
  animateHeight="49";
109
  defaultAnimateHeight= animateHeight-2;';
110
  if($pluginOptionsVal['csbwfs_delayTimeBtn']!='0'):
111
- $jscnt.='jQuery("#delaydiv").hide();
112
  setTimeout(function(){
113
- jQuery("#delaydiv").fadeIn();}, '.$pluginOptionsVal['csbwfs_delayTimeBtn'].');';
114
  endif;
115
 
116
  if($pluginOptionsVal['csbwfs_position']=='right' || $pluginOptionsVal['csbwfs_position']=='left'){
117
 
118
  if($pluginOptionsVal['csbwfs_tpublishBtn']!=''):
119
- $jscnt.='jQuery("div#tw a").hover(function(){
120
- jQuery("div#tw a").animate({width:animateWidth});
121
  },function(){
122
- jQuery("div#tw a").stop( true, true ).animate({width:defaultAnimateWidth});
123
  });';
124
  endif;
125
 
126
  if($pluginOptionsVal['csbwfs_fpublishBtn']!=''):
127
- $jscnt.='jQuery("div#fb a").hover(function(){
128
- jQuery("div#fb a").animate({width:animateWidth});
129
  },function(){
130
- jQuery("div#fb a").stop( true, true ).animate({width:defaultAnimateWidth});
131
  });';
132
  endif;
133
 
134
  if($pluginOptionsVal['csbwfs_mpublishBtn']!=''):
135
- $jscnt.='jQuery("div#ml a").hover(function(){
136
- jQuery("div#ml a").animate({width:animateWidth});
137
  },function(){
138
- jQuery("div#ml a").stop( true, true ).animate({width:defaultAnimateWidth});
139
  });';
140
  endif;
141
 
142
  if($pluginOptionsVal['csbwfs_gpublishBtn']!=''):
143
- $jscnt.='jQuery("div#gp a").hover(function(){
144
- jQuery("div#gp a").animate({width:animateWidth});
145
  },function(){
146
- jQuery("div#gp a").stop( true, true ).animate({width:defaultAnimateWidth});
147
  });';
148
  endif;
149
 
150
  if($pluginOptionsVal['csbwfs_lpublishBtn']!=''):
151
- $jscnt.='jQuery("div#li a").hover(function(){
152
- jQuery("div#li a").animate({width:animateWidth});
153
  },function(){
154
- jQuery("div#li a").stop( true, true ).animate({width:defaultAnimateWidth});
155
  });';
156
  endif;
157
 
158
  if($pluginOptionsVal['csbwfs_ppublishBtn']!=''):
159
- $jscnt.='jQuery("div#pin a").hover(function(){
160
- jQuery("div#pin a").animate({width:animateWidth});
161
  },function(){
162
- jQuery("div#pin a").stop( true, true ).animate({width:defaultAnimateWidth});
163
  });';
164
  endif;
165
 
166
  if(isset($pluginOptionsVal['csbwfs_ytpublishBtn']) && $pluginOptionsVal['csbwfs_ytpublishBtn']!=''):
167
- $jscnt.='jQuery("div#yt a").hover(function(){
168
- jQuery("div#yt a").animate({width:animateWidth});
169
  },function(){
170
- jQuery("div#yt a").stop( true, true ).animate({width:defaultAnimateWidth});
171
  });';
172
  endif;
173
  if(isset($pluginOptionsVal['csbwfs_republishBtn']) && $pluginOptionsVal['csbwfs_republishBtn']!=''):
174
- $jscnt.='jQuery("div#re a").hover(function(){
175
- jQuery("div#re a").animate({width:animateWidth});
176
  },function(){
177
- jQuery("div#re a").stop( true, true ).animate({width:defaultAnimateWidth});
178
  });';
179
  endif;
180
 
181
  if(isset($pluginOptionsVal['csbwfs_stpublishBtn']) && $pluginOptionsVal['csbwfs_stpublishBtn']!=''):
182
- $jscnt.='jQuery("div#st a").hover(function(){
183
- jQuery("div#st a").animate({width:animateWidth});
184
  },function(){
185
- jQuery("div#st a").stop( true, true ).animate({width:defaultAnimateWidth});
186
  });';
187
  endif;
188
 
189
  }else
190
  {
191
- if($pluginOptionsVal['csbwfs_tpublishBtn']!=''):
192
- $jscnt.='jQuery("div#tw a").hover(function(){
193
- jQuery("div#tw a").animate({height:animateHeight});
194
- },function(){
195
- jQuery("div#tw a").stop( true, true ).animate({height:defaultAnimateHeight});
196
- });';
197
- endif;
198
-
199
- if($pluginOptionsVal['csbwfs_fpublishBtn']!=''):
200
- $jscnt.='jQuery("div#fb a").hover(function(){
201
- jQuery("div#fb a").animate({height:animateHeight});
202
- },function(){
203
- jQuery("div#fb a").stop( true, true ).animate({height:defaultAnimateHeight});
204
- });';
205
- endif;
206
-
207
- if($pluginOptionsVal['csbwfs_mpublishBtn']!=''):
208
- $jscnt.='jQuery("div#ml a").hover(function(){
209
- jQuery("div#ml a").animate({height:animateHeight});
210
- },function(){
211
- jQuery("div#ml a").stop( true, true ).animate({height:defaultAnimateHeight});
212
- });';
213
- endif;
214
-
215
- if($pluginOptionsVal['csbwfs_gpublishBtn']!=''):
216
- $jscnt.='jQuery("div#gp a").hover(function(){
217
- jQuery("div#gp a").animate({height:animateHeight});
218
- },function(){
219
- jQuery("div#gp a").stop( true, true ).animate({height:defaultAnimateHeight});
220
- });';
221
- endif;
222
-
223
- if($pluginOptionsVal['csbwfs_lpublishBtn']!=''):
224
- $jscnt.='jQuery("div#li a").hover(function(){
225
- jQuery("div#li a").animate({height:animateHeight});
226
- },function(){
227
- jQuery("div#li a").stop( true, true ).animate({height:defaultAnimateHeight});
228
- });';
229
- endif;
230
-
231
- if($pluginOptionsVal['csbwfs_ppublishBtn']!=''):
232
- $jscnt.='jQuery("div#pin a").hover(function(){
233
- jQuery("div#pin a").animate({height:animateHeight});
234
- },function(){
235
- jQuery("div#pin a").stop( true, true ).animate({height:defaultAnimateHeight});
236
- });';
237
- endif;
238
-
239
- if(isset($pluginOptionsVal['csbwfs_ytpublishBtn']) && $pluginOptionsVal['csbwfs_ytpublishBtn']!=''):
240
- $jscnt.='jQuery("div#yt a").hover(function(){
241
- jQuery("div#yt a").animate({height:animateHeight});
242
- },function(){
243
- jQuery("div#yt a").stop( true, true ).animate({height:defaultAnimateHeight});
244
- });';
245
- endif;
246
- if(isset($pluginOptionsVal['csbwfs_republishBtn']) && $pluginOptionsVal['csbwfs_republishBtn']!=''):
247
- $jscnt.='jQuery("div#re a").hover(function(){
248
- jQuery("div#re a").animate({height:animateHeight});
249
- },function(){
250
- jQuery("div#re a").stop( true, true ).animate({height:defaultAnimateHeight});
251
- });';
252
- endif;
253
-
254
- if(isset($pluginOptionsVal['csbwfs_stpublishBtn']) && $pluginOptionsVal['csbwfs_stpublishBtn']!=''):
255
- $jscnt.='jQuery("div#st a").hover(function(){
256
- jQuery("div#st a").animate({height:animateHeight});
257
- },function(){
258
- jQuery("div#st a").stop( true, true ).animate({height:defaultAnimateHeight});
259
- });';
260
- endif;
261
 
262
  }
263
 
264
  $jscnt.='jQuery("div.csbwfs-show").hide();
265
  jQuery("div.csbwfs-show a").click(function(){
266
- jQuery("div#social-inner").show(500);
267
  jQuery("div.csbwfs-show").hide(500);
268
  jQuery("div.csbwfs-hide").show(500);
269
  csbwfsSetCookie("csbwfs_show_hide_status","active","1");
@@ -272,7 +203,7 @@ if($pluginOptionsVal['csbwfs_position']=='right' || $pluginOptionsVal['csbwfs_po
272
  jQuery("div.csbwfs-hide a").click(function(){
273
  jQuery("div.csbwfs-show").show(500);
274
  jQuery("div.csbwfs-hide").hide(500);
275
- jQuery("div#social-inner").hide(500);
276
  csbwfsSetCookie("csbwfs_show_hide_status","in_active","1");
277
  });';
278
 
@@ -280,9 +211,9 @@ if($pluginOptionsVal['csbwfs_position']=='right' || $pluginOptionsVal['csbwfs_po
280
  if (button_status =="in_active") {
281
  jQuery("div.csbwfs-show").show();
282
  jQuery("div.csbwfs-hide").hide();
283
- jQuery("div#social-inner").hide();
284
  } else {
285
- jQuery("div#social-inner").show();
286
  jQuery("div.csbwfs-show").hide();
287
  jQuery("div.csbwfs-hide").show();
288
  }';
@@ -492,57 +423,57 @@ $isActiveHideShowBtn='yes';
492
  else:
493
  $isActiveHideShowBtn='no';
494
  endif;
495
- $flitingSidebarContent='<div id="delaydiv"><div class="csbwfs-social-widget" '.$idName.' title="'.$sharemsg.'" '.$style.'>';
496
 
497
  if($isActiveHideShowBtn!='yes') :
498
  $flitingSidebarContent .= '<div class="csbwfs-show"><a href="javascript:" alt="'.$showbtn.'" id="csbwfs-show"><img src="'.plugins_url('custom-share-buttons-with-floating-sidebar/images/'.$showImg).'" title="'.$showbtn.'"></a></div>';
499
  endif;
500
 
501
- $flitingSidebarContent .= '<div id="social-inner">';
502
 
503
  /** FB */
504
  if($pluginOptionsVal['csbwfs_fpublishBtn']!=''):
505
- $flitingSidebarContent .='<div class="csbwfs-sbutton"><div id="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" alt="Share on Facebook" '.$fImgbg.'> <img src="'.$fImg.'"></a></div></div>';
506
  endif;
507
 
508
  /** TW */
509
  if($pluginOptionsVal['csbwfs_tpublishBtn']!=''):
510
- $flitingSidebarContent .='<div class="csbwfs-sbutton"><div id="tw"><a href="javascript:" onclick="window.open(\'http://twitter.com/share?url='.$shareurl.'&text='.$ShareTitle.'\',\'_blank\',\'width=800,height=300\')" alt="Twitter" '.$tImgbg.'><img src="'.$tImg.'"></a></div></div>';
511
  endif;
512
 
513
  /** GP */
514
  if($pluginOptionsVal['csbwfs_gpublishBtn']!=''):
515
- $flitingSidebarContent .='<div class="csbwfs-sbutton"><div id="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;" alt="Google Plus" '.$gImgbg.'><img src="'.$gImg.'"></a></div></div>';
516
  endif;
517
 
518
  /** LI */
519
  if($pluginOptionsVal['csbwfs_lpublishBtn']!=''):
520
- $flitingSidebarContent .='<div class="csbwfs-sbutton"><div id="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;" alt="Google Plus" '.$lImgbg.'><img src="'.$lImg.'"></a></div></div>';
521
  endif;
522
 
523
  /** PIN */
524
  if($pluginOptionsVal['csbwfs_ppublishBtn']!=''):
525
- $flitingSidebarContent .='<div class="csbwfs-sbutton"><div id="pin"><a onclick="window.open(\'http://pinterest.com/pin/create/button/?url='.$shareurl.'&amp;media='.$pinShareImg.'&amp;description='.$ShareTitle.' :'.$shareurl.'\',\'pinIt\',\'toolbar=0,status=0,width=800,height=500\');" href="javascript:void(0);" '.$pImgbg.'><img src="'.$pImg.'"></a></div></div>';
526
  endif;
527
 
528
  /** YT */
529
  if(isset($pluginOptionsVal['csbwfs_ytpublishBtn']) && $pluginOptionsVal['csbwfs_ytpublishBtn']!=''):
530
- $flitingSidebarContent .='<div class="csbwfs-sbutton"><div id="yt"><a onclick="window.open(\''.$pluginOptionsVal['csbwfs_ytPath'].'\');" href="javascript:void(0);" '.$ytImgbg.'><img src="'.$ytImg.'"></a></div></div>';
531
  endif;
532
 
533
  /** Reddit */
534
  if(isset($pluginOptionsVal['csbwfs_republishBtn']) && $pluginOptionsVal['csbwfs_republishBtn']!=''):
535
- $flitingSidebarContent .='<div class="csbwfs-sbutton"><div id="re"><a onclick="window.open(\'http://reddit.com/submit?url='.$shareurl.'&amp;title='.$ShareTitle.'\',\'Reddit\',\'toolbar=0,status=0,width=1000,height=800\');" href="javascript:void(0);" '.$reImgbg.'><img src="'.$reImg.'"></a></div></div>';
536
  endif;
537
 
538
  /** Stumbleupon */
539
  if(isset($pluginOptionsVal['csbwfs_stpublishBtn']) && $pluginOptionsVal['csbwfs_stpublishBtn']!=''):
540
- $flitingSidebarContent .='<div class="csbwfs-sbutton"><div id="st"><a onclick="window.open(\'http://www.stumbleupon.com/submit?url='.$shareurl.'&amp;title='.$ShareTitle.'\',\'Stumbleupon\',\'toolbar=0,status=0,width=1000,height=800\');" href="javascript:void(0);" '.$stImgbg.'><img src="'. $stImg.'"></a></div></div>';
541
  endif;
542
 
543
  /** Mail*/
544
  if($pluginOptionsVal['csbwfs_mpublishBtn']!=''):
545
- $flitingSidebarContent .='<div class="csbwfs-sbutton"><div id="ml"><a href="mailto:'.$mailMsg.'" alt="Email" '.$mImgbg.'><img src="'.$mImg.'"></a></div></div>';
546
  endif;
547
 
548
  $flitingSidebarContent .='</div>'; //End social-inner
@@ -630,7 +561,13 @@ if($pluginOptionsVal['csbwfs_pin_image']!=''){ $pImg=$pluginOptionsVal['csbwfs_p
630
  //get youtube button image
631
  if(isset($pluginOptionsVal['csbwfs_yt_image']) && $pluginOptionsVal['csbwfs_yt_image']!=''){ $ytImg=$pluginOptionsVal['csbwfs_yt_image'];}
632
  else{$ytImg=plugins_url('images/youtube-p.png',__FILE__);}
633
-
 
 
 
 
 
 
634
  //get email message
635
  if(is_page() || is_single() || is_category() || is_archive()){
636
 
@@ -678,14 +615,24 @@ endif;
678
 
679
  /* Pinterest */
680
  if($pluginOptionsVal['csbwfs_ppublishBtn']!=''):
681
- $shareButtonContent.='<div class="csbwfs-sbutton-post"><div id="pin-p"><a onclick="window.open(\'http://pinterest.com/pin/create/button/?url='.$shareurl.'&amp;media='.plugins_url('images/mrweb-logo.jpg',__FILE__).'&amp;description='.$ShareTitle.':'.$shareurl.'\',\'pinIt\',\'toolbar=0,status=0,width=620,height=500\');" href="javascript:void(0);" style="width: 45px;"><img src="'.$pImg.'"></a></div></div>';
682
  endif;
683
 
684
  /* Youtube */
685
  if(isset($pluginOptionsVal['csbwfs_ytpublishBtn']) && $pluginOptionsVal['csbwfs_ytpublishBtn']!=''):
686
- $shareButtonContent.='<div class="csbwfs-sbutton-post"><div id="yt-p"><a onclick="window.open(\'http://pinterest.com/pin/create/button/?url='.$shareurl.'&amp;media=http://www.mrwebsolution.in/wp-content/themes/mrweb/images/logo.png&amp;description='.$ShareTitle.':'.$shareurl.'\',\'pinIt\',\'toolbar=0,status=0,width=620,height=500\');" href="javascript:void(0);" style="width: 45px;"><img src="'.$ytImg.'"></a></div></div>';
 
 
 
 
687
  endif;
688
 
 
 
 
 
 
 
689
  /* Email */
690
  if($pluginOptionsVal['csbwfs_mpublishBtn']!=''):
691
  $shareButtonContent.='<div class="csbwfs-sbutton-post"><div id="ml-p"><a href="mailto:'.$mailMsg.'" alt="Email"><img src="'.$mImg.'"></a></div></div>';
108
  animateHeight="49";
109
  defaultAnimateHeight= animateHeight-2;';
110
  if($pluginOptionsVal['csbwfs_delayTimeBtn']!='0'):
111
+ $jscnt.='jQuery("#csbwfs-delaydiv").hide();
112
  setTimeout(function(){
113
+ jQuery("#csbwfs-delaydiv").fadeIn();}, '.$pluginOptionsVal['csbwfs_delayTimeBtn'].');';
114
  endif;
115
 
116
  if($pluginOptionsVal['csbwfs_position']=='right' || $pluginOptionsVal['csbwfs_position']=='left'){
117
 
118
  if($pluginOptionsVal['csbwfs_tpublishBtn']!=''):
119
+ $jscnt.='jQuery("div#csbwfs-tw a").hover(function(){
120
+ jQuery("div#csbwfs-tw a").animate({width:animateWidth});
121
  },function(){
122
+ jQuery("div#csbwfs-tw a").stop( true, true ).animate({width:defaultAnimateWidth});
123
  });';
124
  endif;
125
 
126
  if($pluginOptionsVal['csbwfs_fpublishBtn']!=''):
127
+ $jscnt.='jQuery("div#csbwfs-fb a").hover(function(){
128
+ jQuery("div#csbwfs-fb a").animate({width:animateWidth});
129
  },function(){
130
+ jQuery("div#csbwfs-fb a").stop( true, true ).animate({width:defaultAnimateWidth});
131
  });';
132
  endif;
133
 
134
  if($pluginOptionsVal['csbwfs_mpublishBtn']!=''):
135
+ $jscnt.='jQuery("div#csbwfs-ml a").hover(function(){
136
+ jQuery("div#csbwfs-ml a").animate({width:animateWidth});
137
  },function(){
138
+ jQuery("div#csbwfs-ml a").stop( true, true ).animate({width:defaultAnimateWidth});
139
  });';
140
  endif;
141
 
142
  if($pluginOptionsVal['csbwfs_gpublishBtn']!=''):
143
+ $jscnt.='jQuery("div#csbwfs-gp a").hover(function(){
144
+ jQuery("div#csbwfs-gp a").animate({width:animateWidth});
145
  },function(){
146
+ jQuery("div#csbwfs-gp a").stop( true, true ).animate({width:defaultAnimateWidth});
147
  });';
148
  endif;
149
 
150
  if($pluginOptionsVal['csbwfs_lpublishBtn']!=''):
151
+ $jscnt.='jQuery("div#csbwfs-li a").hover(function(){
152
+ jQuery("div#csbwfs-li a").animate({width:animateWidth});
153
  },function(){
154
+ jQuery("div#csbwfs-li a").stop( true, true ).animate({width:defaultAnimateWidth});
155
  });';
156
  endif;
157
 
158
  if($pluginOptionsVal['csbwfs_ppublishBtn']!=''):
159
+ $jscnt.='jQuery("div#csbwfs-pin a").hover(function(){
160
+ jQuery("div#csbwfs-pin a").animate({width:animateWidth});
161
  },function(){
162
+ jQuery("div#csbwfs-pin a").stop( true, true ).animate({width:defaultAnimateWidth});
163
  });';
164
  endif;
165
 
166
  if(isset($pluginOptionsVal['csbwfs_ytpublishBtn']) && $pluginOptionsVal['csbwfs_ytpublishBtn']!=''):
167
+ $jscnt.='jQuery("div#csbwfs-yt a").hover(function(){
168
+ jQuery("div#csbwfs-yt a").animate({width:animateWidth});
169
  },function(){
170
+ jQuery("div#csbwfs-yt a").stop( true, true ).animate({width:defaultAnimateWidth});
171
  });';
172
  endif;
173
  if(isset($pluginOptionsVal['csbwfs_republishBtn']) && $pluginOptionsVal['csbwfs_republishBtn']!=''):
174
+ $jscnt.='jQuery("div#csbwfs-re a").hover(function(){
175
+ jQuery("div#csbwfs-re a").animate({width:animateWidth});
176
  },function(){
177
+ jQuery("div#csbwfs-re a").stop( true, true ).animate({width:defaultAnimateWidth});
178
  });';
179
  endif;
180
 
181
  if(isset($pluginOptionsVal['csbwfs_stpublishBtn']) && $pluginOptionsVal['csbwfs_stpublishBtn']!=''):
182
+ $jscnt.='jQuery("div#csbwfs-st a").hover(function(){
183
+ jQuery("div#csbwfs-st a").animate({width:animateWidth});
184
  },function(){
185
+ jQuery("div#csbwfs-st a").stop( true, true ).animate({width:defaultAnimateWidth});
186
  });';
187
  endif;
188
 
189
  }else
190
  {
191
+ //silent
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
192
 
193
  }
194
 
195
  $jscnt.='jQuery("div.csbwfs-show").hide();
196
  jQuery("div.csbwfs-show a").click(function(){
197
+ jQuery("div#csbwfs-social-inner").show(500);
198
  jQuery("div.csbwfs-show").hide(500);
199
  jQuery("div.csbwfs-hide").show(500);
200
  csbwfsSetCookie("csbwfs_show_hide_status","active","1");
203
  jQuery("div.csbwfs-hide a").click(function(){
204
  jQuery("div.csbwfs-show").show(500);
205
  jQuery("div.csbwfs-hide").hide(500);
206
+ jQuery("div#csbwfs-social-inner").hide(500);
207
  csbwfsSetCookie("csbwfs_show_hide_status","in_active","1");
208
  });';
209
 
211
  if (button_status =="in_active") {
212
  jQuery("div.csbwfs-show").show();
213
  jQuery("div.csbwfs-hide").hide();
214
+ jQuery("div#csbwfs-social-inner").hide();
215
  } else {
216
+ jQuery("div#csbwfs-social-inner").show();
217
  jQuery("div.csbwfs-show").hide();
218
  jQuery("div.csbwfs-hide").show();
219
  }';
423
  else:
424
  $isActiveHideShowBtn='no';
425
  endif;
426
+ $flitingSidebarContent='<div id="csbwfs-delaydiv"><div class="csbwfs-social-widget" '.$idName.' title="'.$sharemsg.'" '.$style.'>';
427
 
428
  if($isActiveHideShowBtn!='yes') :
429
  $flitingSidebarContent .= '<div class="csbwfs-show"><a href="javascript:" alt="'.$showbtn.'" id="csbwfs-show"><img src="'.plugins_url('custom-share-buttons-with-floating-sidebar/images/'.$showImg).'" title="'.$showbtn.'"></a></div>';
430
  endif;
431
 
432
+ $flitingSidebarContent .= '<div id="csbwfs-social-inner">';
433
 
434
  /** FB */
435
  if($pluginOptionsVal['csbwfs_fpublishBtn']!=''):
436
+ $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" alt="Share on Facebook" '.$fImgbg.'> <img src="'.$fImg.'"></a></div></div>';
437
  endif;
438
 
439
  /** TW */
440
  if($pluginOptionsVal['csbwfs_tpublishBtn']!=''):
441
+ $flitingSidebarContent .='<div class="csbwfs-sbutton"><div id="csbwfs-tw"><a href="javascript:" onclick="window.open(\'http://twitter.com/share?url='.$shareurl.'&text='.$ShareTitle.'\',\'_blank\',\'width=800,height=300\')" alt="Twitter" '.$tImgbg.'><img src="'.$tImg.'"></a></div></div>';
442
  endif;
443
 
444
  /** GP */
445
  if($pluginOptionsVal['csbwfs_gpublishBtn']!=''):
446
+ $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;" alt="Google Plus" '.$gImgbg.'><img src="'.$gImg.'"></a></div></div>';
447
  endif;
448
 
449
  /** LI */
450
  if($pluginOptionsVal['csbwfs_lpublishBtn']!=''):
451
+ $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;" alt="Google Plus" '.$lImgbg.'><img src="'.$lImg.'"></a></div></div>';
452
  endif;
453
 
454
  /** PIN */
455
  if($pluginOptionsVal['csbwfs_ppublishBtn']!=''):
456
+ $flitingSidebarContent .='<div class="csbwfs-sbutton"><div id="csbwfs-pin"><a onclick="window.open(\'http://pinterest.com/pin/create/button/?url='.$shareurl.'&amp;media='.$pinShareImg.'&amp;description='.$ShareTitle.' :'.$shareurl.'\',\'pinIt\',\'toolbar=0,status=0,width=800,height=500\');" href="javascript:void(0);" '.$pImgbg.'><img src="'.$pImg.'"></a></div></div>';
457
  endif;
458
 
459
  /** YT */
460
  if(isset($pluginOptionsVal['csbwfs_ytpublishBtn']) && $pluginOptionsVal['csbwfs_ytpublishBtn']!=''):
461
+ $flitingSidebarContent .='<div class="csbwfs-sbutton"><div id="csbwfs-yt"><a onclick="window.open(\''.$pluginOptionsVal['csbwfs_ytPath'].'\');" href="javascript:void(0);" '.$ytImgbg.'><img src="'.$ytImg.'"></a></div></div>';
462
  endif;
463
 
464
  /** Reddit */
465
  if(isset($pluginOptionsVal['csbwfs_republishBtn']) && $pluginOptionsVal['csbwfs_republishBtn']!=''):
466
+ $flitingSidebarContent .='<div class="csbwfs-sbutton"><div id="csbwfs-re"><a onclick="window.open(\'http://reddit.com/submit?url='.$shareurl.'&amp;title='.$ShareTitle.'\',\'Reddit\',\'toolbar=0,status=0,width=1000,height=800\');" href="javascript:void(0);" '.$reImgbg.'><img src="'.$reImg.'"></a></div></div>';
467
  endif;
468
 
469
  /** Stumbleupon */
470
  if(isset($pluginOptionsVal['csbwfs_stpublishBtn']) && $pluginOptionsVal['csbwfs_stpublishBtn']!=''):
471
+ $flitingSidebarContent .='<div class="csbwfs-sbutton"><div id="csbwfs-st"><a onclick="window.open(\'http://www.stumbleupon.com/submit?url='.$shareurl.'&amp;title='.$ShareTitle.'\',\'Stumbleupon\',\'toolbar=0,status=0,width=1000,height=800\');" href="javascript:void(0);" '.$stImgbg.'><img src="'. $stImg.'"></a></div></div>';
472
  endif;
473
 
474
  /** Mail*/
475
  if($pluginOptionsVal['csbwfs_mpublishBtn']!=''):
476
+ $flitingSidebarContent .='<div class="csbwfs-sbutton"><div id="csbwfs-ml"><a href="mailto:'.$mailMsg.'" alt="Email" '.$mImgbg.'><img src="'.$mImg.'"></a></div></div>';
477
  endif;
478
 
479
  $flitingSidebarContent .='</div>'; //End social-inner
561
  //get youtube button image
562
  if(isset($pluginOptionsVal['csbwfs_yt_image']) && $pluginOptionsVal['csbwfs_yt_image']!=''){ $ytImg=$pluginOptionsVal['csbwfs_yt_image'];}
563
  else{$ytImg=plugins_url('images/youtube-p.png',__FILE__);}
564
+ //get reddit plus button image
565
+ if(isset($pluginOptionsVal['csbwfs_re_image']) && $pluginOptionsVal['csbwfs_re_image']!=''){ $reImg=$pluginOptionsVal['csbwfs_re_image'];}
566
+ else{$reImg=plugins_url('images/reddit.png',__FILE__);}
567
+ //get stumbleupon button image
568
+ if(isset($pluginOptionsVal['csbwfs_st_image']) && $pluginOptionsVal['csbwfs_st_image']!=''){ $stImg=$pluginOptionsVal['csbwfs_st_image'];}
569
+ else{$stImg=plugins_url('images/stumbleupon.png',__FILE__);}
570
+
571
  //get email message
572
  if(is_page() || is_single() || is_category() || is_archive()){
573
 
615
 
616
  /* Pinterest */
617
  if($pluginOptionsVal['csbwfs_ppublishBtn']!=''):
618
+ $shareButtonContent.='<div class="csbwfs-sbutton-post"><div id="pin-p"><a onclick="window.open(\'http://pinterest.com/pin/create/button/?url='.$shareurl.'&amp;media='.plugins_url('images/mrweb-logo.jpg',__FILE__).'&amp;description='.$ShareTitle.':'.$shareurl.'\',\'pinIt\',\'toolbar=0,status=0,width=620,height=500\');" href="javascript:void(0);"><img src="'.$pImg.'"></a></div></div>';
619
  endif;
620
 
621
  /* Youtube */
622
  if(isset($pluginOptionsVal['csbwfs_ytpublishBtn']) && $pluginOptionsVal['csbwfs_ytpublishBtn']!=''):
623
+ $shareButtonContent.='<div class="csbwfs-sbutton-post"><div id="yt-p"><a onclick="window.open(\''.$pluginOptionsVal['csbwfs_ytPath'].'\');" href="javascript:void(0);" style="width: 45px;"><img src="'.$ytImg.'"></a></div></div>';
624
+ endif;
625
+ /* Stumbleen */
626
+ if(isset($pluginOptionsVal['csbwfs_stpublishBtn']) && $pluginOptionsVal['csbwfs_stpublishBtn']!=''):
627
+ $shareButtonContent.='<div class="csbwfs-sbutton-post"><div id="st-p"><a onclick="window.open(\'http://www.stumbleupon.com/submit?url='.$shareurl.'&amp;title='.$ShareTitle.'\',\'Stumbleupon\',\'toolbar=0,status=0,width=1000,height=800\');" href="javascript:void(0);" ><img src="'.$stImg.'"></a></div></div>';
628
  endif;
629
 
630
+ /* Reddit */
631
+ if(isset($pluginOptionsVal['csbwfs_republishBtn']) && $pluginOptionsVal['csbwfs_republishBtn']!=''):
632
+ $shareButtonContent.='<div class="csbwfs-sbutton-post"><div id="re-p"><a onclick="window.open(\'http://reddit.com/submit?url='.$shareurl.'&amp;title='.$ShareTitle.'\',\'Reddit\',\'toolbar=0,status=0,width=1000,height=800\');" href="javascript:void(0);"><img src="'.$reImg.'"></a></div></div>';
633
+ endif;
634
+
635
+
636
  /* Email */
637
  if($pluginOptionsVal['csbwfs_mpublishBtn']!=''):
638
  $shareButtonContent.='<div class="csbwfs-sbutton-post"><div id="ml-p"><a href="mailto:'.$mailMsg.'" alt="Email"><img src="'.$mImg.'"></a></div></div>';
css/csbwfs-.css ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* Custom share Buttons With Floating Sidebar (C)
2
+ * Author: Raghunath gurjar
3
+ * */
4
+ .sbutton img {opacity:0.7;}
5
+ .sbutton img:hover{opacity:1;}
6
+ .csbwfs-social-widget {
7
+ position: fixed;
8
+ width: 50px;
9
+ z-index: 99999;
10
+ }
11
+
12
+ .csbwfs-social-widget .csbwfs-sbutton {background: none;float: right;height: 41px;margin: 0;padding: 0;position: relative;width: 50px;}
13
+ .csbwfs-sbutton img{padding:5px;}
14
+
15
+ #csbwfs-tw a{background:none repeat scroll 0 0 #2CA8D2; text-align:center; display:block; width:45px; height:40px; border-bottom:1px solid rgba(255, 255, 255, 0.1)}
16
+
17
+ #csbwfs-fb a{background:none repeat scroll 0 0 #305891; text-align:center; display:block; width:45px; height:40px; border-bottom:1px solid rgba(255, 255, 255, 0.1);outline:none;}
18
+
19
+ #csbwfs-ml a{background:none repeat scroll 0 0 #738A8D; text-align:center; display:block; width:45px; height:40px; border-bottom:1px solid rgba(255, 255, 255, 0.1);outline:none;}
20
+
21
+ #csbwfs-gp a{background:none repeat scroll 0 0 #DD4C39; text-align:center; display:block; width:45px; height:40px; border-bottom:1px solid rgba(255, 255, 255, 0.1); outline:none;}
22
+
23
+ #csbwfs-li a{background:none repeat scroll 0 0 #007BB6; text-align:center; display:block; width:45px; height:40px; border-bottom:1px solid rgba(255, 255, 255, 0.1); outline:none;}
24
+
25
+ #csbwfs-pin a{background:none repeat scroll 0 0 #ca2027; text-align:center; display:block; width:45px; height:40px; border-bottom:1px solid rgba(255, 255, 255, 0.1); outline:none;}
26
+ #csbwfs-yt a{background:none repeat scroll 0 0 #ffffff; text-align:center; display:block; width:45px; height:40px; border-bottom:1px solid rgba(255, 255, 255, 0.1); outline:none;}
27
+ #csbwfs-re a{background:none repeat scroll 0 0 #FF1A00; text-align:center; display:block; width:45px; height:40px; border-bottom:1px solid rgba(255, 255, 255, 0.1); outline:none;}
28
+ #csbwfs-st a{background:none repeat scroll 0 0 #EB4924; text-align:center; display:block; width:45px; height:40px; border-bottom:1px solid rgba(255, 255, 255, 0.1); outline:none;}
29
+ #csbwfs-right #csbwfs-re, #csbwfs-st,#csbwfs-yt, #csbwfs-ml,#csbwfs-pin,#csbwfs-gp,#csbwfs-tw,#csbwfs-fb a {position: absolute; right: 0;}
30
+ #csbwfs-right a#csbwfs-hide {padding-right:33px;}
31
+ #csbwfs-right a#csbwfs-show {float:right;}
32
+
33
+ /* Bottom Position */
34
+ #csbwfs-bottom #csbwfs-re, #csbwfs-st,#csbwfs-yt, #csbwfs-ml,#csbwfs-pin,#csbwfs-gp,#csbwfs-tw,#csbwfs-fb a {
35
+ bottom: 0; height: 45px; border-radius: 3px 3px 0px 0px;
36
+ box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
37
+ }
38
+
39
+ #csbwfs-bottom {width:100%;margin:0 auto; text-align:center; bottom: 0 !important; }
40
+ #csbwfs-bottom .csbwfs-hide{display:none !important;}
41
+ #csbwfs-bottom .csbwfs-sbutton{
42
+ background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
43
+ display: inline-block;
44
+ float: none;
45
+ margin: 0 auto;
46
+ position: relative;
47
+ width: 47px;
48
+
49
+ }
50
+ #csbwfs-bottom .csbwfs-sbutton img {width: 31px;
51
+ height: 30px;
52
+ opacity: 0.7;
53
+ }
54
+ #csbwfs-bottom .csbwfs-sbutton img:hover{opacity:1;}
55
+ /* Share buttons CSS */
56
+ /* Custom Share Buttons Style*/
57
+ #socialButtonOnPage {width:100%;display:inline-block;float:left; }
58
+ #socialButtonOnPage .csbwfs-sbutton-post img {width:31px; height:30px;opacity:0.7; border-radius:3px 3px 3px 3px;box-shadow:0 1px 4px rgba(0, 0, 0, 0.2);}
59
+ #socialButtonOnPage .csbwfs-sbutton-post img:hover{opacity:1;}
60
+ #socialButtonOnPage .sharethis-arrow span:hover{cursor:pointer;}
61
+
62
+ #socialButtonOnPage .sharethis-arrow span{ color: #FFFFFF;
63
+ display: inline-block;
64
+ font-size: 16px;
65
+ font-style: italic;
66
+ font-weight: bold;}
67
+
68
+ /* Left Position */
69
+ .leftSocialButtonOnPage .csbwfs-sbutton-post {float:left; padding:5px 1px;}
70
+ .leftSocialButtonOnPage .sharethis-arrow{float:left;padding:5px 10px 5px 1px;background:url("../images/sharethis-l.png") no-repeat scroll 0 0 #ffffff;height: 29px;padding: 0 10px 0 0;margin-top:5px;width: 120px; }
71
+ .leftSocialButtonOnPage .sharethis-arrow span{ padding-left: 12px;}
72
+
73
+ /* Right Position */
74
+ .rightSocialButtonOnPage .csbwfs-sbutton-post {float:right; padding:5px 1px;}
75
+ .rightSocialButtonOnPage .sharethis-arrow{float:right;padding:5px 1px 5px 10px;background:url("../images/sharethis-r.png") no-repeat scroll 0 0 #ffffff;height: 29px;padding: 0 0 0 10px;margin-top:5px;width: 120px; margin-left:5px;}
76
+ .rightSocialButtonOnPage .sharethis-arrow span{padding-left: 12px;}
css/csbwfs.css CHANGED
@@ -3,121 +3,42 @@
3
  * */
4
  .sbutton img {opacity:0.7;}
5
  .sbutton img:hover{opacity:1;}
6
- .csbwfs-social-widget {
7
- position: fixed;
8
- width: 50px;
9
- z-index: 99999;
10
- }
11
-
12
- .csbwfs-social-widget .csbwfs-sbutton {background: none;float: right;height: 41px;margin: 0;padding: 0;position: relative;width: 50px;}
13
- .csbwfs-sbutton img{padding:5px;}
14
-
15
- #tw a{background:none repeat scroll 0 0 #2CA8D2; text-align:center; display:block; width:45px; height:40px; border-bottom:1px solid rgba(255, 255, 255, 0.1)}
16
-
17
- #fb a{background:none repeat scroll 0 0 #305891; text-align:center; display:block; width:45px; height:40px; border-bottom:1px solid rgba(255, 255, 255, 0.1);outline:none;}
18
-
19
- #ml a{background:none repeat scroll 0 0 #738A8D; text-align:center; display:block; width:45px; height:40px; border-bottom:1px solid rgba(255, 255, 255, 0.1);outline:none;}
20
-
21
- #gp a{background:none repeat scroll 0 0 #DD4C39; text-align:center; display:block; width:45px; height:40px; border-bottom:1px solid rgba(255, 255, 255, 0.1); outline:none;}
22
-
23
- #li a{background:none repeat scroll 0 0 #007BB6; text-align:center; display:block; width:45px; height:40px; border-bottom:1px solid rgba(255, 255, 255, 0.1); outline:none;}
24
-
25
- #pin a{background:none repeat scroll 0 0 #ca2027; text-align:center; display:block; width:45px; height:40px; border-bottom:1px solid rgba(255, 255, 255, 0.1); outline:none;}
26
- #yt a{background:none repeat scroll 0 0 #ffffff; text-align:center; display:block; width:45px; height:40px; border-bottom:1px solid rgba(255, 255, 255, 0.1); outline:none;}
27
- #re a{background:none repeat scroll 0 0 #FF1A00; text-align:center; display:block; width:45px; height:40px; border-bottom:1px solid rgba(255, 255, 255, 0.1); outline:none;}
28
- #st a{background:none repeat scroll 0 0 #EB4924; text-align:center; display:block; width:45px; height:40px; border-bottom:1px solid rgba(255, 255, 255, 0.1); outline:none;}
29
-
30
-
31
-
32
- #csbwfs-right #fb a {
33
- position: absolute;
34
- right: 0;
35
-
36
- }
37
- #csbwfs-right #tw a {
38
- position: absolute;
39
- right: 0;
40
-
41
- }
42
- #csbwfs-right #gp a {
43
- position: absolute;
44
- right: 0;
45
-
46
- }
47
-
48
- #csbwfs-right #li a {
49
- position: absolute;
50
- right: 0;
51
-
52
- }
53
- #csbwfs-right #pin a {
54
- position: absolute;
55
- right: 0;
56
-
57
- }
58
- #csbwfs-right #ml a {
59
- position: absolute;
60
- right: 0;
61
-
62
- }
63
- #csbwfs-right #yt a {
64
- position: absolute;
65
- right: 0;
66
-
67
- }
68
- #csbwfs-right #re a {
69
- position: absolute;
70
- right: 0;
71
-
72
- }
73
- #csbwfs-right #st a {
74
- position: absolute;
75
- right: 0;
76
-
77
- }
78
- #csbwfs-right a#hide {padding-right:33px;}
79
- #csbwfs-right a#show {float:right;}
80
-
81
  /* Bottom Position */
82
- #csbwfs-bottom #re a, #csbwfs-bottom #st a ,#csbwfs-bottom #yt a , #csbwfs-bottom #ml a,#csbwfs-bottom #pin a,#csbwfs-bottom #gp a ,#csbwfs-bottom #tw a,#csbwfs-bottom #fb a {
83
- bottom: 0; height: 45px; border-radius: 3px 3px 0px 0px;
84
- box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
85
  }
86
-
87
  #csbwfs-bottom {width:100%;margin:0 auto; text-align:center; bottom: 0 !important; }
88
  #csbwfs-bottom .csbwfs-hide{display:none !important;}
89
- #csbwfs-bottom .csbwfs-sbutton{
90
- background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
91
- display: inline-block;
92
- float: none;
93
- margin: 0 auto;
94
- position: relative;
95
- width: 47px;
96
-
97
- }
98
- #csbwfs-bottom .csbwfs-sbutton img {width: 31px;
99
- height: 30px;
100
- opacity: 0.7;
101
- }
102
  #csbwfs-bottom .csbwfs-sbutton img:hover{opacity:1;}
103
- /* Share buttons CSS */
104
- /* Custom Share Buttons Style*/
105
  #socialButtonOnPage {width:100%;display:inline-block;float:left; }
106
  #socialButtonOnPage .csbwfs-sbutton-post img {width:31px; height:30px;opacity:0.7; border-radius:3px 3px 3px 3px;box-shadow:0 1px 4px rgba(0, 0, 0, 0.2);}
107
  #socialButtonOnPage .csbwfs-sbutton-post img:hover{opacity:1;}
108
  #socialButtonOnPage .sharethis-arrow span:hover{cursor:pointer;}
109
-
110
- #socialButtonOnPage .sharethis-arrow span{ color: #FFFFFF;
111
- display: inline-block;
112
- font-size: 16px;
113
- font-style: italic;
114
- font-weight: bold;}
115
-
116
  /* Left Position */
117
  .leftSocialButtonOnPage .csbwfs-sbutton-post {float:left; padding:5px 1px;}
118
  .leftSocialButtonOnPage .sharethis-arrow{float:left;padding:5px 10px 5px 1px;background:url("../images/sharethis-l.png") no-repeat scroll 0 0 #ffffff;height: 29px;padding: 0 10px 0 0;margin-top:5px;width: 120px; }
119
  .leftSocialButtonOnPage .sharethis-arrow span{ padding-left: 12px;}
120
-
121
  /* Right Position */
122
  .rightSocialButtonOnPage .csbwfs-sbutton-post {float:right; padding:5px 1px;}
123
  .rightSocialButtonOnPage .sharethis-arrow{float:right;padding:5px 1px 5px 10px;background:url("../images/sharethis-r.png") no-repeat scroll 0 0 #ffffff;height: 29px;padding: 0 0 0 10px;margin-top:5px;width: 120px; margin-left:5px;}
3
  * */
4
  .sbutton img {opacity:0.7;}
5
  .sbutton img:hover{opacity:1;}
6
+ .csbwfs-social-widget {position: fixed;width: 50px;z-index: 99999;}
7
+ .csbwfs-social-widget .csbwfs-sbutton {background: none;float: right;height: 41px;margin: 0;padding: 0;position: relative;width: 50px;}
8
+ .csbwfs-sbutton img{padding:5px;}
9
+ .csbwfs-sbutton a {text-align:center; display:block; width:45px; height:40px; border-bottom:1px solid rgba(255, 255, 255, 0.1)}
10
+ #csbwfs-tw a{background:none repeat scroll 0 0 #2CA8D2; }
11
+ #csbwfs-fb a{background:none repeat scroll 0 0 #305891;}
12
+ #csbwfs-ml a{background:none repeat scroll 0 0 #738A8D;}
13
+ #csbwfs-gp a{background:none repeat scroll 0 0 #DD4C39; }
14
+ #csbwfs-li a{background:none repeat scroll 0 0 #007BB6;}
15
+ #csbwfs-pin a{background:none repeat scroll 0 0 #ca2027;}
16
+ #csbwfs-yt a{background:none repeat scroll 0 0 #ffffff;}
17
+ #csbwfs-re a{background:none repeat scroll 0 0 #FF1A00;}
18
+ #csbwfs-st a{background:none repeat scroll 0 0 #EB4924;}
19
+ /* Right Position */
20
+ #csbwfs-right #csbwfs-re,#csbwfs-right #csbwfs-st,#csbwfs-right #csbwfs-yt,#csbwfs-right #csbwfs-ml,#csbwfs-right #csbwfs-pin,#csbwfs-right #csbwfs-gp,#csbwfs-right #csbwfs-tw,#csbwfs-right #csbwfs-fb,#csbwfs-right #csbwfs-li a {position: absolute; right: 0;}
21
+ #csbwfs-right a#csbwfs-hide {padding-right:33px;}
22
+ #csbwfs-right a#csbwfs-show {float:right;}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
23
  /* Bottom Position */
24
+ #csbwfs-bottom #re a, #csbwfs-bottom #st a ,#csbwfs-bottom #yt a , #csbwfs-bottom #ml a,#csbwfs-bottom #pin a,#csbwfs-bottom #gp a ,#csbwfs-bottom #tw a,#csbwfs-bottom #fb a ,#csbwfs-bottom #fb a {
25
+ bottom: 0; height: 45px;
 
26
  }
 
27
  #csbwfs-bottom {width:100%;margin:0 auto; text-align:center; bottom: 0 !important; }
28
  #csbwfs-bottom .csbwfs-hide{display:none !important;}
29
+ #csbwfs-bottom .csbwfs-sbutton{background: none repeat scroll 0 0 rgba(0, 0, 0, 0);display: inline-block;float: none; margin: 0 auto;position: relative;width: 45px;}
30
+ #csbwfs-bottom .csbwfs-sbutton img {width: 31px;height: 30px;opacity: 0.7;}
 
 
 
 
 
 
 
 
 
 
 
31
  #csbwfs-bottom .csbwfs-sbutton img:hover{opacity:1;}
32
+ /* Custom Share Buttons*/
 
33
  #socialButtonOnPage {width:100%;display:inline-block;float:left; }
34
  #socialButtonOnPage .csbwfs-sbutton-post img {width:31px; height:30px;opacity:0.7; border-radius:3px 3px 3px 3px;box-shadow:0 1px 4px rgba(0, 0, 0, 0.2);}
35
  #socialButtonOnPage .csbwfs-sbutton-post img:hover{opacity:1;}
36
  #socialButtonOnPage .sharethis-arrow span:hover{cursor:pointer;}
37
+ #socialButtonOnPage .sharethis-arrow span{ color: #FFFFFF;display: inline-block;font-size: 16px;font-style: italic; font-weight: bold;}
 
 
 
 
 
 
38
  /* Left Position */
39
  .leftSocialButtonOnPage .csbwfs-sbutton-post {float:left; padding:5px 1px;}
40
  .leftSocialButtonOnPage .sharethis-arrow{float:left;padding:5px 10px 5px 1px;background:url("../images/sharethis-l.png") no-repeat scroll 0 0 #ffffff;height: 29px;padding: 0 10px 0 0;margin-top:5px;width: 120px; }
41
  .leftSocialButtonOnPage .sharethis-arrow span{ padding-left: 12px;}
 
42
  /* Right Position */
43
  .rightSocialButtonOnPage .csbwfs-sbutton-post {float:right; padding:5px 1px;}
44
  .rightSocialButtonOnPage .sharethis-arrow{float:right;padding:5px 1px 5px 10px;background:url("../images/sharethis-r.png") no-repeat scroll 0 0 #ffffff;height: 29px;padding: 0 0 0 10px;margin-top:5px;width: 120px; margin-left:5px;}
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 change the share buttons images if you wish
6
  Author: Raghunath
7
  Author URI: http://raghunathgurjar.wordpress.com
8
- Version: 1.8
9
  */
10
 
11
  /* Copyright YEAR PLUGIN_AUTHOR_NAME (email : raghunath.0087@gmail.com)
@@ -401,7 +401,7 @@ function csbwf_sidebar_admin_option_page(){ ?>
401
  <p><strong>My Other Plugins:</strong><br>
402
  <ul>
403
  <li><a href="https://wordpress.org/plugins/protect-wp-admin/" target="_blank">Protect WP-Admin</a></li>
404
- <li><a href="https://wordpress.org/plugins/simple-testimonial-rutator/" target="_blank">Simple Testimonial Rutator</a></li>
405
  <li><a href="https://wordpress.org/plugins/wp-easy-recipe/" target="_blank">WP Easy Recipe</a></li>
406
  <li><a href="https://wordpress.org/plugins/wp-social-buttons/" target="_blank">WP Social Buttons</a></li>
407
  <li><a href="https://wordpress.org/plugins/wp-youtube-gallery/" target="_blank">WP Youtube Gallery</a></li>
@@ -421,8 +421,8 @@ function csbwf_sidebar_admin_option_page(){ ?>
421
  <li> * Option (OG Tags) for define facebook share content (image,content)</li>
422
  <li> * Faster support</li>
423
  </ol>
424
- <p><a href="http://www.gurukulalwar.com" target="_blank" style="display: block; font-size: 16px; font-weight: bold; text-decoration: none; text-align: center; width: 105px; padding: 1px; background: none repeat scroll 0px 0px red; color: rgb(255, 255, 255);">Live Demo</a></p>
425
- <p><a style="display: block; font-size: 16px; font-weight: bold; text-decoration: none; text-align: center; width: 105px; padding: 1px; background: none repeat scroll 0px 0px red; color: rgb(255, 255, 255);" href="http://www.mrwebsolution.in/wordpress-plugins/custom-share-buttons-with-floating-sidebar/">Buy Now</a></p>
426
  <p> <a href="mailto:raghunath.0087@gmail.com" target="_blank" class="contact-author">Contact To Author</a></p>
427
 
428
  </div>
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 change the share buttons images if you wish
6
  Author: Raghunath
7
  Author URI: http://raghunathgurjar.wordpress.com
8
+ Version: 1.9
9
  */
10
 
11
  /* Copyright YEAR PLUGIN_AUTHOR_NAME (email : raghunath.0087@gmail.com)
401
  <p><strong>My Other Plugins:</strong><br>
402
  <ul>
403
  <li><a href="https://wordpress.org/plugins/protect-wp-admin/" target="_blank">Protect WP-Admin</a></li>
404
+ <li><a href="https://wordpress.org/plugins/wp-testimonial/" target="_blank">WP Testimonial</a></li>
405
  <li><a href="https://wordpress.org/plugins/wp-easy-recipe/" target="_blank">WP Easy Recipe</a></li>
406
  <li><a href="https://wordpress.org/plugins/wp-social-buttons/" target="_blank">WP Social Buttons</a></li>
407
  <li><a href="https://wordpress.org/plugins/wp-youtube-gallery/" target="_blank">WP Youtube Gallery</a></li>
421
  <li> * Option (OG Tags) for define facebook share content (image,content)</li>
422
  <li> * Faster support</li>
423
  </ol>
424
+ <p><a href="http://csbwfs.mrwebsolution.in/" target="_blank" style="display: block; font-size: 16px; font-weight: bold; text-decoration: none; text-align: center; width: 105px; padding: 1px; background: none repeat scroll 0px 0px red; color: rgb(255, 255, 255);">Live Demo</a></p>
425
+ <p><a style="display: block; font-size: 16px; font-weight: bold; text-decoration: none; text-align: center; width: 105px; padding: 1px; background: none repeat scroll 0px 0px red; color: rgb(255, 255, 255);" href="http://csbwfs.mrwebsolution.in/">Buy Now</a></p>
426
  <p> <a href="mailto:raghunath.0087@gmail.com" target="_blank" class="contact-author">Contact To Author</a></p>
427
 
428
  </div>
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === Custom Share Buttons with Floating Sidebar ===
2
  Contributors:india-web-developer
3
- Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=WN785E5V492L4
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.0
6
- Tested up to: 4.1.1
7
- Stable tag: 1.8
8
 
9
  Add Social Share Buttons Using Floating Sidebar On Your Site (Facebook,Twitter,Linkedin,Google+,Pinterest,Youtube,Mail,Stumbleupon,Reddit)
10
 
@@ -14,7 +14,7 @@ Add Social Share Buttons Using Floating Sidebar On Your Site (Facebook,Twitter,L
14
 
15
  There are not added any external JS files in this plugin so it's does not effect on your site speed as well.
16
 
17
- **[Upgrade to Pro Version-Server1](http://csbwfs.mrwebsolution.in/social-share-buttons-with-floating-sidebar-pro)**
18
 
19
  **[Upgrade to Pro Version-Server2](https://raghunathgurjar.wordpress.com/csbwfs-pro/)**
20
 
@@ -38,22 +38,26 @@ We have also released an add-on for Custom Share Buttons With Floating Sidebar w
38
 
39
  * Responsive Floating Sidebar
40
  * Hide Floating Sidebar On Home/Post/Page/Category
 
41
  * Responsive Lightbox Contact Form (for Mail Icon)
42
- * Option for add to Contact Form 7 shortcode in lightbox
43
- * Advance Feature For Choose To Pinterest Share Image
44
- * Option for Show/Hide sidebar on any specific page/post
45
  * Option (OG Tags) for define facebook share content (image,content)
46
- * Option for add to social site official page URL for all social buttons
47
  * Extra Buttons (Google Translate,Instagram, Whatsapp)
 
48
  * Faster support
49
 
 
50
  **[Live Demo](http://csbwfs.mrwebsolution.in)**
51
 
52
  **[Addon Documentation](http://csbwfs.mrwebsolution.in/documentation)**
53
 
54
- **[Upgrade to Pro Version-Server1](http://csbwfs.mrwebsolution.in/social-share-buttons-with-floating-sidebar-pro)**
 
 
55
 
56
- **[Upgrade to Pro Version-Server2](https://raghunathgurjar.wordpress.com/csbwfs-pro/)**
57
 
58
  == Installation ==
59
 
@@ -110,6 +114,13 @@ No,this is not a responsibe plugin but you can use our csbwfs addon, Our CSBWFS
110
 
111
  == Changelog ==
112
 
 
 
 
 
 
 
 
113
  = 1.8 =
114
  * Released Pro Version 1.1
115
  * Added new bottom position option for floating sidebar
1
  === Custom Share Buttons with Floating Sidebar ===
2
  Contributors:india-web-developer
3
+ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=ZEMSYQUZRUK6A
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.2.1
7
+ Stable tag: 1.9
8
 
9
  Add Social Share Buttons Using Floating Sidebar On Your Site (Facebook,Twitter,Linkedin,Google+,Pinterest,Youtube,Mail,Stumbleupon,Reddit)
10
 
14
 
15
  There are not added any external JS files in this plugin so it's does not effect on your site speed as well.
16
 
17
+ **[Upgrade to Pro Version-Server1](http://csbwfs.mrwebsolution.in/pro)**
18
 
19
  **[Upgrade to Pro Version-Server2](https://raghunathgurjar.wordpress.com/csbwfs-pro/)**
20
 
38
 
39
  * Responsive Floating Sidebar
40
  * Hide Floating Sidebar On Home/Post/Page/Category
41
+ * Option for Show/Hide sidebar on any specific page/post
42
  * Responsive Lightbox Contact Form (for Mail Icon)
43
+ * Option for add to Contact Form 7 Shortcode into lightbox
44
+ * Advance Feature For Choose To Pinterest Share Image
 
45
  * Option (OG Tags) for define facebook share content (image,content)
46
+ * Option for add to external social site official page URL for all social buttons
47
  * Extra Buttons (Google Translate,Instagram, Whatsapp)
48
+ * Option for display to number of share (Twitter,Facebook,LinkedIn,StumbleUpon,Google Plus,Pinterest and Reddit)
49
  * Faster support
50
 
51
+
52
  **[Live Demo](http://csbwfs.mrwebsolution.in)**
53
 
54
  **[Addon Documentation](http://csbwfs.mrwebsolution.in/documentation)**
55
 
56
+ **[Upgrade to Pro Version - Server1](http://csbwfs.mrwebsolution.in/pro)**
57
+
58
+ **[Upgrade to Pro Version - Server2](https://raghunathgurjar.wordpress.com/csbwfs-pro/)**
59
 
60
+ For any query contact to plugin author on **[raghunath.0087@gmail.com](mailto:raghunath.0087@gmail.com)**
61
 
62
  == Installation ==
63
 
114
 
115
  == Changelog ==
116
 
117
+ = 1.9 =
118
+ * Released Pro Version 1.3
119
+ * Fixed all suggested issues by users
120
+ * Fixed css conflict issues
121
+ * Added Stumbleupon and Reddit buttons to social share buttons
122
+ * Minify CSS
123
+
124
  = 1.8 =
125
  * Released Pro Version 1.1
126
  * Added new bottom position option for floating sidebar