Version Description
- Tested with latest wordpress version 4.9.1
- Optimized CSS of share buttons
- Added an extra feature to Pinterest button for share to multi images
Download this release
Release Info
Developer | india-web-developer |
Plugin | Custom Share Buttons with Floating Sidebar |
Version | 3.4 |
Comparing to | |
See all releases |
Code changes from version 3.3 to 3.4
- csbwfs-class.php +10 -11
- css/csbwfs.css +89 -7
- custom-share-buttons-with-floating-sidebar.php +6 -6
- lib/settings.php +3 -2
- readme.txt +63 -51
csbwfs-class.php
CHANGED
@@ -239,11 +239,11 @@ global $post;
|
|
239 |
$pluginOptionsVal=get_csbwf_sidebar_options();
|
240 |
|
241 |
/*Default Pinit Share image */
|
242 |
-
if(isset($pluginOptionsVal['csbwfs_defaultfeaturedshrimg']) && $pluginOptionsVal['csbwfs_defaultfeaturedshrimg']!=''){
|
243 |
$pinShareImg=$pluginOptionsVal['csbwfs_defaultfeaturedshrimg'];
|
244 |
}else{
|
245 |
$pinShareImg=plugins_url('images/mrweb-logo.jpg',__FILE__);
|
246 |
-
}
|
247 |
|
248 |
if(is_category())
|
249 |
{
|
@@ -253,12 +253,12 @@ if(is_category())
|
|
253 |
$ShareTitle=$cats[0]->name;
|
254 |
}elseif(is_page() || is_single())
|
255 |
{
|
256 |
-
if ( has_post_thumbnail() )
|
257 |
{
|
258 |
$large_image_url = wp_get_attachment_image_src( get_post_thumbnail_id(), 'large' );
|
259 |
|
260 |
$pinShareImg= $large_image_url[0] ;
|
261 |
-
}
|
262 |
|
263 |
// $shareurl=get_permalink($post->ID);
|
264 |
$ShareTitle=$post->post_title;
|
@@ -495,7 +495,7 @@ endif;
|
|
495 |
|
496 |
/** PIN */
|
497 |
if($pluginOptionsVal['csbwfs_ppublishBtn']!=''):
|
498 |
-
$floatingSidebarContent .='<div class="csbwfs-sbutton csbwfsbtns"><div id="csbwfs-pin" class="csbwfs-pin"><a onclick="
|
499 |
if($pImg!='')
|
500 |
{
|
501 |
$floatingSidebarContent .='<img src="'.$pImg.'" alt="'.$pImgAlt.'" width="35" height="35" >';
|
@@ -593,11 +593,12 @@ global $post;
|
|
593 |
$pluginOptionsVal=get_csbwf_sidebar_options();
|
594 |
|
595 |
/*Default Pinit Share image */
|
|
|
596 |
if(isset($pluginOptionsVal['csbwfs_defaultfeaturedshrimg']) && $pluginOptionsVal['csbwfs_defaultfeaturedshrimg']!=''){
|
597 |
$pinShareImg=$pluginOptionsVal['csbwfs_defaultfeaturedshrimg'];
|
598 |
}else{
|
599 |
$pinShareImg=plugins_url('images/mrweb-logo.jpg',__FILE__);
|
600 |
-
}
|
601 |
|
602 |
if(is_category())
|
603 |
{
|
@@ -607,12 +608,12 @@ if(is_category())
|
|
607 |
$ShareTitle=$cats[0]->name;
|
608 |
}elseif(is_page() || is_single())
|
609 |
{
|
610 |
-
if ( has_post_thumbnail() )
|
611 |
{
|
612 |
$large_image_url = wp_get_attachment_image_src( get_post_thumbnail_id(), 'large' );
|
613 |
|
614 |
$pinShareImg= $large_image_url[0] ;
|
615 |
-
}
|
616 |
$shareurl=get_permalink($post->ID);
|
617 |
$ShareTitle=$post->post_title;
|
618 |
}
|
@@ -719,8 +720,6 @@ if(isset($pluginOptionsVal['csbwfs_page_yt_bg']) && $pluginOptionsVal['csbwfs_pa
|
|
719 |
if(isset($pluginOptionsVal['csbwfs_page_re_bg']) && $pluginOptionsVal['csbwfs_page_re_bg']!=''){ $reImgbg=' style="background:'.$pluginOptionsVal['csbwfs_page_re_bg'].';"';}else{$reImgbg='';}
|
720 |
//get stumbleupon button image background color
|
721 |
if(isset($pluginOptionsVal['csbwfs_page_st_bg']) && $pluginOptionsVal['csbwfs_page_st_bg']!=''){ $stImgbg=' style="background:'.$pluginOptionsVal['csbwfs_page_st_bg'].';"';} else{$stImgbg='';}
|
722 |
-
|
723 |
-
|
724 |
//get email message
|
725 |
if(is_page() || is_single() || is_category() || is_archive()){
|
726 |
|
@@ -796,7 +795,7 @@ endif;
|
|
796 |
|
797 |
/* Pinterest */
|
798 |
if($pluginOptionsVal['csbwfs_ppublishBtn']!=''):
|
799 |
-
$shareButtonContent.='<div class="csbwfs-sbutton-post"><div id="pin-p" class="csbwfs-pin"><a onclick="
|
800 |
if($pImg!='')
|
801 |
{
|
802 |
$shareButtonContent .='<img src="'.$pImg.'" alt="'.$pImgAlt.'" width="35" height="35" >';
|
239 |
$pluginOptionsVal=get_csbwf_sidebar_options();
|
240 |
|
241 |
/*Default Pinit Share image */
|
242 |
+
/*if(isset($pluginOptionsVal['csbwfs_defaultfeaturedshrimg']) && $pluginOptionsVal['csbwfs_defaultfeaturedshrimg']!=''){
|
243 |
$pinShareImg=$pluginOptionsVal['csbwfs_defaultfeaturedshrimg'];
|
244 |
}else{
|
245 |
$pinShareImg=plugins_url('images/mrweb-logo.jpg',__FILE__);
|
246 |
+
}*/
|
247 |
|
248 |
if(is_category())
|
249 |
{
|
253 |
$ShareTitle=$cats[0]->name;
|
254 |
}elseif(is_page() || is_single())
|
255 |
{
|
256 |
+
/*if ( has_post_thumbnail() )
|
257 |
{
|
258 |
$large_image_url = wp_get_attachment_image_src( get_post_thumbnail_id(), 'large' );
|
259 |
|
260 |
$pinShareImg= $large_image_url[0] ;
|
261 |
+
}*/
|
262 |
|
263 |
// $shareurl=get_permalink($post->ID);
|
264 |
$ShareTitle=$post->post_title;
|
495 |
|
496 |
/** PIN */
|
497 |
if($pluginOptionsVal['csbwfs_ppublishBtn']!=''):
|
498 |
+
$floatingSidebarContent .='<div class="csbwfs-sbutton csbwfsbtns"><div id="csbwfs-pin" class="csbwfs-pin"><a onclick="javascript:void((function(){var e=document.createElement(\'script\');e.setAttribute(\'type\',\'text/javascript\');e.setAttribute(\'charset\',\'UTF-8\');e.setAttribute(\'src\',\'//assets.pinterest.com/js/pinmarklet.js?r=\'+Math.random()*99999999);document.body.appendChild(e)})());" href="javascript:void(0);" '.$pImgbg.' title="'.$pImgAlt.'">';
|
499 |
if($pImg!='')
|
500 |
{
|
501 |
$floatingSidebarContent .='<img src="'.$pImg.'" alt="'.$pImgAlt.'" width="35" height="35" >';
|
593 |
$pluginOptionsVal=get_csbwf_sidebar_options();
|
594 |
|
595 |
/*Default Pinit Share image */
|
596 |
+
/*
|
597 |
if(isset($pluginOptionsVal['csbwfs_defaultfeaturedshrimg']) && $pluginOptionsVal['csbwfs_defaultfeaturedshrimg']!=''){
|
598 |
$pinShareImg=$pluginOptionsVal['csbwfs_defaultfeaturedshrimg'];
|
599 |
}else{
|
600 |
$pinShareImg=plugins_url('images/mrweb-logo.jpg',__FILE__);
|
601 |
+
}*/
|
602 |
|
603 |
if(is_category())
|
604 |
{
|
608 |
$ShareTitle=$cats[0]->name;
|
609 |
}elseif(is_page() || is_single())
|
610 |
{
|
611 |
+
/*if ( has_post_thumbnail() )
|
612 |
{
|
613 |
$large_image_url = wp_get_attachment_image_src( get_post_thumbnail_id(), 'large' );
|
614 |
|
615 |
$pinShareImg= $large_image_url[0] ;
|
616 |
+
}*/
|
617 |
$shareurl=get_permalink($post->ID);
|
618 |
$ShareTitle=$post->post_title;
|
619 |
}
|
720 |
if(isset($pluginOptionsVal['csbwfs_page_re_bg']) && $pluginOptionsVal['csbwfs_page_re_bg']!=''){ $reImgbg=' style="background:'.$pluginOptionsVal['csbwfs_page_re_bg'].';"';}else{$reImgbg='';}
|
721 |
//get stumbleupon button image background color
|
722 |
if(isset($pluginOptionsVal['csbwfs_page_st_bg']) && $pluginOptionsVal['csbwfs_page_st_bg']!=''){ $stImgbg=' style="background:'.$pluginOptionsVal['csbwfs_page_st_bg'].';"';} else{$stImgbg='';}
|
|
|
|
|
723 |
//get email message
|
724 |
if(is_page() || is_single() || is_category() || is_archive()){
|
725 |
|
795 |
|
796 |
/* Pinterest */
|
797 |
if($pluginOptionsVal['csbwfs_ppublishBtn']!=''):
|
798 |
+
$shareButtonContent.='<div class="csbwfs-sbutton-post"><div id="pin-p" class="csbwfs-pin"><a onclick="javascript:void((function(){var e=document.createElement(\'script\');e.setAttribute(\'type\',\'text/javascript\');e.setAttribute(\'charset\',\'UTF-8\');e.setAttribute(\'src\',\'//assets.pinterest.com/js/pinmarklet.js?r=\'+Math.random()*99999999);document.body.appendChild(e)})());" href="javascript:void(0);" title="'.$pImgAlt.'" '.$pImgbg.'>';
|
799 |
if($pImg!='')
|
800 |
{
|
801 |
$shareButtonContent .='<img src="'.$pImg.'" alt="'.$pImgAlt.'" width="35" height="35" >';
|
css/csbwfs.css
CHANGED
@@ -30,18 +30,83 @@ bottom: 0; height: 45px;
|
|
30 |
#csbwfs-bottom .csbwfs-sbutton img {width: 31px;height: 30px;opacity: 0.8;}
|
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:1; padding-top:1%; margin:0 auto; text-align:center;border:none !important;}
|
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 {
|
40 |
-
.leftSocialButtonOnPage .sharethis-arrow{float:left;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
.rightSocialButtonOnPage .sharethis-arrow span{padding-left: 12px;}
|
46 |
#socialButtonOnPage .csbwfs-sbutton-post a{display:block;width:50px; height:auto;text-align: center;border:none !important;}
|
47 |
#socialButtonOnPage .csbwfs-sbutton-post a:hover{display:block;width:50px; height:auto;text-align: center;border:none !important;}
|
@@ -55,12 +120,29 @@ bottom: 0; height: 45px;
|
|
55 |
background-image: url("../images/minify-social.png");
|
56 |
|
57 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
58 |
i.csbwfs_facebook {background-position: 68% 4%;}
|
59 |
i.csbwfs_twitter {background-position: 14% 4%;}
|
60 |
i.csbwfs_plus {background-position: 80% 4%;}
|
61 |
i.csbwfs_linkedin {background-position: 92% 4%;}
|
62 |
-
i.csbwfs_pinterest{background-position: 14%
|
63 |
i.csbwfs_youtube {background-position: 32% 4%;}
|
64 |
-
i.csbwfs_reddit {background-position: 26%
|
65 |
i.csbwfs_stumbleupon {background-position: 2% 4%;}
|
66 |
-
i.csbwfs_mail {background-position: 8%
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
#csbwfs-bottom .csbwfs-sbutton img {width: 31px;height: 30px;opacity: 0.8;}
|
31 |
#csbwfs-bottom .csbwfs-sbutton img:hover{opacity:1;}
|
32 |
/* Custom Share Buttons*/
|
33 |
+
#socialButtonOnPage {width:100%;display:inline-block;float:left;position: relative; }
|
34 |
#socialButtonOnPage .csbwfs-sbutton-post img {width:31px; height:30px;opacity:1; padding-top:1%; margin:0 auto; text-align:center;border:none !important;}
|
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 {display:inline-block; padding:5px 1px;}
|
40 |
+
.leftSocialButtonOnPage .sharethis-arrow{ float: left;
|
41 |
+
padding: 8px 10px 5px 1px;
|
42 |
+
height: 35px;
|
43 |
+
margin-top: 5px;
|
44 |
+
margin-right: 25px;
|
45 |
+
width: auto;
|
46 |
+
vertical-align: bottom;
|
47 |
+
background-color: #1ba3df;
|
48 |
+
display: inline-block;position:relative;}
|
49 |
+
|
50 |
+
.leftSocialButtonOnPage .sharethis-arrow:after {
|
51 |
+
border-left: 20px solid transparent;
|
52 |
+
border-right: 20px solid transparent;
|
53 |
+
border-top: 20px solid #1ba3df;
|
54 |
+
content: "";
|
55 |
+
right: -35px;
|
56 |
+
margin-left: -25px;
|
57 |
+
position: absolute;
|
58 |
+
top: 0;
|
59 |
+
z-index: 2;
|
60 |
+
transform: rotate(270deg);
|
61 |
+
bottom: 0;
|
62 |
+
}
|
63 |
+
|
64 |
.leftSocialButtonOnPage .sharethis-arrow span{ padding-left: 12px;}
|
65 |
/* Right Position */
|
66 |
.rightSocialButtonOnPage .csbwfs-sbutton-post {float:right; padding:5px 1px;}
|
67 |
+
.rightSocialButtonOnPage .sharethis-arrow{
|
68 |
+
float: right;
|
69 |
+
padding: 8px 10px 5px 1px;
|
70 |
+
height: 35px;
|
71 |
+
margin-top: 5px;
|
72 |
+
margin-left: 25px;
|
73 |
+
width: auto;
|
74 |
+
vertical-align: bottom;
|
75 |
+
background-color: #1ba3df;
|
76 |
+
display: inline-block;position:relative;
|
77 |
+
}
|
78 |
+
|
79 |
+
.rightSocialButtonOnPage .sharethis-arrow:after {
|
80 |
+
border-left: 20px solid transparent;
|
81 |
+
border-right: 20px solid transparent;
|
82 |
+
border-top: 20px solid #1ba3df;
|
83 |
+
content: "";
|
84 |
+
left: 0px;
|
85 |
+
margin-left: -35px;
|
86 |
+
position: absolute;
|
87 |
+
top: 0;
|
88 |
+
z-index: 2;
|
89 |
+
transform: rotate(90deg);
|
90 |
+
bottom: 0;
|
91 |
+
}
|
92 |
+
/* CSS for add to show hide button
|
93 |
+
|
94 |
+
#csbwfs-hide {position:relative;}
|
95 |
+
#csbwfs-hide:after {
|
96 |
+
border-left: 10px solid transparent;
|
97 |
+
border-right: 10px solid transparent;
|
98 |
+
border-top: 10px solid #1ba3df;
|
99 |
+
content: "";
|
100 |
+
left: 0px;
|
101 |
+
margin-left: 0;
|
102 |
+
position: absolute;
|
103 |
+
top: 0;
|
104 |
+
z-index: 2;
|
105 |
+
transform: rotate(90deg);
|
106 |
+
bottom: 0;
|
107 |
+
}*/
|
108 |
+
|
109 |
+
|
110 |
.rightSocialButtonOnPage .sharethis-arrow span{padding-left: 12px;}
|
111 |
#socialButtonOnPage .csbwfs-sbutton-post a{display:block;width:50px; height:auto;text-align: center;border:none !important;}
|
112 |
#socialButtonOnPage .csbwfs-sbutton-post a:hover{display:block;width:50px; height:auto;text-align: center;border:none !important;}
|
120 |
background-image: url("../images/minify-social.png");
|
121 |
|
122 |
}
|
123 |
+
@media only screen and (max-width :768px){
|
124 |
+
.sharethis-arrow{}
|
125 |
+
.sharethis-arrow span{font-size: 12px !important;}
|
126 |
+
.sharethis-arrow:after{}
|
127 |
+
#socialButtonOnPage .csbwfs-sbutton-post a {
|
128 |
+
width: 40px;
|
129 |
+
}
|
130 |
+
}
|
131 |
i.csbwfs_facebook {background-position: 68% 4%;}
|
132 |
i.csbwfs_twitter {background-position: 14% 4%;}
|
133 |
i.csbwfs_plus {background-position: 80% 4%;}
|
134 |
i.csbwfs_linkedin {background-position: 92% 4%;}
|
135 |
+
i.csbwfs_pinterest{background-position: 14% 19%;}
|
136 |
i.csbwfs_youtube {background-position: 32% 4%;}
|
137 |
+
i.csbwfs_reddit {background-position: 26% 19%;}
|
138 |
i.csbwfs_stumbleupon {background-position: 2% 4%;}
|
139 |
+
i.csbwfs_mail {background-position: 8% 19%;}
|
140 |
+
#socialButtonOnPage i.csbwfs_facebook {background-position: 68% 5%;}
|
141 |
+
#socialButtonOnPage i.csbwfs_twitter {background-position: 14% 5%;}
|
142 |
+
#socialButtonOnPage i.csbwfs_plus {background-position: 80% 5%;}
|
143 |
+
#socialButtonOnPage i.csbwfs_linkedin {background-position: 92% 5%;}
|
144 |
+
#socialButtonOnPage i.csbwfs_pinterest{background-position: 14% 20%;}
|
145 |
+
#socialButtonOnPage i.csbwfs_youtube {background-position: 32% 5%;}
|
146 |
+
#socialButtonOnPage i.csbwfs_reddit {background-position: 26% 20%;}
|
147 |
+
#socialButtonOnPage i.csbwfs_stumbleupon {background-position: 2% 5%;}
|
148 |
+
#socialButtonOnPage i.csbwfs_mail {background-position: 8% 20%;}
|
custom-share-buttons-with-floating-sidebar.php
CHANGED
@@ -2,10 +2,10 @@
|
|
2 |
/*
|
3 |
Plugin Name: Custom Share Buttons with Floating Sidebar
|
4 |
Plugin URI: http://www.mrwebsolution.in/
|
5 |
-
Description: It's a very simple plugin
|
6 |
Author: MR Web Solution
|
7 |
Author URI: http://raghunathgurjar.wordpress.com
|
8 |
-
Version: 3.
|
9 |
*/
|
10 |
|
11 |
/* Copyright 2017 custom-share-buttons-with-floating-sidebar (email : raghunath.0087@gmail.com)
|
@@ -141,8 +141,8 @@ if(!class_exists('Csbwfs_Class'))
|
|
141 |
register_setting('csbwf_sidebar_options','csbwfs_hide_btn');
|
142 |
register_setting('csbwf_sidebar_options','csbwfs_share_msg');
|
143 |
register_setting('csbwf_sidebar_options','csbwfs_rmSHBtn');
|
144 |
-
register_setting('csbwf_sidebar_options','csbwfs_featuredshrimg');
|
145 |
-
register_setting('csbwf_sidebar_options','csbwfs_defaultfeaturedshrimg');
|
146 |
register_setting('csbwf_sidebar_options','csbwfs_deactive_for_mob');
|
147 |
} // END public function init_custom_settings()
|
148 |
/**
|
@@ -250,8 +250,8 @@ if(!class_exists('Csbwfs_Class'))
|
|
250 |
delete_option('csbwfs_page_pin_image');
|
251 |
delete_option('csbwfs_page_yt_image');
|
252 |
delete_option('csbwfs_rmSHBtn');
|
253 |
-
delete_option('csbwfs_featuredshrimg');
|
254 |
-
delete_option('csbwfs_defaultfeaturedshrimg');
|
255 |
delete_option('csbwfs_deactive_for_mob');
|
256 |
// Do nothing
|
257 |
} // END public static function uninstall
|
2 |
/*
|
3 |
Plugin Name: Custom Share Buttons with Floating Sidebar
|
4 |
Plugin URI: http://www.mrwebsolution.in/
|
5 |
+
Description: It's a very simple plugin to add social share buttons with floating sidebar. Even you can edit share buttons images if you wish
|
6 |
Author: MR Web Solution
|
7 |
Author URI: http://raghunathgurjar.wordpress.com
|
8 |
+
Version: 3.4
|
9 |
*/
|
10 |
|
11 |
/* Copyright 2017 custom-share-buttons-with-floating-sidebar (email : raghunath.0087@gmail.com)
|
141 |
register_setting('csbwf_sidebar_options','csbwfs_hide_btn');
|
142 |
register_setting('csbwf_sidebar_options','csbwfs_share_msg');
|
143 |
register_setting('csbwf_sidebar_options','csbwfs_rmSHBtn');
|
144 |
+
//register_setting('csbwf_sidebar_options','csbwfs_featuredshrimg');
|
145 |
+
//register_setting('csbwf_sidebar_options','csbwfs_defaultfeaturedshrimg');
|
146 |
register_setting('csbwf_sidebar_options','csbwfs_deactive_for_mob');
|
147 |
} // END public function init_custom_settings()
|
148 |
/**
|
250 |
delete_option('csbwfs_page_pin_image');
|
251 |
delete_option('csbwfs_page_yt_image');
|
252 |
delete_option('csbwfs_rmSHBtn');
|
253 |
+
//delete_option('csbwfs_featuredshrimg');
|
254 |
+
//delete_option('csbwfs_defaultfeaturedshrimg');
|
255 |
delete_option('csbwfs_deactive_for_mob');
|
256 |
// Do nothing
|
257 |
} // END public static function uninstall
|
lib/settings.php
CHANGED
@@ -35,9 +35,10 @@
|
|
35 |
<p><label><?php _e('Show:');?></label><input type="text" id="csbwfs_show_btn" name="csbwfs_show_btn" value="<?php echo get_option('csbwfs_show_btn'); ?>" placeholder="Show Buttons" size="40"/></p>
|
36 |
<p><label><?php _e('Hide:');?></label><input type="text" id="csbwfs_hide_btn" name="csbwfs_hide_btn" value="<?php echo get_option('csbwfs_hide_btn'); ?>" placeholder="Hide Buttons" size="40"/></p>
|
37 |
<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>
|
38 |
-
|
39 |
<p><?php _e('Default Image :');?><input type="textbox" id="csbwfs_defaultfeaturedshrimg" name="csbwfs_defaultfeaturedshrimg" value="<?php echo get_option('csbwfs_defaultfeaturedshrimg'); ?>" placeholder="" size="55"/></p>
|
40 |
<p><input type="checkbox" id="featuredshrimg" name="csbwfs_featuredshrimg" value="yes" <?php checked(get_option('csbwfs_featuredshrimg'),'yes');?>/> <?php _e('Make post/page featured image as pinterest share image');?></p>
|
|
|
41 |
</div>
|
42 |
<!-- Floating Sidebar -->
|
43 |
<div class="csbwfs-tab" id="div-csbwfs-sidebar">
|
@@ -299,4 +300,4 @@
|
|
299 |
<?php settings_fields('csbwf_sidebar_options'); ?>
|
300 |
</form>
|
301 |
<!-- End Options Form -->
|
302 |
-
</div>
|
35 |
<p><label><?php _e('Show:');?></label><input type="text" id="csbwfs_show_btn" name="csbwfs_show_btn" value="<?php echo get_option('csbwfs_show_btn'); ?>" placeholder="Show Buttons" size="40"/></p>
|
36 |
<p><label><?php _e('Hide:');?></label><input type="text" id="csbwfs_hide_btn" name="csbwfs_hide_btn" value="<?php echo get_option('csbwfs_hide_btn'); ?>" placeholder="Hide Buttons" size="40"/></p>
|
37 |
<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>
|
38 |
+
<?php /*?><p><h3><strong><?php _e('Pinterest Share Image Setting :'); ?></strong></h3></p>
|
39 |
<p><?php _e('Default Image :');?><input type="textbox" id="csbwfs_defaultfeaturedshrimg" name="csbwfs_defaultfeaturedshrimg" value="<?php echo get_option('csbwfs_defaultfeaturedshrimg'); ?>" placeholder="" size="55"/></p>
|
40 |
<p><input type="checkbox" id="featuredshrimg" name="csbwfs_featuredshrimg" value="yes" <?php checked(get_option('csbwfs_featuredshrimg'),'yes');?>/> <?php _e('Make post/page featured image as pinterest share image');?></p>
|
41 |
+
<?php */?>
|
42 |
</div>
|
43 |
<!-- Floating Sidebar -->
|
44 |
<div class="csbwfs-tab" id="div-csbwfs-sidebar">
|
300 |
<?php settings_fields('csbwf_sidebar_options'); ?>
|
301 |
</form>
|
302 |
<!-- End Options Form -->
|
303 |
+
</div>
|
readme.txt
CHANGED
@@ -3,19 +3,20 @@ 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 buttons,linkedin,Stumbleupon,Reddit,pinterest,Xing,floating sidebar,float,floating share buttons,float share buttons
|
5 |
Requires at least: 4.0
|
6 |
-
Tested up to: 4.
|
7 |
-
Stable tag: 3.
|
8 |
|
9 |
Social Share Buttons (Facebook,Twitter,Linkedin,Google+,Pinterest,Youtube,Mail,Stumbleupon,Reddit) & Share Floating Sidebar.
|
10 |
|
11 |
== Description ==
|
12 |
|
13 |
-
= “custom-share-buttons-with-floating-sidebar” =
|
14 |
-
|
|
|
15 |
|
16 |
https://youtu.be/tqnAPG5VfFY
|
17 |
|
18 |
-
With this plugin, you give users
|
19 |
|
20 |
More than 22 billion shares are viewed each and every day on the internet, with sharing becoming an increasingly important part of every website owner’s marketing strategies.
|
21 |
|
@@ -27,24 +28,24 @@ You can add a social share floating sidebar with all social share buttons and Ev
|
|
27 |
|
28 |
|
29 |
**[Upgrade to Pro Version](https://rgaddons.wordpress.com/custom-share-buttons-with-floating-sidebar-pro/)**
|
30 |
-
|
31 |
|
32 |
= Features =
|
33 |
|
34 |
-
*
|
35 |
-
*
|
36 |
* Floating Sidebar
|
37 |
* Share Buttons to every post/page
|
38 |
* Show/Hide options for any buttons
|
39 |
-
*
|
40 |
-
*
|
41 |
-
*
|
42 |
-
*
|
43 |
-
*
|
44 |
-
*
|
45 |
-
*
|
46 |
-
*
|
47 |
-
*
|
48 |
|
49 |
= Go Pro =
|
50 |
|
@@ -52,35 +53,40 @@ We have also released an add-on for Custom Share Buttons With Floating Sidebar w
|
|
52 |
|
53 |
PRO FEATURES :
|
54 |
|
55 |
-
https://youtu.be/
|
56 |
-
|
57 |
-
|
58 |
-
* Responsive Floating Sidebar
|
59 |
-
*
|
60 |
-
* Hide Floating Sidebar On Home/
|
61 |
-
* Hide Floating Sidebar
|
62 |
-
* An
|
63 |
-
*
|
64 |
-
*
|
65 |
-
* An
|
66 |
-
* An Option to Show/Hide
|
67 |
-
* Responsive
|
68 |
-
* An option to add to any custom shortcode into
|
69 |
-
* Advance feature
|
70 |
-
* An option to
|
71 |
-
* An option to set
|
72 |
-
* An option to add social site official page URL for all social buttons
|
73 |
-
|
74 |
-
* An option to define twitter username in
|
75 |
-
* An option to display number of share(Facebook,
|
76 |
-
* An options to change
|
77 |
-
* An options to define sorting order for all buttons
|
78 |
-
* 10 extra custom floating sidebar buttons with extra options (i.e you can define your own custom size for these buttons)
|
79 |
-
* An option to show sum of total share count for all buttons
|
80 |
* An option to remove mouse hover animation effect for all social buttons
|
81 |
-
*
|
|
|
|
|
|
|
|
|
|
|
82 |
|
83 |
-
**[Upgrade to Pro Version](https://rgaddons.wordpress.com/custom-share-buttons-with-floating-sidebar-pro/)**
|
84 |
|
85 |
|
86 |
For any query contact to **[plugin author](mailto:raghunath.0087@gmail.com)**
|
@@ -154,6 +160,12 @@ Step 3. Go to Settings/"Custom Share Buttons with Floating Sidebar" and configur
|
|
154 |
9. screenshot-9.png
|
155 |
|
156 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
157 |
= 3.3 =
|
158 |
* Tested with latest wordpress version 4.8.2
|
159 |
* Released addon new version 3.2 with new features
|
@@ -196,25 +208,25 @@ Step 3. Go to Settings/"Custom Share Buttons with Floating Sidebar" and configur
|
|
196 |
* Added reset button for reset to images/title for sidebar and social buttons.
|
197 |
* Optimized js code for floating sidebar
|
198 |
* Optimized design and css of social share buttons
|
199 |
-
|
200 |
= 2.4 =
|
201 |
-
* Fixed share url issue for custom post type.
|
202 |
-
* Fixed show/hide share buttons issues
|
203 |
-
* Tested with wordpress latest version
|
204 |
|
205 |
= 2.3 =
|
206 |
* update code to display content into footer section
|
207 |
* Added an option for define position of share buttons (below/above or content)
|
208 |
-
* Fixed some minor js/css issue
|
209 |
|
210 |
= 2.2 =
|
211 |
* Fixed double time open share url issue
|
212 |
* Added an option for auto close sidebar buttons on page load
|
213 |
-
* Added an option for hide "Share This!!" button on page/post
|
214 |
|
215 |
= 2.1 =
|
216 |
* Fixed share buttons css issues
|
217 |
-
* Fixed some minor js conflict issues
|
218 |
|
219 |
= 2.0 =
|
220 |
* Fixed pinterest share image issue
|
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 buttons,linkedin,Stumbleupon,Reddit,pinterest,Xing,floating sidebar,float,floating share buttons,float share buttons
|
5 |
Requires at least: 4.0
|
6 |
+
Tested up to: 4.9.1
|
7 |
+
Stable tag: 3.4
|
8 |
|
9 |
Social Share Buttons (Facebook,Twitter,Linkedin,Google+,Pinterest,Youtube,Mail,Stumbleupon,Reddit) & Share Floating Sidebar.
|
10 |
|
11 |
== Description ==
|
12 |
|
13 |
+
= “custom-share-buttons-with-floating-sidebar” = It is a plugin to share your site among your friends through social sites. This plugin supports 9 social networking websites.
|
14 |
+
|
15 |
+
By using this plugin, visitors can share your website on popular social networks such as Facebook, Twitter, Linkedin, Pinterest, Google+, Stumbleupon, Reddit, Youtube.
|
16 |
|
17 |
https://youtu.be/tqnAPG5VfFY
|
18 |
|
19 |
+
With this plugin, you can give users a tool to share your content, product details and other information with their own networks.
|
20 |
|
21 |
More than 22 billion shares are viewed each and every day on the internet, with sharing becoming an increasingly important part of every website owner’s marketing strategies.
|
22 |
|
28 |
|
29 |
|
30 |
**[Upgrade to Pro Version](https://rgaddons.wordpress.com/custom-share-buttons-with-floating-sidebar-pro/)**
|
31 |
+
|
32 |
|
33 |
= Features =
|
34 |
|
35 |
+
* An options to add Custom Image of any social button.
|
36 |
+
* An options to add background color of social button.
|
37 |
* Floating Sidebar
|
38 |
* Share Buttons to every post/page
|
39 |
* Show/Hide options for any buttons
|
40 |
+
* An options to edit message ("Show Buttons","Hide Buttons"...etc)
|
41 |
+
* An options to set the position of Floating Sidebar (Left/Right/Bottom)
|
42 |
+
* An options to set the position of Social Buttons (Left/Right)
|
43 |
+
* An options to manage the style of the plugin
|
44 |
+
* An option to disable sidebar for mobile
|
45 |
+
* Advance feature of pinterest share buttons to share images.
|
46 |
+
* An option to auto close sidebar buttons on page load
|
47 |
+
* An option to hide "Share This!!" button on page/post
|
48 |
+
* An option to define share buttons postion (above content/below content)
|
49 |
|
50 |
= Go Pro =
|
51 |
|
53 |
|
54 |
PRO FEATURES :
|
55 |
|
56 |
+
https://youtu.be/QUnxtCe95Ww
|
57 |
+
|
58 |
+
|
59 |
+
* Responsive Floating Sidebar
|
60 |
+
* Shortcode
|
61 |
+
* An option to Hide Floating Sidebar On Home/Blog/Search/Category/Author pages
|
62 |
+
* An option to Hide Floating Sidebar On any post type (i.e page,post,event,product…etc)
|
63 |
+
* An option to Hide Floating Sidebar On any taxonomy type (support all custom taxonomy type)
|
64 |
+
* An Option to Show/Hide sidebar on specific page/post and on any custom post type pages as well.
|
65 |
+
* An option to Show Social Share Buttons On Home/Blog/Search/Category/Author pages
|
66 |
+
* An option to Show Social Share Buttons on any taxonomy type (support all custom taxonomy type)
|
67 |
+
* An Option to Show/Hide social share buttons on specific page/post and on any custom post type pages as well.
|
68 |
+
* Responsive Light box Contact Form (for Mail Icon)
|
69 |
+
* An option to add to any custom shortcode into light box
|
70 |
+
* Advance feature for choose to pinterest share image
|
71 |
+
* An option to enable to OG tags meta boxes for define to share window content(share title, share description & share image path)
|
72 |
+
* An option to set sidebar position (left/right/bottom) for mobile
|
73 |
+
* An option to add social site official page URL for all social buttons
|
74 |
+
Extra Buttons (Xing,Instagram,Whatsapp,Digg,Yummly,Vk, Buffer, Line, Skype, RSS, Print, G-Mail, Blogger, Tumbler, Delicious, Weibo, Telegram, Google Translate, Phone & SMS )
|
75 |
+
* An option to define to twitter username as hash tag in share window.
|
76 |
+
* An option to display to number of share(Facebook, Linkedin, StumbleUpon, Pinterest, Xing and Reddit)
|
77 |
+
* An options to change to buttons image, title, background color and url (You can use any button as your own custom button)
|
78 |
+
* An options to define sorting order for all buttons
|
79 |
+
* 10 extra custom floating sidebar buttons with extra options (i.e you can define your own custom size for these buttons)
|
80 |
+
* An option to show sum of total share count for all buttons
|
81 |
* An option to remove mouse hover animation effect for all social buttons
|
82 |
+
* An options to choose different style of sidebar
|
83 |
+
* An option to define page specific sidebar position (Left/Right/Bottom) for all page
|
84 |
+
* An option to choose custom styles of social share buttons
|
85 |
+
* An option to define sidebar position for every page separately
|
86 |
+
* An option to show/hide sidebar from any specific page
|
87 |
+
* Faster support
|
88 |
|
89 |
+
**[Upgrade to Pro Version](https://rgaddons.wordpress.com/custom-share-buttons-with-floating-sidebar-pro/)**
|
90 |
|
91 |
|
92 |
For any query contact to **[plugin author](mailto:raghunath.0087@gmail.com)**
|
160 |
9. screenshot-9.png
|
161 |
|
162 |
== Changelog ==
|
163 |
+
|
164 |
+
= 3.4 =
|
165 |
+
* Tested with latest wordpress version 4.9.1
|
166 |
+
* Optimized CSS of share buttons
|
167 |
+
* Added an extra feature to Pinterest button for share to multi images
|
168 |
+
|
169 |
= 3.3 =
|
170 |
* Tested with latest wordpress version 4.8.2
|
171 |
* Released addon new version 3.2 with new features
|
208 |
* Added reset button for reset to images/title for sidebar and social buttons.
|
209 |
* Optimized js code for floating sidebar
|
210 |
* Optimized design and css of social share buttons
|
211 |
+
|
212 |
= 2.4 =
|
213 |
+
* Fixed share url issue for custom post type.
|
214 |
+
* Fixed show/hide share buttons issues
|
215 |
+
* Tested with wordpress latest version
|
216 |
|
217 |
= 2.3 =
|
218 |
* update code to display content into footer section
|
219 |
* Added an option for define position of share buttons (below/above or content)
|
220 |
+
* Fixed some minor js/css issue
|
221 |
|
222 |
= 2.2 =
|
223 |
* Fixed double time open share url issue
|
224 |
* Added an option for auto close sidebar buttons on page load
|
225 |
+
* Added an option for hide "Share This!!" button on page/post
|
226 |
|
227 |
= 2.1 =
|
228 |
* Fixed share buttons css issues
|
229 |
+
* Fixed some minor js conflict issues
|
230 |
|
231 |
= 2.0 =
|
232 |
* Fixed pinterest share image issue
|