Custom Share Buttons with Floating Sidebar - Version 3.6

Version Description

  • Tested with latest wordpress version 4.9.8
    • Optimized code and fixed some minor issues
Download this release

Release Info

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

Code changes from version 3.5 to 3.6

css/admin-csbwfs.css CHANGED
@@ -1,4 +1,4 @@
1
  /* Custom share Buttons With Floating Sidebar (C)
2
  * Author: Raghunath Gurjar
3
  * */
4
- #csbwf-tab-menu {width:100%; padding:1%;background: none repeat scroll 0 0 #ccc;}#csbwf-tab-menu a {background: none repeat scroll 0 0 #DCA808; border: 0 none;color: #FFFFFF;display: inline-block;font-size: 16px;font-weight: bold;padding: 12px 20px;opacity:0.5;}#csbwf-tab-menu a:hover{cursor:pointer;background: none repeat scroll 0 0 #DCA808;opacity:1;}#csbwf-tab-menu a.active{ background: none repeat scroll 0 0 #DCA808;opacity:1;}#csbwf-sidebar-admin-form .submit-btn {width: 100%; display: inline-block; padding-top: 10px; margin-top: 10px; border-top: 1px dashed #DCA808;}#csbwf-sidebar-admin-form .submit-btn .button-primary{cursor:pointer;height:35px;}#csbwf-sidebar-admin-form .submit-btn .extrabtn{right:20%;position: fixed;}#csbwf-sidebar-admin-form .csbwfs-setting p label {min-width:75px;display:inline-block;}#div-csbwfs-support img {width:10%; height:auto;}#csbwf-sidebar-admin-form ul {list-style:inside}#csbwf-sidebar-admin-form .contact-author{ background: none repeat scroll 0 0 #305891;border: 0 none;color: #FFFFFF;cursor:pointer;display: inline-block;font-size: 12px; font-weight: bold;padding: 2px 5px;text-decoration: none;}
1
  /* Custom share Buttons With Floating Sidebar (C)
2
  * Author: Raghunath Gurjar
3
  * */
4
+ #csbwf-tab-menu {width:100%; padding:1%;background: none repeat scroll 0 0 #ccc;}#csbwf-tab-menu a {background: none repeat scroll 0 0 #DCA808; border: 0 none;color: #FFFFFF;display: inline-block;font-size: 16px;font-weight: bold;padding: 12px 20px;opacity:0.5;}#csbwf-tab-menu a:hover{cursor:pointer;background: none repeat scroll 0 0 #DCA808;opacity:1;}#csbwf-tab-menu a.active{ background: none repeat scroll 0 0 #DCA808;opacity:1;}#csbwf-sidebar-admin-form .submit-btn {width: 100%; display: inline-block; padding-top: 10px; margin-top: 10px; border-top: 1px dashed #DCA808;}#csbwf-sidebar-admin-form .submit-btn .button-primary{cursor:pointer;height:35px;}#csbwf-sidebar-admin-form .submit-btn .extrabtn{right:5%;position: fixed;}#csbwf-sidebar-admin-form .csbwfs-setting p label {min-width:75px;display:inline-block;}#div-csbwfs-support img {width:10%; height:auto;}#csbwf-sidebar-admin-form ul {list-style:inside}#csbwf-sidebar-admin-form .contact-author{ background: none repeat scroll 0 0 #305891;border: 0 none;color: #FFFFFF;cursor:pointer;display: inline-block;font-size: 12px; font-weight: bold;padding: 2px 5px;text-decoration: none;}
custom-share-buttons-with-floating-sidebar.php CHANGED
@@ -38,8 +38,32 @@ if(!class_exists('Csbwfs_Class'))
38
  // register actions
39
  add_action('admin_init', array(&$this, 'csbwfs_admin_init'));
40
  add_action('admin_menu', array(&$this, 'csbwf_sidebar_menu'));
 
41
  } // END public function __construct
42
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
43
  /**
44
  * hook into WP's admin_init action hook
45
  */
38
  // register actions
39
  add_action('admin_init', array(&$this, 'csbwfs_admin_init'));
40
  add_action('admin_menu', array(&$this, 'csbwf_sidebar_menu'));
41
+ add_action( 'admin_bar_menu', array(&$this,'toolbar_link_to_csbwfs'), 999 );
42
  } // END public function __construct
43
+ /**
44
+ * hook to add link under adminmenu bar
45
+ */
46
+ public function toolbar_link_to_csbwfs( $wp_admin_bar ) {
47
+ $args = array(
48
+ 'id' => 'csbwfs_menu_bar',
49
+ 'title' => 'Social Share',
50
+ 'href' => admin_url('options-general.php?page=csbwfs-settings'),
51
+ 'meta' => array( 'class' => 'csbwfs-toolbar-page' )
52
+ );
53
+ $wp_admin_bar->add_node( $args );
54
+ //second lavel
55
+ $wp_admin_bar->add_node( array(
56
+ 'id' => 'csbwfs-second-sub-item',
57
+ 'parent' => 'csbwfs_menu_bar',
58
+ 'title' => 'Settings',
59
+ 'href' => admin_url('options-general.php?page=csbwfs-settings'),
60
+ 'meta' => array(
61
+ 'title' => __('Settings'),
62
+ 'target' => '_self',
63
+ 'class' => 'csbwfs_menu_item_class'
64
+ ),
65
+ ));
66
+ }
67
  /**
68
  * hook into WP's admin_init action hook
69
  */
lib/settings.php CHANGED
@@ -34,8 +34,7 @@
34
  <p><label><?php _e('Message:');?></label><input type="textbox" id="csbwfs_share_msg" name="csbwfs_share_msg" value="<?php echo get_option('csbwfs_share_msg'); ?>" placeholder="Share This With Your Friends" size="40"/></p>
35
  </td>
36
  <td valign="top" style="border-left:1px solid #ccc;padding-left:20px;">
37
- <p style="text-align: center;margin:0px;font-size:16px"><a href="//rgaddons.wordpress.com/custom-share-buttons-with-floating-sidebar-pro/" style="color: green;font-weight: bold;font-size: 18px;text-align:center;">“Get 20% discount to addon on occasion of completed 3 Lakhs download of wordpress best social share plugin.“</a><br><marquee direction="right"><i style="color: red;">Offer valid for limited period, so hurry up!!. <a href="https://rgaddons.wordpress.com/custom-share-buttons-with-floating-sidebar-pro/" target="_blank" class="contact-author"><strong>Click Here</strong></a> to download addon. </marquee></i></p>
38
- <p style="font-size:16px;">Want to know all about addon Features? Watch given below video</p>
39
  <iframe width="100%" height="500" src="https://www.youtube.com/embed/QUnxtCe95Ww?rel=0&autoplay=1&start=90" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
40
  <h2><a href="https://rgaddons.wordpress.com/custom-share-buttons-with-floating-sidebar-pro/" target="_blank" class="contact-author"><strong>Click Here</strong></a> to download addon.</h2>
41
  </tr>
@@ -260,39 +259,50 @@
260
  </div>
261
  <!-- GO PRO -->
262
  <div class="last author csbwfs-tab" id="div-csbwfs-pro">
263
-
 
 
 
264
  <h2>GO PRO</h2>
265
  <p><a href="https://rgaddons.wordpress.com/custom-share-buttons-with-floating-sidebar-pro/" target="_blank" class="contact-author">Click here</a> to download addon.</p>
266
  <p>We have 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:</p>
267
-
268
- <iframe width="560" height="315" src="https://www.youtube.com/embed/tqnAPG5VfFY" frameborder="0" allowfullscreen></iframe>
269
-
270
- <h2 style="color:green;text-align:center;"><strong>Pay one time use lifetime!!!!!</strong></h2>
271
- <ol>
272
  <li>Responsive Floating Sidebar</li>
273
- <li>An option for Hide Floating Sidebar On Home/Blog/Search/Category/Author pages</li>
274
- <li>An option for Hide Floating Sidebar On any post type (i.e page,post,event,product...etc)</li>
275
- <li>An option for Hide Floating Sidebar On any taxonomy type (support all custom taxonomy type)</li>
276
- <li>An Option for Show/Hide sidebar on specific page/post and on any custom post type pages as well.</li>
277
- <li>An option for Show Social Share Buttons On Home/Blog/Search/Category/Author pages</li>
278
- <li>An option for Show Social Share Buttons on any taxonomy type (support all custom taxonomy type)</li>
279
- <li>An Option for Show/Hide social share buttons on specific page/post and on any custom post type pages as well.</li>
280
- <li>Responsive Lightbox Contact Form (for Mail Icon)</li>
281
- <li>An option for add to any custom shortcode into lightbox</li>
 
282
  <li>Advance feature for choose to pinterest share image</li>
283
- <li>An option for enable to OG tags meta boxes for define to share window content(share title, share description & share image path)</li>
284
- <li>An option for set sidebar position (left/right/bottom) for mobile</li>
285
- <li>An option for add to social site official page URL for all social buttons</li>
286
- <li>Extra Buttons (Google Translate,Instagram,Whatsapp,Digg,Yummly,Vk, Buffer, Line, Skype, RSS, Print, G-Mail, Blogger, Tumbler,Delicious,Weibo, Telegram &amp; SMS )</li>
287
- <li>An option for define to twitter username as hash tag in share window.</li>
288
- <li>An option for display to number of share(Facebook,Linkedin,StumbleUpon,Google Plus,Pinterest and Reddit)</li>
289
- <li>An options for change to buttons image, title, background colour and url (You can use any button as your own custom button)</li>
290
  <li>An options to define sorting order for all buttons</li>
291
  <li>10 extra custom floating sidebar buttons with extra options (i.e you can define your own custom size for these buttons)</li>
292
- <li>An option for show to sum of total share count for all buttons</li>
293
- <li>An option for remove mouse hover animation effect for all social buttons</li>
 
 
 
 
 
294
  <li>Faster support</li>
295
- </ol>
 
 
 
296
  </div>
297
  </div>
298
  <span class="submit-btn"><?php echo get_submit_button('Save Settings','button-primary','submit','','');?></span>
34
  <p><label><?php _e('Message:');?></label><input type="textbox" id="csbwfs_share_msg" name="csbwfs_share_msg" value="<?php echo get_option('csbwfs_share_msg'); ?>" placeholder="Share This With Your Friends" size="40"/></p>
35
  </td>
36
  <td valign="top" style="border-left:1px solid #ccc;padding-left:20px;">
37
+ <p style="font-size:16px;">Watch given below video to view addon features and settings</p>
 
38
  <iframe width="100%" height="500" src="https://www.youtube.com/embed/QUnxtCe95Ww?rel=0&autoplay=1&start=90" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
39
  <h2><a href="https://rgaddons.wordpress.com/custom-share-buttons-with-floating-sidebar-pro/" target="_blank" class="contact-author"><strong>Click Here</strong></a> to download addon.</h2>
40
  </tr>
259
  </div>
260
  <!-- GO PRO -->
261
  <div class="last author csbwfs-tab" id="div-csbwfs-pro">
262
+ <h2 style="color:green;text-align:center;"><strong>Pay one time use lifetime!!!!!</strong></h2>
263
+ <table>
264
+ <tr>
265
+ <td valign="top" width="30%">
266
  <h2>GO PRO</h2>
267
  <p><a href="https://rgaddons.wordpress.com/custom-share-buttons-with-floating-sidebar-pro/" target="_blank" class="contact-author">Click here</a> to download addon.</p>
268
  <p>We have 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:</p>
269
+ <iframe width="560" height="450" src="https://www.youtube.com/embed/tqnAPG5VfFY" frameborder="0" allowfullscreen></iframe>
270
+ </td>
271
+ <td><h2>Key Features</h2><hr>
272
+ <ol>
 
273
  <li>Responsive Floating Sidebar</li>
274
+ <li>Shortcode</li>
275
+ <li>An option to Hide Floating Sidebar On Home/Blog/Search/Category/Author pages</li>
276
+ <li>An option to Hide Floating Sidebar On any post type (i.e page,post,event,product…etc)</li>
277
+ <li>An option to Hide Floating Sidebar On any taxonomy type (support all custom taxonomy type)</li>
278
+ <li>An Option to Show/Hide sidebar on specific page/post and on any custom post type pages as well.</li>
279
+ <li>An option to Show Social Share Buttons On Home/Blog/Search/Category/Author pages</li>
280
+ <li>An option to Show Social Share Buttons on any taxonomy type (support all custom taxonomy type)</li>
281
+ <li>An Option to Show/Hide social share buttons on specific page/post and on any custom post type pages as well.</li>
282
+ <li>Responsive Light box Contact Form (for Mail Icon)</li>
283
+ <li>An option to add to any custom shortcode into light box</li>
284
  <li>Advance feature for choose to pinterest share image</li>
285
+ <li>An option to enable to OG tags meta boxes for define to share window content(share title, share description &amp; share image path)</li>
286
+ <li>An option to set sidebar position (left/right/bottom) for mobile</li>
287
+ <li>An option to add social site official page URL for all social buttons</li>
288
+ <li>Extra Buttons (Xing,Instagram,Whatsapp,Digg,Yummly,Vk, Buffer, Line, Skype, RSS, Print, G-Mail, Blogger, Tumbler, Delicious, Weibo, Telegram, Google Translate, Phone &amp; SMS )</li>
289
+ <li>An option to define to twitter username as hash tag in share window.</li>
290
+ <li>An option to display share count(Facebook, StumbleUpon, Pinterest, Xing and Reddit)</li>
291
+ <li>An options to change to buttons image, title, background color and url (You can use any button as your own custom button)</li>
292
  <li>An options to define sorting order for all buttons</li>
293
  <li>10 extra custom floating sidebar buttons with extra options (i.e you can define your own custom size for these buttons)</li>
294
+ <li>An option to show sum of total share count for all buttons</li>
295
+ <li>An option to remove mouse hover animation effect for all social buttons</li>
296
+ <li>An options to choose different style of sidebar</li>
297
+ <li>An option to define page specific sidebar position (Left/Right/Bottom) for all page</li>
298
+ <li>An option to choose custom styles of social share buttons</li>
299
+ <li>An option to define sidebar position for every page separately</li>
300
+ <li>An option to show/hide sidebar from any specific page</li>
301
  <li>Faster support</li>
302
+ </ol>
303
+ </td>
304
+ </tr>
305
+ </table>
306
  </div>
307
  </div>
308
  <span class="submit-btn"><?php echo get_submit_button('Save Settings','button-primary','submit','','');?></span>
readme.txt CHANGED
@@ -3,8 +3,8 @@ 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+,linkedin,Stumbleupon,Reddit,pinterest,Xing, social share floating sidebar
5
  Requires at least: 4.0
6
- Tested up to: 4.9.7
7
- Stable tag: 3.5
8
 
9
  A best =Social Share= plugin that help to increases traffic & engagement on your website.
10
 
@@ -62,7 +62,6 @@ We have also released an addon of Custom Share Buttons With Floating Sidebar whi
62
 
63
  https://youtu.be/QUnxtCe95Ww
64
 
65
-
66
  * Responsive Floating Sidebar
67
  * Shortcode
68
  * An option to Hide Floating Sidebar On Home/Blog/Search/Category/Author pages
@@ -75,12 +74,12 @@ We have also released an addon of Custom Share Buttons With Floating Sidebar whi
75
  * Responsive Light box Contact Form (for Mail Icon)
76
  * An option to add to any custom shortcode into light box
77
  * Advance feature for choose to pinterest share image
78
- * An option to enable to OG tags meta boxes for define to share window content(share title, share description & share image path)
79
  * An option to set sidebar position (left/right/bottom) for mobile
80
  * An option to add social site official page URL for all social buttons
81
- Extra Buttons (Xing,Instagram,Whatsapp,Digg,Yummly,Vk, Buffer, Line, Skype, RSS, Print, G-Mail, Blogger, Tumbler, Delicious, Weibo, Telegram, Google Translate, Phone & SMS )
82
  * An option to define to twitter username as hash tag in share window.
83
- * An option to display to number of share(Facebook, Linkedin, StumbleUpon, Pinterest, Xing and Reddit)
84
  * An options to change to buttons image, title, background color and url (You can use any button as your own custom button)
85
  * An options to define sorting order for all buttons
86
  * 10 extra custom floating sidebar buttons with extra options (i.e you can define your own custom size for these buttons)
@@ -92,14 +91,12 @@ Extra Buttons (Xing,Instagram,Whatsapp,Digg,Yummly,Vk, Buffer, Line, Skype, RSS,
92
  * An option to define sidebar position for every page separately
93
  * An option to show/hide sidebar from any specific page
94
  * Faster support
95
-
96
  **[Upgrade to Pro Version](https://rgaddons.wordpress.com/custom-share-buttons-with-floating-sidebar-pro/)**
97
 
98
 
99
  For any query contact to **[plugin author](mailto:raghunath.0087@gmail.com)**
100
 
101
- We have released also a social share pro extenstion for magento Sites
102
- **[Go Pro Magento Version](http://www.magentocommerce.com/magento-connect/social-share-buttons-pro.html)**
103
 
104
  == Installation ==
105
 
@@ -107,7 +104,7 @@ Step 1.Dowanload the plugin and upload "custom-share-buttons-with-floating-sideb
107
 
108
  Step 2. Activate the plugin through the Plugins menu in WordPress
109
 
110
- Step 3. Go to Settings/"Custom Share Buttons with Floating Sidebar" and configure the plugin settings.
111
 
112
  == Frequently Asked Questions ==
113
  1.) How add floating share buttons on my website?
@@ -172,6 +169,10 @@ Step 3. Go to Settings/"Custom Share Buttons with Floating Sidebar" and configur
172
 
173
  == Changelog ==
174
 
 
 
 
 
175
  = 3.5 =
176
  * Tested with latest wordpress version 4.9.7
177
  * Fixed blog page share url issues
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+,linkedin,Stumbleupon,Reddit,pinterest,Xing, social share floating sidebar
5
  Requires at least: 4.0
6
+ Tested up to: 4.9.8
7
+ Stable tag: 3.6
8
 
9
  A best =Social Share= plugin that help to increases traffic & engagement on your website.
10
 
62
 
63
  https://youtu.be/QUnxtCe95Ww
64
 
 
65
  * Responsive Floating Sidebar
66
  * Shortcode
67
  * An option to Hide Floating Sidebar On Home/Blog/Search/Category/Author pages
74
  * Responsive Light box Contact Form (for Mail Icon)
75
  * An option to add to any custom shortcode into light box
76
  * Advance feature for choose to pinterest share image
77
+ * An option to enable to OG tags meta boxes for define to share window content(share title, share description &amp; share image path)
78
  * An option to set sidebar position (left/right/bottom) for mobile
79
  * An option to add social site official page URL for all social buttons
80
+ * Extra Buttons (Xing,Instagram,Whatsapp,Digg,Yummly,Vk, Buffer, Line, Skype, RSS, Print, G-Mail, Blogger, Tumbler, Delicious, Weibo, Telegram, Google Translate, Phone &amp; SMS )
81
  * An option to define to twitter username as hash tag in share window.
82
+ * An option to display share count(Facebook, StumbleUpon, Pinterest, Xing and Reddit)
83
  * An options to change to buttons image, title, background color and url (You can use any button as your own custom button)
84
  * An options to define sorting order for all buttons
85
  * 10 extra custom floating sidebar buttons with extra options (i.e you can define your own custom size for these buttons)
91
  * An option to define sidebar position for every page separately
92
  * An option to show/hide sidebar from any specific page
93
  * Faster support
94
+
95
  **[Upgrade to Pro Version](https://rgaddons.wordpress.com/custom-share-buttons-with-floating-sidebar-pro/)**
96
 
97
 
98
  For any query contact to **[plugin author](mailto:raghunath.0087@gmail.com)**
99
 
 
 
100
 
101
  == Installation ==
102
 
104
 
105
  Step 2. Activate the plugin through the Plugins menu in WordPress
106
 
107
+ Step 3. Go to Settings/"Social Share Buttons(CSBWFS)" and configure the plugin settings.
108
 
109
  == Frequently Asked Questions ==
110
  1.) How add floating share buttons on my website?
169
 
170
  == Changelog ==
171
 
172
+ = 3.6 =
173
+ * Tested with latest wordpress version 4.9.8
174
+ * Optimized code and fixed some minor issues
175
+
176
  = 3.5 =
177
  * Tested with latest wordpress version 4.9.7
178
  * Fixed blog page share url issues