Version Description
- [Improvement] Improved bit.ly short url cache resulting in reduced page load time
- [Improvement] Specified "heateor_sss_sharing_title" class name for the div containing title of sharing interface
- [Improvement] Compatible with "Social Share myCRED Integration" add-on
Download this release
Release Info
Developer | Heateor |
Plugin | WordPress Social Sharing Plugin – Sassy Social Share |
Version | 1.6 |
Comparing to | |
See all releases |
Code changes from version 1.5 to 1.6
- admin/class-sassy-social-share-admin.php +1 -1
- admin/partials/sassy-social-share-about.php +18 -18
- admin/partials/sassy-social-share-options-page.php +120 -120
- includes/class-sassy-social-share-sharing-networks.php +1 -1
- includes/class-sassy-social-share-widgets.php +4 -4
- includes/class-sassy-social-share.php +3 -1
- public/class-sassy-social-share-public.php +36 -12
- readme.txt +11 -2
- sassy-social-share.php +6 -21
admin/class-sassy-social-share-admin.php
CHANGED
@@ -346,7 +346,7 @@ class Sassy_Social_Share_Admin {
|
|
346 |
public function admin_scripts() {
|
347 |
|
348 |
?>
|
349 |
-
<script type="text/javascript">var heateorSssWebsiteUrl = '<?php echo site_url() ?>', heateorSssHelpBubbleTitle = "<?php echo __('Click to show help', 'sassy-social-share' ) ?>", heateorSssHelpBubbleCollapseTitle = "<?php echo __('Click to hide help', 'sassy-social-share' ) ?>"</script>
|
350 |
<?php
|
351 |
wp_enqueue_script( 'heateor_sss_admin_script', plugins_url( 'js/sassy-social-share-admin.js', __FILE__ ), array( 'jquery', 'jquery-ui-tabs' ), $this->version );
|
352 |
|
346 |
public function admin_scripts() {
|
347 |
|
348 |
?>
|
349 |
+
<script type="text/javascript">var heateorSssWebsiteUrl = '<?php echo site_url() ?>', heateorSssHelpBubbleTitle = "<?php echo __( 'Click to show help', 'sassy-social-share' ) ?>", heateorSssHelpBubbleCollapseTitle = "<?php echo __( 'Click to hide help', 'sassy-social-share' ) ?>"</script>
|
350 |
<?php
|
351 |
wp_enqueue_script( 'heateor_sss_admin_script', plugins_url( 'js/sassy-social-share-admin.js', __FILE__ ), array( 'jquery', 'jquery-ui-tabs' ), $this->version );
|
352 |
|
admin/partials/sassy-social-share-about.php
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
<?php defined('ABSPATH') or die("Cheating........Uh!!"); ?>
|
2 |
<div class="heateor_sss_right_column">
|
3 |
<div class="stuffbox">
|
4 |
-
<h3><label><?php _e('About', 'sassy-social-share' );?></label><label style="float:right"><?php _e('Version', 'sassy-social-share' );?> <?php echo
|
5 |
<div class="inside">
|
6 |
-
<p><strong>Sassy Social Share</strong> <?php _e('by', 'sassy-social-share' ) ?> <strong><a href="//www.heateor.com" target="_blank">Heateor</a></strong></p>
|
7 |
-
<p><?php _e('We are a creative team with unique ideas in mind and service in heart. We love what we do. For more info join us at', 'sassy-social-share' ) ?></p>
|
8 |
<div style="height:32px">
|
9 |
<a href="//www.facebook.com/heateor" target="_blank" title="Facebook"><img style="box-shadow:1px 1px 10px 1px #888888" class="heateorSssLoginButton heateorSssFacebookButton" /></a>
|
10 |
<a href="//twitter.com/heateor" target="_blank" title="Twitter"><img style="box-shadow:1px 1px 10px 1px #888888" class="heateorSssLoginButton heateorSssTwitterButton" ></a>
|
@@ -14,56 +14,56 @@
|
|
14 |
</div>
|
15 |
|
16 |
<div class="stuffbox">
|
17 |
-
<h3><label><?php _e('Donate', 'sassy-social-share');?></label></h3>
|
18 |
<div class="inside">
|
19 |
-
<p><?php _e('You can help us continue the development of this free plugin by donating', 'sassy-social-share') ?></p>
|
20 |
<a href="https://www.heateor.com/donate/?action=Sassy+Social+Share" style="text-decoration:none" target="_blank"><input type="button" style="width:52%;background-color:#D51F1F" class="ss_demo" value="<?php _e( 'Donate Now', 'sassy-social-share' ) ?>" /></a>
|
21 |
</div>
|
22 |
</div>
|
23 |
|
24 |
<div style="margin-bottom: 21px">
|
25 |
<div class="inside" style="padding-top:10px">
|
26 |
-
<a target="_blank" style="text-decoration:none" href="https://www.heateor.com/sassy-social-share-demo/"><input type="button" class="ss_demo" value="<?php _e('Plugin Demo', 'sassy-social-share' ) ?>" /></a>
|
27 |
</div>
|
28 |
</div>
|
29 |
|
30 |
<div style="margin-bottom: 21px">
|
31 |
<div class="inside" style="padding-top:10px">
|
32 |
-
<a target="_blank" style="text-decoration:none" href="http://support.heateor.com/category/sassy-social-share"><input type="button" class="ss_demo" value="<?php _e('Customization Options', 'sassy-social-share' ) ?>" /></a>
|
33 |
</div>
|
34 |
</div>
|
35 |
|
36 |
<div style="margin-bottom: 21px">
|
37 |
<div class="inside" style="padding-top:10px">
|
38 |
-
<a target="_blank" style="text-decoration:none" href="https://www.heateor.com/add-ons"><input type="button" class="ss_demo" value="<?php _e('Add-ons', 'sassy-social-share' ) ?>" /></a>
|
39 |
</div>
|
40 |
</div>
|
41 |
|
42 |
<div style="margin-bottom: 21px">
|
43 |
<div class="inside" style="padding-top:10px">
|
44 |
-
<a target="_blank" style="text-decoration:none" href="https://wordpress.org/support/plugin/sassy-social-share"><input type="button" class="ss_demo" value="<?php _e('Support Forum', 'sassy-social-share' ) ?>" /></a>
|
45 |
</div>
|
46 |
</div>
|
47 |
|
48 |
<div class="stuffbox">
|
49 |
-
<h3><label><?php _e('Need Quick Help?', 'sassy-social-share' );?></label></h3>
|
50 |
<div class="inside">
|
51 |
-
<p><?php _e('If you <strong>have any query</strong>, need help regarding <strong>plugin setup</strong>, want <strong>custom features</strong> in the plugin or <strong>have any suggestion</strong> to improve the plugin, just drop an email at <a href="mailto:support@heateor.com">support@heateor.com</a>', 'sassy-social-share' ); ?></p>
|
52 |
</div>
|
53 |
</div>
|
54 |
|
55 |
<div class="stuffbox">
|
56 |
-
<h3><label><?php _e('Support Us', 'sassy-social-share' );?></label></h3>
|
57 |
<div class="inside" style="padding-top: 10px">
|
58 |
<div style="height: 24px;">
|
59 |
-
<div style="float: left;"><strong><?php _e('Rate 5-star', 'sassy-social-share' ); ?></strong></div>
|
60 |
<div style="float: left; margin-left: 28px;">
|
61 |
<a style="text-decoration: none" href="//wordpress.org/support/view/plugin-reviews/sassy-social-share" target="_blank">
|
62 |
-
<img title="<?php _e('Rate 5-star', 'sassy-social-share' ); ?>" src="<?php echo plugins_url('../../images/star.png', __FILE__) ?>" />
|
63 |
-
<img title="<?php _e('Rate 5-star', 'sassy-social-share' ); ?>" src="<?php echo plugins_url('../../images/star.png', __FILE__) ?>" />
|
64 |
-
<img title="<?php _e('Rate 5-star', 'sassy-social-share' ); ?>" src="<?php echo plugins_url('../../images/star.png', __FILE__) ?>" />
|
65 |
-
<img title="<?php _e('Rate 5-star', 'sassy-social-share' ); ?>" src="<?php echo plugins_url('../../images/star.png', __FILE__) ?>" />
|
66 |
-
<img title="<?php _e('Rate 5-star', 'sassy-social-share' ); ?>" src="<?php echo plugins_url('../../images/star.png', __FILE__) ?>" />
|
67 |
</a>
|
68 |
</div>
|
69 |
</div>
|
1 |
<?php defined('ABSPATH') or die("Cheating........Uh!!"); ?>
|
2 |
<div class="heateor_sss_right_column">
|
3 |
<div class="stuffbox">
|
4 |
+
<h3><label><?php _e( 'About', 'sassy-social-share' );?></label><label style="float:right"><?php _e( 'Version', 'sassy-social-share' );?> <?php echo $this->version; ?></label></h3>
|
5 |
<div class="inside">
|
6 |
+
<p><strong>Sassy Social Share</strong> <?php _e( 'by', 'sassy-social-share' ) ?> <strong><a href="//www.heateor.com" target="_blank">Heateor</a></strong></p>
|
7 |
+
<p><?php _e( 'We are a creative team with unique ideas in mind and service in heart. We love what we do. For more info join us at', 'sassy-social-share' ) ?></p>
|
8 |
<div style="height:32px">
|
9 |
<a href="//www.facebook.com/heateor" target="_blank" title="Facebook"><img style="box-shadow:1px 1px 10px 1px #888888" class="heateorSssLoginButton heateorSssFacebookButton" /></a>
|
10 |
<a href="//twitter.com/heateor" target="_blank" title="Twitter"><img style="box-shadow:1px 1px 10px 1px #888888" class="heateorSssLoginButton heateorSssTwitterButton" ></a>
|
14 |
</div>
|
15 |
|
16 |
<div class="stuffbox">
|
17 |
+
<h3><label><?php _e( 'Donate', 'sassy-social-share');?></label></h3>
|
18 |
<div class="inside">
|
19 |
+
<p><?php _e( 'You can help us continue the development of this free plugin by donating', 'sassy-social-share') ?></p>
|
20 |
<a href="https://www.heateor.com/donate/?action=Sassy+Social+Share" style="text-decoration:none" target="_blank"><input type="button" style="width:52%;background-color:#D51F1F" class="ss_demo" value="<?php _e( 'Donate Now', 'sassy-social-share' ) ?>" /></a>
|
21 |
</div>
|
22 |
</div>
|
23 |
|
24 |
<div style="margin-bottom: 21px">
|
25 |
<div class="inside" style="padding-top:10px">
|
26 |
+
<a target="_blank" style="text-decoration:none" href="https://www.heateor.com/sassy-social-share-demo/"><input type="button" class="ss_demo" value="<?php _e( 'Plugin Demo', 'sassy-social-share' ) ?>" /></a>
|
27 |
</div>
|
28 |
</div>
|
29 |
|
30 |
<div style="margin-bottom: 21px">
|
31 |
<div class="inside" style="padding-top:10px">
|
32 |
+
<a target="_blank" style="text-decoration:none" href="http://support.heateor.com/category/sassy-social-share"><input type="button" class="ss_demo" value="<?php _e( 'Customization Options', 'sassy-social-share' ) ?>" /></a>
|
33 |
</div>
|
34 |
</div>
|
35 |
|
36 |
<div style="margin-bottom: 21px">
|
37 |
<div class="inside" style="padding-top:10px">
|
38 |
+
<a target="_blank" style="text-decoration:none" href="https://www.heateor.com/add-ons"><input type="button" class="ss_demo" value="<?php _e( 'Add-ons', 'sassy-social-share' ) ?>" /></a>
|
39 |
</div>
|
40 |
</div>
|
41 |
|
42 |
<div style="margin-bottom: 21px">
|
43 |
<div class="inside" style="padding-top:10px">
|
44 |
+
<a target="_blank" style="text-decoration:none" href="https://wordpress.org/support/plugin/sassy-social-share"><input type="button" class="ss_demo" value="<?php _e( 'Support Forum', 'sassy-social-share' ) ?>" /></a>
|
45 |
</div>
|
46 |
</div>
|
47 |
|
48 |
<div class="stuffbox">
|
49 |
+
<h3><label><?php _e( 'Need Quick Help?', 'sassy-social-share' );?></label></h3>
|
50 |
<div class="inside">
|
51 |
+
<p><?php _e( 'If you <strong>have any query</strong>, need help regarding <strong>plugin setup</strong>, want <strong>custom features</strong> in the plugin or <strong>have any suggestion</strong> to improve the plugin, just drop an email at <a href="mailto:support@heateor.com">support@heateor.com</a>', 'sassy-social-share' ); ?></p>
|
52 |
</div>
|
53 |
</div>
|
54 |
|
55 |
<div class="stuffbox">
|
56 |
+
<h3><label><?php _e( 'Support Us', 'sassy-social-share' );?></label></h3>
|
57 |
<div class="inside" style="padding-top: 10px">
|
58 |
<div style="height: 24px;">
|
59 |
+
<div style="float: left;"><strong><?php _e( 'Rate 5-star', 'sassy-social-share' ); ?></strong></div>
|
60 |
<div style="float: left; margin-left: 28px;">
|
61 |
<a style="text-decoration: none" href="//wordpress.org/support/view/plugin-reviews/sassy-social-share" target="_blank">
|
62 |
+
<img title="<?php _e( 'Rate 5-star', 'sassy-social-share' ); ?>" src="<?php echo plugins_url('../../images/star.png', __FILE__) ?>" />
|
63 |
+
<img title="<?php _e( 'Rate 5-star', 'sassy-social-share' ); ?>" src="<?php echo plugins_url('../../images/star.png', __FILE__) ?>" />
|
64 |
+
<img title="<?php _e( 'Rate 5-star', 'sassy-social-share' ); ?>" src="<?php echo plugins_url('../../images/star.png', __FILE__) ?>" />
|
65 |
+
<img title="<?php _e( 'Rate 5-star', 'sassy-social-share' ); ?>" src="<?php echo plugins_url('../../images/star.png', __FILE__) ?>" />
|
66 |
+
<img title="<?php _e( 'Rate 5-star', 'sassy-social-share' ); ?>" src="<?php echo plugins_url('../../images/star.png', __FILE__) ?>" />
|
67 |
</a>
|
68 |
</div>
|
69 |
</div>
|
admin/partials/sassy-social-share-options-page.php
CHANGED
@@ -16,20 +16,20 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
16 |
<?php settings_fields( 'heateor_sss_options' ); ?>
|
17 |
<h2 class="nav-tab-wrapper" style="height:34px">
|
18 |
<ul>
|
19 |
-
<li style="margin-left:9px"><a style="margin:0; height:23px" class="nav-tab" href="#tabs-1"><?php _e('Theme Selection', 'sassy-social-share' ) ?></a></li>
|
20 |
-
<li style="margin-left:9px"><a style="margin:0; height:23px" class="nav-tab" href="#tabs-2"><?php _e('Standard Interface', 'sassy-social-share' ) ?></a></li>
|
21 |
-
<li style="margin-left:9px"><a style="margin:0; height:23px" class="nav-tab" href="#tabs-3"><?php _e('Floating Interface', 'sassy-social-share' ) ?></a></li>
|
22 |
-
<li style="margin-left:9px"><a style="margin:0; height:23px" class="nav-tab" href="#tabs-4"><?php _e('Miscellaneous', 'sassy-social-share' ) ?></a></li>
|
23 |
-
<li style="margin-left:9px"><a style="margin:0; height:23px" class="nav-tab" href="#tabs-5"><?php _e('Shortcode & Widget', 'sassy-social-share' ) ?></a></li>
|
24 |
-
<li style="margin-left:9px"><a style="margin:0; height:23px" class="nav-tab" href="#tabs-6"><?php _e('Troubleshooter', 'sassy-social-share' ) ?></a></li>
|
25 |
-
<li style="margin-left:9px"><a style="margin:0; height:23px" class="nav-tab" href="#tabs-7"><?php _e('FAQ', 'sassy-social-share' ) ?></a></li>
|
26 |
</ul>
|
27 |
</h2>
|
28 |
|
29 |
<div class="menu_containt_div" id="tabs-1">
|
30 |
<div class="heateor_sss_left_column">
|
31 |
<div class="stuffbox">
|
32 |
-
<h3><label><?php _e('Standard interface theme', 'sassy-social-share' );?></label></h3>
|
33 |
<div class="inside">
|
34 |
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="form-table editcomment menu_content_table">
|
35 |
<tr>
|
@@ -106,7 +106,7 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
106 |
|
107 |
<tr>
|
108 |
<td colspan="2">
|
109 |
-
<div id="heateor_sss_preview_message" style="color:green;display:none;margin-top:36px"><?php _e('Do not forget to save the configuration after making changes by clicking the save button below', 'sassy-social-share' ); ?></div>
|
110 |
</td>
|
111 |
</tr>
|
112 |
|
@@ -128,7 +128,7 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
128 |
<tr class="heateor_sss_help_content" id="heateor_sss_icon_shape_help_cont">
|
129 |
<td colspan="2">
|
130 |
<div>
|
131 |
-
<?php _e('Shape of the sharing icons', 'sassy-social-share' ) ?>
|
132 |
</div>
|
133 |
</td>
|
134 |
</tr>
|
@@ -153,7 +153,7 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
153 |
<tr class="heateor_sss_help_content" id="heateor_sss_icon_size_help_cont">
|
154 |
<td colspan="2">
|
155 |
<div>
|
156 |
-
<?php _e('Size of the sharing icons', 'sassy-social-share' ) ?>
|
157 |
</div>
|
158 |
</td>
|
159 |
</tr>
|
@@ -179,7 +179,7 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
179 |
<tr class="heateor_sss_help_content" id="heateor_sss_icon_width_help_cont">
|
180 |
<td colspan="2">
|
181 |
<div>
|
182 |
-
<?php _e('Width of the sharing icons', 'sassy-social-share' ) ?>
|
183 |
</div>
|
184 |
</td>
|
185 |
</tr>
|
@@ -203,7 +203,7 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
203 |
<tr class="heateor_sss_help_content" id="heateor_sss_icon_height_help_cont">
|
204 |
<td colspan="2">
|
205 |
<div>
|
206 |
-
<?php _e('Height of the sharing icons', 'sassy-social-share' ) ?>
|
207 |
</div>
|
208 |
</td>
|
209 |
</tr>
|
@@ -223,7 +223,7 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
223 |
<tr class="heateor_sss_help_content" id="heateor_sss_icon_border_radius_help_cont">
|
224 |
<td colspan="2">
|
225 |
<div>
|
226 |
-
<?php _e('Specify a value for rounded corners. More the value, more rounded will the corners be. Leave empty for sharp corners.', 'sassy-social-share' ) ?>
|
227 |
</div>
|
228 |
</td>
|
229 |
</tr>
|
@@ -246,7 +246,7 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
246 |
<tr class="heateor_sss_help_content" id="heateor_sss_font_color_help_cont">
|
247 |
<td colspan="2">
|
248 |
<div>
|
249 |
-
<?php _e('Specify the color or hex code (example #cc78e0) for the logo of icon. Leave empty for default. You can get the hex code of the required color from <a href="http://www.colorpicker.com/" target="_blank">this link</a>', 'sassy-social-share' ) ?>
|
250 |
</div>
|
251 |
</td>
|
252 |
</tr>
|
@@ -265,7 +265,7 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
265 |
<tr class="heateor_sss_help_content" id="heateor_sss_bg_color_help_cont">
|
266 |
<td colspan="2">
|
267 |
<div>
|
268 |
-
<?php _e('Specify the color or hex code (example #cc78e0) for icon background. Save "transparent" for transparent background. Leave empty for default. You can get the hex code of the required color from <a href="http://www.colorpicker.com/" target="_blank">this link</a>', 'sassy-social-share' ) ?>
|
269 |
</div>
|
270 |
</td>
|
271 |
</tr>
|
@@ -292,7 +292,7 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
292 |
<tr class="heateor_sss_help_content" id="heateor_sss_border_help_cont">
|
293 |
<td colspan="2">
|
294 |
<div>
|
295 |
-
<?php _e('Icon border', 'sassy-social-share' ) ?>
|
296 |
</div>
|
297 |
</td>
|
298 |
</tr>
|
@@ -326,7 +326,7 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
326 |
<tr class="heateor_sss_help_content" id="heateor_sss_counter_help_cont">
|
327 |
<td colspan="2">
|
328 |
<div>
|
329 |
-
<?php _e('Position of share counter', 'sassy-social-share' ) ?>
|
330 |
</div>
|
331 |
</td>
|
332 |
</tr>
|
@@ -336,7 +336,7 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
336 |
</div>
|
337 |
|
338 |
<div class="stuffbox">
|
339 |
-
<h3><label><?php _e('Floating interface theme', 'sassy-social-share' );?></label></h3>
|
340 |
<div class="inside">
|
341 |
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="form-table editcomment menu_content_table">
|
342 |
<tr>
|
@@ -414,7 +414,7 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
414 |
|
415 |
<tr>
|
416 |
<td colspan="2">
|
417 |
-
<div id="heateor_sss_vertical_preview_message" style="color:green;display:none"><?php _e('Do not forget to save the configuration after making changes by clicking the save button below', 'sassy-social-share' ); ?></div>
|
418 |
</td>
|
419 |
</tr>
|
420 |
|
@@ -436,7 +436,7 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
436 |
<tr class="heateor_sss_help_content" id="heateor_sss_vertical_sharing_icon_shape_help_cont">
|
437 |
<td colspan="2">
|
438 |
<div>
|
439 |
-
<?php _e('Shape of the sharing icons', 'sassy-social-share' ) ?>
|
440 |
</div>
|
441 |
</td>
|
442 |
</tr>
|
@@ -461,7 +461,7 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
461 |
<tr class="heateor_sss_help_content" id="heateor_sss_vertical_sharing_icon_size_help_cont">
|
462 |
<td colspan="2">
|
463 |
<div>
|
464 |
-
<?php _e('Size of the sharing icons', 'sassy-social-share' ) ?>
|
465 |
</div>
|
466 |
</td>
|
467 |
</tr>
|
@@ -487,7 +487,7 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
487 |
<tr class="heateor_sss_help_content" id="heateor_sss_vertical_icon_width_help_cont">
|
488 |
<td colspan="2">
|
489 |
<div>
|
490 |
-
<?php _e('Width of the sharing icons', 'sassy-social-share' ) ?>
|
491 |
</div>
|
492 |
</td>
|
493 |
</tr>
|
@@ -511,7 +511,7 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
511 |
<tr class="heateor_sss_help_content" id="heateor_sss_vertical_icon_height_help_cont">
|
512 |
<td colspan="2">
|
513 |
<div>
|
514 |
-
<?php _e('Height of the sharing icons', 'sassy-social-share' ) ?>
|
515 |
</div>
|
516 |
</td>
|
517 |
</tr>
|
@@ -531,7 +531,7 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
531 |
<tr class="heateor_sss_help_content" id="heateor_sss_vertical_icon_border_radius_help_cont">
|
532 |
<td colspan="2">
|
533 |
<div>
|
534 |
-
<?php _e('Specify a value for rounded corners. More the value, more rounded will the corners be. Leave empty for sharp corners.', 'sassy-social-share' ) ?>
|
535 |
</div>
|
536 |
</td>
|
537 |
</tr>
|
@@ -554,7 +554,7 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
554 |
<tr class="heateor_sss_help_content" id="heateor_sss_vertical_font_color_help_cont">
|
555 |
<td colspan="2">
|
556 |
<div>
|
557 |
-
<?php _e('Specify the color or hex code (example #cc78e0) for the logo of icon. Leave empty for default. You can get the hex code of the required color from <a href="http://www.colorpicker.com/" target="_blank">this link</a>', 'sassy-social-share' ) ?>
|
558 |
</div>
|
559 |
</td>
|
560 |
</tr>
|
@@ -573,7 +573,7 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
573 |
<tr class="heateor_sss_help_content" id="heateor_sss_vertical_icon_bg_color_help_cont">
|
574 |
<td colspan="2">
|
575 |
<div>
|
576 |
-
<?php _e('Specify the color or hex code (example #cc78e0) for icon background. Save "transparent" for transparent background. Leave empty for default. You can get the hex code of the required color from <a href="http://www.colorpicker.com/" target="_blank">this link</a>', 'sassy-social-share' ) ?>
|
577 |
</div>
|
578 |
</td>
|
579 |
</tr>
|
@@ -599,7 +599,7 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
599 |
<tr class="heateor_sss_help_content" id="heateor_sss_vertical_border_help_cont">
|
600 |
<td colspan="2">
|
601 |
<div>
|
602 |
-
<?php _e('Icon border', 'sassy-social-share' ) ?>
|
603 |
</div>
|
604 |
</td>
|
605 |
</tr>
|
@@ -633,7 +633,7 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
633 |
<tr class="heateor_sss_help_content" id="heateor_sss_vertical_counter_help_cont">
|
634 |
<td colspan="2">
|
635 |
<div>
|
636 |
-
<?php _e('Position of share counter', 'sassy-social-share' ) ?>
|
637 |
</div>
|
638 |
</td>
|
639 |
</tr>
|
@@ -648,7 +648,7 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
648 |
<div class="heateor_sss_left_column">
|
649 |
|
650 |
<div class="stuffbox">
|
651 |
-
<h3><label><?php _e('Standard Sharing Interface Options', 'sassy-social-share' );?></label></h3>
|
652 |
<div class="inside">
|
653 |
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="form-table editcomment menu_content_table">
|
654 |
<tr>
|
@@ -664,7 +664,7 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
664 |
<tr class="heateor_sss_help_content" id="heateor_sss_horizontal_enable_help_cont">
|
665 |
<td colspan="2">
|
666 |
<div>
|
667 |
-
<?php _e('Master control to enable standard sharing', 'sassy-social-share' ) ?>
|
668 |
<img width="550" src="<?php echo plugins_url('../../images/snaps/sss_horizontal_sharing.png', __FILE__); ?>" />
|
669 |
</div>
|
670 |
</td>
|
@@ -678,18 +678,18 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
678 |
</th>
|
679 |
<td id="heateor_sss_target_url_column">
|
680 |
<input id="heateor_sss_target_url_default" name="heateor_sss[horizontal_target_url]" type="radio" <?php echo !isset( $options['horizontal_target_url'] ) || $options['horizontal_target_url'] == 'default' ? 'checked = "checked"' : '';?> value="default" />
|
681 |
-
<label for="heateor_sss_target_url_default"><?php _e('Url of the webpage where icons are located (default)', 'sassy-social-share' ) ?></label><br/>
|
682 |
<input id="heateor_sss_target_url_home" name="heateor_sss[horizontal_target_url]" type="radio" <?php echo isset( $options['horizontal_target_url'] ) && $options['horizontal_target_url'] == 'home' ? 'checked = "checked"' : '';?> value="home" />
|
683 |
-
<label for="heateor_sss_target_url_home"><?php _e('Url of the homepage of your website', 'sassy-social-share' ) ?></label><br/>
|
684 |
<input id="heateor_sss_target_url_custom" name="heateor_sss[horizontal_target_url]" type="radio" <?php echo isset( $options['horizontal_target_url'] ) && $options['horizontal_target_url'] == 'custom' ? 'checked = "checked"' : '';?> value="custom" />
|
685 |
-
<label for="heateor_sss_target_url_custom"><?php _e('Custom url', 'sassy-social-share' ) ?></label><br/>
|
686 |
<input id="heateor_sss_target_url_custom_url" name="heateor_sss[horizontal_target_url_custom]" type="text" value="<?php echo isset( $options['horizontal_target_url_custom'] ) ? $options['horizontal_target_url_custom'] : '' ?>" />
|
687 |
</td>
|
688 |
</tr>
|
689 |
<tr class="heateor_sss_help_content" id="heateor_sss_horizontal_target_url_help_cont">
|
690 |
<td colspan="2">
|
691 |
<div>
|
692 |
-
<?php _e('Url to share', 'sassy-social-share' ) ?>
|
693 |
</div>
|
694 |
</td>
|
695 |
</tr>
|
@@ -707,7 +707,7 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
707 |
<tr class="heateor_sss_help_content" id="heateor_sss_title_help_cont">
|
708 |
<td colspan="2">
|
709 |
<div>
|
710 |
-
<?php _e('The text to display above the sharing interface', 'sassy-social-share' ) ?>
|
711 |
</div>
|
712 |
</td>
|
713 |
</tr>
|
@@ -778,7 +778,7 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
778 |
<tr class="heateor_sss_help_content" id="heateor_sss_rearrange_help_cont">
|
779 |
<td colspan="2">
|
780 |
<div>
|
781 |
-
<?php _e('Drag the icons to rearrange in desired order', 'sassy-social-share' ) ?>
|
782 |
</div>
|
783 |
</td>
|
784 |
</tr>
|
@@ -793,7 +793,7 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
793 |
<tr class="heateor_sss_help_content" id="heateor_sss_providers_help_cont">
|
794 |
<td colspan="2">
|
795 |
<div>
|
796 |
-
<?php _e('Select sharing services to show in social share bar', 'sassy-social-share' ) ?>
|
797 |
</div>
|
798 |
</td>
|
799 |
</tr>
|
@@ -832,9 +832,9 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
832 |
</th>
|
833 |
<td>
|
834 |
<select id="heateor_sss_hor_alignment" name="heateor_sss[hor_sharing_alignment]">
|
835 |
-
<option value="left" <?php echo isset( $options['hor_sharing_alignment'] ) && $options['hor_sharing_alignment'] == 'left' ? 'selected="selected"' : '' ?>><?php _e('Left', 'sassy-social-share' ) ?></option>
|
836 |
-
<option value="center" <?php echo isset( $options['hor_sharing_alignment'] ) && $options['hor_sharing_alignment'] == 'center' ? 'selected="selected"' : '' ?>><?php _e('Center', 'sassy-social-share' ) ?></option>
|
837 |
-
<option value="right" <?php echo isset( $options['hor_sharing_alignment'] ) && $options['hor_sharing_alignment'] == 'right' ? 'selected="selected"' : '' ?>><?php _e('Right', 'sassy-social-share' ) ?></option>
|
838 |
</select>
|
839 |
</td>
|
840 |
</tr>
|
@@ -842,7 +842,7 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
842 |
<tr class="heateor_sss_help_content" id="heateor_sss_hor_alignment_help_cont">
|
843 |
<td colspan="2">
|
844 |
<div>
|
845 |
-
<?php _e('Horizontal alignment of the sharing interface', 'sassy-social-share' ) ?>
|
846 |
</div>
|
847 |
</td>
|
848 |
</tr>
|
@@ -854,16 +854,16 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
854 |
</th>
|
855 |
<td>
|
856 |
<input id="heateor_sss_top" name="heateor_sss[top]" type="checkbox" <?php echo isset( $options['top'] ) ? 'checked = "checked"' : '';?> value="1" />
|
857 |
-
<label for="heateor_sss_top"><?php _e('Top of the content', 'sassy-social-share' ) ?></label><br/>
|
858 |
<input id="heateor_sss_bottom" name="heateor_sss[bottom]" type="checkbox" <?php echo isset( $options['bottom'] ) ? 'checked = "checked"' : '';?> value="1" />
|
859 |
-
<label for="heateor_sss_bottom"><?php _e('Bottom of the content', 'sassy-social-share' ) ?></label>
|
860 |
</td>
|
861 |
</tr>
|
862 |
|
863 |
<tr class="heateor_sss_help_content" id="heateor_sss_position_help_cont">
|
864 |
<td colspan="2">
|
865 |
<div>
|
866 |
-
<?php _e('Specify position of the sharing interface with respect to the content', 'sassy-social-share' ) ?>
|
867 |
</div>
|
868 |
</td>
|
869 |
</tr>
|
@@ -875,17 +875,17 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
875 |
</th>
|
876 |
<td>
|
877 |
<input id="heateor_sss_home" name="heateor_sss[home]" type="checkbox" <?php echo isset( $options['home'] ) ? 'checked = "checked"' : '';?> value="1" />
|
878 |
-
<label for="heateor_sss_home"><?php _e('Homepage', 'sassy-social-share' ) ?></label><br/>
|
879 |
<input id="heateor_sss_post" name="heateor_sss[post]" type="checkbox" <?php echo isset( $options['post'] ) ? 'checked = "checked"' : '';?> value="1" />
|
880 |
-
<label for="heateor_sss_post"><?php _e('Posts', 'sassy-social-share' ) ?></label><br/>
|
881 |
<input id="heateor_sss_page" name="heateor_sss[page]" type="checkbox" <?php echo isset( $options['page'] ) ? 'checked = "checked"' : '';?> value="1" />
|
882 |
-
<label for="heateor_sss_page"><?php _e('Pages', 'sassy-social-share' ) ?></label><br/>
|
883 |
<input id="heateor_sss_excerpt" name="heateor_sss[excerpt]" type="checkbox" <?php echo isset( $options['excerpt'] ) ? 'checked = "checked"' : '';?> value="1" />
|
884 |
-
<label for="heateor_sss_excerpt"><?php _e('Excerpts (at Homepage)', 'sassy-social-share' ) ?></label><br/>
|
885 |
<input id="heateor_sss_category" name="heateor_sss[category]" type="checkbox" <?php echo isset( $options['category'] ) ? 'checked = "checked"' : '';?> value="1" />
|
886 |
-
<label for="heateor_sss_category"><?php _e('Category Archives', 'sassy-social-share' ) ?></label><br/>
|
887 |
<input id="heateor_sss_archive" name="heateor_sss[archive]" type="checkbox" <?php echo isset( $options['archive'] ) ? 'checked = "checked"' : '';?> value="1" />
|
888 |
-
<label for="heateor_sss_archive"><?php _e('Archive Pages (Category, Tag, Author or Date based pages)', 'sassy-social-share' ) ?></label><br/>
|
889 |
<?php
|
890 |
$post_types = get_post_types( array( 'public' => true ), 'names', 'and' );
|
891 |
$post_types = array_diff( $post_types, array( 'post', 'page' ) );
|
@@ -901,34 +901,34 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
901 |
if($this->is_bp_active){
|
902 |
?>
|
903 |
<input id="heateor_sss_bp_activity" name="heateor_sss[bp_activity]" type="checkbox" <?php echo isset( $options['bp_activity'] ) ? 'checked = "checked"' : '';?> value="1" />
|
904 |
-
<label for="heateor_sss_bp_activity"><?php _e('BuddyPress activity', 'sassy-social-share' ) ?></label><br/>
|
905 |
<input id="heateor_sss_bp_group" name="heateor_sss[bp_group]" type="checkbox" <?php echo isset( $options['bp_group'] ) ? 'checked = "checked"' : '';?> value="1" />
|
906 |
-
<label for="heateor_sss_bp_group"><?php _e('BuddyPress group (only at top of content)', 'sassy-social-share' ) ?></label><br/>
|
907 |
<?php
|
908 |
}
|
909 |
if(function_exists('is_bbpress')){
|
910 |
?>
|
911 |
<input id="heateor_sss_bb_forum" name="heateor_sss[bb_forum]" type="checkbox" <?php echo isset( $options['bb_forum'] ) ? 'checked = "checked"' : '';?> value="1" />
|
912 |
-
<label for="heateor_sss_bb_forum"><?php _e('BBPress forum', 'sassy-social-share' ) ?></label>
|
913 |
<br/>
|
914 |
<input id="heateor_sss_bb_topic" name="heateor_sss[bb_topic]" type="checkbox" <?php echo isset( $options['bb_topic'] ) ? 'checked = "checked"' : '';?> value="1" />
|
915 |
-
<label for="heateor_sss_bb_topic"><?php _e('BBPress topic', 'sassy-social-share' ) ?></label>
|
916 |
<br/>
|
917 |
<input id="heateor_sss_bb_reply" name="heateor_sss[bb_reply]" type="checkbox" <?php echo isset( $options['bb_reply'] ) ? 'checked = "checked"' : '';?> value="1" />
|
918 |
-
<label for="heateor_sss_bb_reply"><?php _e('BBPress reply', 'sassy-social-share' ) ?></label>
|
919 |
<br/>
|
920 |
<?php
|
921 |
}
|
922 |
if($this->is_woocommerce_active()){
|
923 |
?>
|
924 |
<input id="heateor_sss_woocom_shop" name="heateor_sss[woocom_shop]" type="checkbox" <?php echo isset( $options['woocom_shop'] ) ? 'checked = "checked"' : '';?> value="1" />
|
925 |
-
<label for="heateor_sss_woocom_shop"><?php _e('After individual product at WooCommerce Shop page', 'sassy-social-share' ) ?></label>
|
926 |
<br/>
|
927 |
<input id="heateor_sss_woocom_product" name="heateor_sss[woocom_product]" type="checkbox" <?php echo isset( $options['woocom_product'] ) ? 'checked = "checked"' : '';?> value="1" />
|
928 |
-
<label for="heateor_sss_woocom_product"><?php _e('WooCommerce Product Page', 'sassy-social-share' ) ?></label>
|
929 |
<br/>
|
930 |
<input id="heateor_sss_woocom_thankyou" name="heateor_sss[woocom_thankyou]" type="checkbox" <?php echo isset( $options['woocom_thankyou'] ) ? 'checked = "checked"' : '';?> value="1" />
|
931 |
-
<label for="heateor_sss_woocom_thankyou"><?php _e('WooCommerce Thankyou Page', 'sassy-social-share' ) ?></label>
|
932 |
<br/>
|
933 |
<?php
|
934 |
}
|
@@ -939,7 +939,7 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
939 |
<tr class="heateor_sss_help_content" id="heateor_sss_location_help_cont">
|
940 |
<td colspan="2">
|
941 |
<div>
|
942 |
-
<?php _e('Specify the pages where you want to enable Sharing interface', 'sassy-social-share' ) ?>
|
943 |
</div>
|
944 |
</td>
|
945 |
</tr>
|
@@ -959,7 +959,7 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
959 |
<tr class="heateor_sss_help_content" id="heateor_sss_count_help_cont">
|
960 |
<td colspan="2">
|
961 |
<div>
|
962 |
-
<?php _e('If enabled, share counts are displayed above sharing icons.', 'sassy-social-share' ) ?>
|
963 |
<img width="550" src="<?php echo plugins_url('../../images/snaps/sss_share_count.png', __FILE__); ?>" />
|
964 |
</div>
|
965 |
</td>
|
@@ -1001,7 +1001,7 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
1001 |
<tr class="heateor_sss_help_content" id="heateor_sss_total_hor_shares_help_cont">
|
1002 |
<td colspan="2">
|
1003 |
<div>
|
1004 |
-
<?php _e('If enabled, total shares will be displayed with sharing icons', 'sassy-social-share' ) ?>
|
1005 |
<img width="550" src="<?php echo plugins_url('../../images/snaps/sss_horizontal_total_shares.png', __FILE__); ?>" />
|
1006 |
</div>
|
1007 |
</td>
|
@@ -1020,7 +1020,7 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
1020 |
<tr class="heateor_sss_help_content" id="heateor_sss_hmore_help_cont">
|
1021 |
<td colspan="2">
|
1022 |
<div>
|
1023 |
-
<?php _e('If enabled, "More" icon will be displayed after selected sharing icons which shows additional sharing networks in popup', 'sassy-social-share' ) ?>
|
1024 |
</div>
|
1025 |
</td>
|
1026 |
</tr>
|
@@ -1036,7 +1036,7 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
1036 |
<div class="menu_containt_div" id="tabs-3">
|
1037 |
<div class="heateor_sss_left_column">
|
1038 |
<div class="stuffbox">
|
1039 |
-
<h3><label><?php _e('Floating Sharing Interface Options', 'sassy-social-share' );?></label></h3>
|
1040 |
<div class="inside">
|
1041 |
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="form-table editcomment menu_content_table">
|
1042 |
<tr>
|
@@ -1052,7 +1052,7 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
1052 |
<tr class="heateor_sss_help_content" id="heateor_sss_vertical_enable_help_cont">
|
1053 |
<td colspan="2">
|
1054 |
<div>
|
1055 |
-
<?php _e('Master control to enable floating sharing widget', 'sassy-social-share' ) ?>
|
1056 |
<img width="550" src="<?php echo plugins_url('../../images/snaps/sss_vertical_sharing.png', __FILE__); ?>" />
|
1057 |
</div>
|
1058 |
</td>
|
@@ -1066,18 +1066,18 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
1066 |
</th>
|
1067 |
<td id="heateor_sss_vertical_target_url_column">
|
1068 |
<input id="heateor_sss_vertical_target_url_default" name="heateor_sss[vertical_target_url]" type="radio" <?php echo !isset( $options['vertical_target_url'] ) || $options['vertical_target_url'] == 'default' ? 'checked = "checked"' : '';?> value="default" />
|
1069 |
-
<label for="heateor_sss_vertical_target_url_default"><?php _e('Url of the webpage where icons are located (default)', 'sassy-social-share' ) ?></label><br/>
|
1070 |
<input id="heateor_sss_vertical_target_url_home" name="heateor_sss[vertical_target_url]" type="radio" <?php echo isset( $options['vertical_target_url'] ) && $options['vertical_target_url'] == 'home' ? 'checked = "checked"' : '';?> value="home" />
|
1071 |
-
<label for="heateor_sss_vertical_target_url_home"><?php _e('Url of the homepage of your website', 'sassy-social-share' ) ?></label><br/>
|
1072 |
<input id="heateor_sss_vertical_target_url_custom" name="heateor_sss[vertical_target_url]" type="radio" <?php echo isset( $options['vertical_target_url'] ) && $options['vertical_target_url'] == 'custom' ? 'checked = "checked"' : '';?> value="custom" />
|
1073 |
-
<label for="heateor_sss_vertical_target_url_custom"><?php _e('Custom url', 'sassy-social-share' ) ?></label><br/>
|
1074 |
<input id="heateor_sss_vertical_target_url_custom_url" name="heateor_sss[vertical_target_url_custom]" type="text" value="<?php echo isset( $options['vertical_target_url_custom'] ) ? $options['vertical_target_url_custom'] : '' ?>" />
|
1075 |
</td>
|
1076 |
</tr>
|
1077 |
<tr class="heateor_sss_help_content" id="heateor_sss_vertical_target_url_help_cont">
|
1078 |
<td colspan="2">
|
1079 |
<div>
|
1080 |
-
<?php _e('Url to share', 'sassy-social-share' ) ?>
|
1081 |
</div>
|
1082 |
</td>
|
1083 |
</tr>
|
@@ -1144,7 +1144,7 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
1144 |
<tr class="heateor_sss_help_content" id="heateor_sss_vertical_rearrange_help_cont">
|
1145 |
<td colspan="2">
|
1146 |
<div>
|
1147 |
-
<?php _e('Drag the icons to rearrange in desired order', 'sassy-social-share' ) ?>
|
1148 |
</div>
|
1149 |
</td>
|
1150 |
</tr>
|
@@ -1159,7 +1159,7 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
1159 |
<tr class="heateor_sss_help_content" id="heateor_sss_vertical_providers_help_cont">
|
1160 |
<td colspan="2">
|
1161 |
<div>
|
1162 |
-
<?php _e('Select sharing services to show in social share bar', 'sassy-social-share' ) ?>
|
1163 |
</div>
|
1164 |
</td>
|
1165 |
</tr>
|
@@ -1204,7 +1204,7 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
1204 |
<tr class="heateor_sss_help_content" id="heateor_sss_vertical_bg_color_help_cont">
|
1205 |
<td colspan="2">
|
1206 |
<div>
|
1207 |
-
<?php _e('Specify the color or hex code (example #cc78e0) for the background of vertical sharing bar. Leave empty for transparent. You can get the hex code of the required color from <a href="http://www.colorpicker.com/" target="_blank">this link</a>', 'sassy-social-share' ) ?>
|
1208 |
</div>
|
1209 |
</td>
|
1210 |
</tr>
|
@@ -1216,8 +1216,8 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
1216 |
</th>
|
1217 |
<td>
|
1218 |
<select onchange="heateorSssToggleOffset(this.value)" id="heateor_sss_alignment" name="heateor_sss[alignment]">
|
1219 |
-
<option value="left" <?php echo isset( $options['alignment'] ) && $options['alignment'] == 'left' ? 'selected="selected"' : '' ?>><?php _e('Left', 'sassy-social-share' ) ?></option>
|
1220 |
-
<option value="right" <?php echo isset( $options['alignment'] ) && $options['alignment'] == 'right' ? 'selected="selected"' : '' ?>><?php _e('Right', 'sassy-social-share' ) ?></option>
|
1221 |
</select>
|
1222 |
</td>
|
1223 |
</tr>
|
@@ -1225,7 +1225,7 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
1225 |
<tr class="heateor_sss_help_content" id="heateor_sss_alignment_help_cont">
|
1226 |
<td colspan="2">
|
1227 |
<div>
|
1228 |
-
<?php _e('Horizontal alignment of the sharing interface', 'sassy-social-share' ) ?>
|
1229 |
</div>
|
1230 |
</td>
|
1231 |
</tr>
|
@@ -1244,7 +1244,7 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
1244 |
<tr class="heateor_sss_help_content" id="heateor_sss_left_offset_help_cont">
|
1245 |
<td colspan="2">
|
1246 |
<div>
|
1247 |
-
<?php _e('Specify a number. Increase in number will shift sharing interface towards right and decrease will shift it towards left. Number can be negative too.', 'sassy-social-share' ) ?>
|
1248 |
</div>
|
1249 |
</td>
|
1250 |
</tr>
|
@@ -1264,7 +1264,7 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
1264 |
<tr class="heateor_sss_help_content" id="heateor_sss_right_offset_help_cont">
|
1265 |
<td colspan="2">
|
1266 |
<div>
|
1267 |
-
<?php _e('Specify a number. Increase in number will shift sharing interface towards left and decrease will shift it towards right. Number can be negative too.', 'sassy-social-share' ) ?>
|
1268 |
</div>
|
1269 |
</td>
|
1270 |
</tr>
|
@@ -1283,7 +1283,7 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
1283 |
<tr class="heateor_sss_help_content" id="heateor_sss_top_offset_help_cont">
|
1284 |
<td colspan="2">
|
1285 |
<div>
|
1286 |
-
<?php _e('Specify a number. Increase in number will shift sharing interface towards bottom and decrease will shift it towards top.', 'sassy-social-share' ) ?>
|
1287 |
</div>
|
1288 |
</td>
|
1289 |
</tr>
|
@@ -1295,17 +1295,17 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
1295 |
</th>
|
1296 |
<td>
|
1297 |
<input id="heateor_sss_vertical_home" name="heateor_sss[vertical_home]" type="checkbox" <?php echo isset( $options['vertical_home'] ) ? 'checked = "checked"' : '';?> value="1" />
|
1298 |
-
<label for="heateor_sss_vertical_home"><?php _e('Homepage', 'sassy-social-share' ) ?></label><br/>
|
1299 |
<input id="heateor_sss_vertical_post" name="heateor_sss[vertical_post]" type="checkbox" <?php echo isset( $options['vertical_post'] ) ? 'checked = "checked"' : '';?> value="1" />
|
1300 |
-
<label for="heateor_sss_vertical_post"><?php _e('Posts', 'sassy-social-share' ) ?></label><br/>
|
1301 |
<input id="heateor_sss_vertical_page" name="heateor_sss[vertical_page]" type="checkbox" <?php echo isset( $options['vertical_page'] ) ? 'checked = "checked"' : '';?> value="1" />
|
1302 |
-
<label for="heateor_sss_vertical_page"><?php _e('Pages', 'sassy-social-share' ) ?></label><br/>
|
1303 |
<input id="heateor_sss_vertical_excerpt" name="heateor_sss[vertical_excerpt]" type="checkbox" <?php echo isset( $options['vertical_excerpt'] ) ? 'checked = "checked"' : '';?> value="1" />
|
1304 |
-
<label for="heateor_sss_vertical_excerpt"><?php _e('Excerpts (at Homepage)', 'sassy-social-share' ) ?></label><br/>
|
1305 |
<input id="heateor_sss_vertical_category" name="heateor_sss[vertical_category]" type="checkbox" <?php echo isset( $options['vertical_category'] ) ? 'checked = "checked"' : '';?> value="1" />
|
1306 |
-
<label for="heateor_sss_vertical_category"><?php _e('Category Archives', 'sassy-social-share' ) ?></label><br/>
|
1307 |
<input id="heateor_sss_vertical_archive" name="heateor_sss[vertical_archive]" type="checkbox" <?php echo isset( $options['vertical_archive'] ) ? 'checked = "checked"' : '';?> value="1" />
|
1308 |
-
<label for="heateor_sss_vertical_archive"><?php _e('Archive Pages (Category, Tag, Author or Date based pages)', 'sassy-social-share' ) ?></label><br/>
|
1309 |
<?php
|
1310 |
if( count( $post_types ) ) {
|
1311 |
foreach ( $post_types as $post_type ) {
|
@@ -1319,7 +1319,7 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
1319 |
if($this->is_bp_active){
|
1320 |
?>
|
1321 |
<input id="heateor_sss_vertical_bp_group" name="heateor_sss[vertical_bp_group]" type="checkbox" <?php echo isset( $options['vertical_bp_group'] ) ? 'checked = "checked"' : '';?> value="1" />
|
1322 |
-
<label for="heateor_sss_vertical_bp_group"><?php _e('BuddyPress group', 'sassy-social-share' ) ?></label><br/>
|
1323 |
<?php
|
1324 |
}
|
1325 |
|
@@ -1327,10 +1327,10 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
1327 |
?>
|
1328 |
<br/>
|
1329 |
<input id="heateor_sss_vertical_bb_forum" name="heateor_sss[vertical_bb_forum]" type="checkbox" <?php echo isset( $options['vertical_bb_forum'] ) ? 'checked = "checked"' : '';?> value="1" />
|
1330 |
-
<label for="heateor_sss_vertical_bb_forum"><?php _e('BBPress forum', 'sassy-social-share' ) ?></label>
|
1331 |
<br/>
|
1332 |
<input id="heateor_sss_vertical_bb_topic" name="heateor_sss[vertical_bb_topic]" type="checkbox" <?php echo isset( $options['vertical_bb_topic'] ) ? 'checked = "checked"' : '';?> value="1" />
|
1333 |
-
<label for="heateor_sss_vertical_bb_topic"><?php _e('BBPress topic', 'sassy-social-share' ) ?></label>
|
1334 |
<?php
|
1335 |
}
|
1336 |
?>
|
@@ -1340,7 +1340,7 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
1340 |
<tr class="heateor_sss_help_content" id="heateor_sss_vertical_location_help_cont">
|
1341 |
<td colspan="2">
|
1342 |
<div>
|
1343 |
-
<?php _e('Specify the pages where you want to enable vertical Sharing interface', 'sassy-social-share' ) ?>
|
1344 |
</div>
|
1345 |
</td>
|
1346 |
</tr>
|
@@ -1360,7 +1360,7 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
1360 |
<tr class="heateor_sss_help_content" id="heateor_sss_vertical_count_help_cont">
|
1361 |
<td colspan="2">
|
1362 |
<div>
|
1363 |
-
<?php _e('If enabled, share counts are displayed above sharing icons.', 'sassy-social-share' ) ?>
|
1364 |
<img width="550" src="<?php echo plugins_url('../../images/snaps/sss_vertical_sharing_count.png', __FILE__); ?>" />
|
1365 |
</div>
|
1366 |
</td>
|
@@ -1393,7 +1393,7 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
1393 |
<tr class="heateor_sss_help_content" id="heateor_sss_total_vertical_shares_help_cont">
|
1394 |
<td colspan="2">
|
1395 |
<div>
|
1396 |
-
<?php _e('If enabled, total shares will be displayed with sharing icons', 'sassy-social-share' ) ?>
|
1397 |
<img width="550" src="<?php echo plugins_url('../../images/snaps/sss_vertical_total_shares.png', __FILE__); ?>" />
|
1398 |
</div>
|
1399 |
</td>
|
@@ -1412,7 +1412,7 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
1412 |
<tr class="heateor_sss_help_content" id="heateor_sss_vmore_help_cont">
|
1413 |
<td colspan="2">
|
1414 |
<div>
|
1415 |
-
<?php _e('If enabled, "More" icon will be displayed after selected sharing icons which shows additional sharing networks in popup', 'sassy-social-share' ) ?>
|
1416 |
</div>
|
1417 |
</td>
|
1418 |
</tr>
|
@@ -1430,7 +1430,7 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
1430 |
<tr class="heateor_sss_help_content" id="heateor_sss_mobile_sharing_help_cont">
|
1431 |
<td colspan="2">
|
1432 |
<div>
|
1433 |
-
<?php _e('Display vertical interface only when screen is wider than the width specified.', 'sassy-social-share' ) ?>
|
1434 |
</div>
|
1435 |
</td>
|
1436 |
</tr>
|
@@ -1448,7 +1448,7 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
1448 |
<tr class="heateor_sss_help_content" id="heateor_sss_mobile_sharing_bottom_help_cont">
|
1449 |
<td colspan="2">
|
1450 |
<div>
|
1451 |
-
<?php _e('Stick vertical floating interface horizontally at bottom only when screen is narrower than the width specified', 'sassy-social-share' ) ?>
|
1452 |
<img src="<?php echo plugins_url('../../images/snaps/sss_mobile_sharing.png', __FILE__); ?>" />
|
1453 |
</div>
|
1454 |
</td>
|
@@ -1468,7 +1468,7 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
1468 |
<tr class="heateor_sss_help_content" id="heateor_sss_mobile_sharing_position_help_cont">
|
1469 |
<td colspan="2">
|
1470 |
<div>
|
1471 |
-
<?php _e('Alignment of horizontal floating interface. Number can be negative too.', 'sassy-social-share' ) ?>
|
1472 |
</div>
|
1473 |
</td>
|
1474 |
</tr>
|
@@ -1521,7 +1521,7 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
1521 |
<tr class="heateor_sss_help_content" id="heateor_sss_delete_options_help_cont">
|
1522 |
<td colspan="2">
|
1523 |
<div>
|
1524 |
-
<?php _e('If enabled, plugin options will get deleted when plugin is deleted/uninstalled and you will need to reconfigure the options when you install the plugin next time.', 'sassy-social-share' ) ?>
|
1525 |
</div>
|
1526 |
</td>
|
1527 |
</tr>
|
@@ -1530,7 +1530,7 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
1530 |
</div>
|
1531 |
|
1532 |
<div class="stuffbox">
|
1533 |
-
<h3><label><?php _e('Url shortener', 'sassy-social-share' );?></label></h3>
|
1534 |
<div class="inside">
|
1535 |
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="form-table editcomment menu_content_table">
|
1536 |
<tr>
|
@@ -1546,7 +1546,7 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
1546 |
<tr class="heateor_sss_help_content" id="heateor_sss_surl_enable_help_cont">
|
1547 |
<td colspan="2">
|
1548 |
<div>
|
1549 |
-
<?php _e('Allows for shortened URLs to be used when sharing content if a shortening plugin is installed', 'sassy-social-share' ) ?>
|
1550 |
</div>
|
1551 |
</td>
|
1552 |
</tr>
|
@@ -1564,7 +1564,7 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
1564 |
<tr class="heateor_sss_help_content" id="heateor_sss_bitly_enable_help_cont">
|
1565 |
<td colspan="2">
|
1566 |
<div>
|
1567 |
-
<?php _e('Master control to enable bit.ly url shortening for sharing', 'sassy-social-share' ) ?>
|
1568 |
</div>
|
1569 |
</td>
|
1570 |
</tr>
|
@@ -1582,7 +1582,7 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
1582 |
<tr class="heateor_sss_help_content" id="heateor_sss_bitly_login_help_cont">
|
1583 |
<td colspan="2">
|
1584 |
<div>
|
1585 |
-
<?php echo sprintf(__('Login to your bit.ly account and navigate to <a href="%s" target="_blank">this link</a> to get bit.ly username', 'sassy-social-share' ), 'https://bitly.com/a/your_api_key') ?>
|
1586 |
<img width="550" src="<?php echo plugins_url('../../images/snaps/sss_bitly_username.png', __FILE__); ?>" />
|
1587 |
</div>
|
1588 |
</td>
|
@@ -1601,7 +1601,7 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
1601 |
<tr class="heateor_sss_help_content" id="heateor_sss_bitly_key_help_cont">
|
1602 |
<td colspan="2">
|
1603 |
<div>
|
1604 |
-
<?php echo sprintf(__('Login to your bit.ly account and navigate to <a href="%s" target="_blank">this link</a> to get your API key', 'sassy-social-share' ), 'https://bitly.com/a/your_api_key') ?>
|
1605 |
<img width="550" src="<?php echo plugins_url('../../images/snaps/sss_bitly_apikey.png', __FILE__); ?>" />
|
1606 |
</div>
|
1607 |
</td>
|
@@ -1611,7 +1611,7 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
1611 |
</div>
|
1612 |
|
1613 |
<div class="stuffbox">
|
1614 |
-
<h3><label><?php _e('Language', 'sassy-social-share' );?></label></h3>
|
1615 |
<div class="inside">
|
1616 |
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="form-table editcomment menu_content_table">
|
1617 |
<tr>
|
@@ -1627,7 +1627,7 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
1627 |
<tr class="heateor_sss_help_content" id="heateor_sss_sc_language_help_cont">
|
1628 |
<td colspan="2">
|
1629 |
<div>
|
1630 |
-
<?php echo sprintf(__('Enter the code of the language you want to use for like buttons. You can find the language codes at <a href="%s" target="_blank">this link</a>. Leave it empty for default language(English)', 'sassy-social-share' ), '//www.facebook.com/translations/FacebookLocales.xml') ?>
|
1631 |
</div>
|
1632 |
</td>
|
1633 |
</tr>
|
@@ -1636,7 +1636,7 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
1636 |
</div>
|
1637 |
|
1638 |
<div class="stuffbox">
|
1639 |
-
<h3><label><?php _e('Username in sharing', 'sassy-social-share' );?></label></h3>
|
1640 |
<div class="inside">
|
1641 |
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="form-table editcomment menu_content_table">
|
1642 |
<tr>
|
@@ -1652,7 +1652,7 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
1652 |
<tr class="heateor_sss_help_content" id="heateor_sss_twitter_username_help_cont">
|
1653 |
<td colspan="2">
|
1654 |
<div>
|
1655 |
-
<?php _e('Provided username will be appended after the content being shared as "via @USERNAME". Leave empty if you do not want any username in the content being shared.', 'sassy-social-share' ) ?>
|
1656 |
<br/><img width="550" src="<?php echo plugins_url('../../images/snaps/sss_twitter_username.png', __FILE__); ?>" />
|
1657 |
</div>
|
1658 |
</td>
|
@@ -1671,7 +1671,7 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
1671 |
<tr class="heateor_sss_help_content" id="heateor_sss_buffer_username_help_cont">
|
1672 |
<td colspan="2">
|
1673 |
<div>
|
1674 |
-
<?php _e('Provided username will be appended after the content being shared as "via @USERNAME". Leave empty if you do not want any username in the content being shared.', 'sassy-social-share' ) ?>
|
1675 |
</div>
|
1676 |
</td>
|
1677 |
</tr>
|
@@ -1680,7 +1680,7 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
1680 |
</div>
|
1681 |
|
1682 |
<div class="stuffbox">
|
1683 |
-
<h3><label><?php _e('Custom CSS', 'sassy-social-share' );?></label></h3>
|
1684 |
<div class="inside">
|
1685 |
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="form-table editcomment menu_content_table">
|
1686 |
<tr>
|
@@ -1696,7 +1696,7 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
1696 |
<tr class="heateor_sss_help_content" id="heateor_sss_custom_css_help_cont">
|
1697 |
<td colspan="2">
|
1698 |
<div>
|
1699 |
-
<?php _e('You can specify any additional CSS rules (without <style> tag)', 'sassy-social-share' ) ?>
|
1700 |
</div>
|
1701 |
</td>
|
1702 |
</tr>
|
@@ -1711,9 +1711,9 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
1711 |
<div class="menu_containt_div" id="tabs-5">
|
1712 |
<div class="heateor_sss_left_column">
|
1713 |
<div class="stuffbox">
|
1714 |
-
<h3><label><?php _e('Shortcode & Widget', 'sassy-social-share' );?></label></h3>
|
1715 |
<div class="inside">
|
1716 |
-
<p><a style="text-decoration:none" href="http://support.heateor.com/sassy-social-share-shortcode-and-widget" target="_blank"><?php _e('Shortcode & Widget', 'sassy-social-share' ) ?></a></p>
|
1717 |
</div>
|
1718 |
</div>
|
1719 |
</div>
|
@@ -1723,12 +1723,12 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
1723 |
<div class="menu_containt_div" id="tabs-6">
|
1724 |
<div class="heateor_sss_left_column">
|
1725 |
<div class="stuffbox">
|
1726 |
-
<h3><label><?php _e('Facebook Sharing Troubleshooter', 'sassy-social-share' );?></label></h3>
|
1727 |
<div class="inside">
|
1728 |
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="form-table editcomment menu_content_table">
|
1729 |
<tr>
|
1730 |
<td>
|
1731 |
-
<?php _e('If Facebook sharing is not working fine, click at the following link and enter the problematic url (where Facebook sharing is not working properly) of your website in the text field:', 'sassy-social-share' ) ?><br/>
|
1732 |
<a style="text-decoration: none" target="_blank" href="https://developers.facebook.com/tools/debug/">https://developers.facebook.com/tools/debug/</a>
|
1733 |
</td>
|
1734 |
</tr>
|
@@ -1742,16 +1742,16 @@ defined('ABSPATH') or die("Cheating........Uh!!");
|
|
1742 |
<div class="menu_containt_div" id="tabs-7">
|
1743 |
<div class="heateor_sss_left_column">
|
1744 |
<div class="stuffbox">
|
1745 |
-
<h3><label><?php _e('FAQ', 'sassy-social-share' ) ?></label></h3>
|
1746 |
<div class="inside faq">
|
1747 |
-
<p><a href="http://support.heateor.com/how-can-i-show-share-counts-of-my-website-rather-than-of-individual-pagepost/" target="_blank"><?php _e('How can I show share counts of my website rather than of individual pages/posts?', 'sassy-social-share' ) ?></a></p>
|
1748 |
-
<p><a href="http://support.heateor.com/how-can-i-disable-social-sharing-on-particular-pagepost/" target="_blank"><?php _e('How can I disable sharing on particular page/post?', 'sassy-social-share' ) ?></a></p>
|
1749 |
-
<p><a href="http://support.heateor.com/how-can-i-specify-minimum-sharing-count-for-sharing-networks/" target="_blank"><?php _e('How can I specify minimum sharing count for sharing networks?', 'sassy-social-share' ) ?></a></p>
|
1750 |
-
<p><a href="http://support.heateor.com/how-to-share-specific-page/" target="_blank"><?php _e('How to share specific page?', 'sassy-social-share' ) ?></a></p>
|
1751 |
-
<p><a href="http://support.heateor.com/how-to-integrate-google-analytics-with-sharing" target="_blank"><?php _e('How to integrate Google Analytics with sharing?', 'sassy-social-share' ) ?></a></p>
|
1752 |
-
<p><a href="http://support.heateor.com/how-to-customize-the-look-of-total-share-counts" target="_blank"><?php _e('How to customize the look of total share counts?', 'sassy-social-share' ) ?></a></p>
|
1753 |
-
<p><a href="http://support.heateor.com/how-to-customize-the-look-of-individual-share-counts" target="_blank"><?php _e('How to customize the look of individual share counts?', 'sassy-social-share' ) ?></a></p>
|
1754 |
-
<p><a href="http://support.heateor.com/how-to-show-whatsapp-icon-only-on-mobile-devices" target="_blank"><?php _e('How to show Whatsapp icon only on mobile devices?', 'sassy-social-share' ) ?></a></p>
|
1755 |
</div>
|
1756 |
</div>
|
1757 |
|
16 |
<?php settings_fields( 'heateor_sss_options' ); ?>
|
17 |
<h2 class="nav-tab-wrapper" style="height:34px">
|
18 |
<ul>
|
19 |
+
<li style="margin-left:9px"><a style="margin:0; height:23px" class="nav-tab" href="#tabs-1"><?php _e( 'Theme Selection', 'sassy-social-share' ) ?></a></li>
|
20 |
+
<li style="margin-left:9px"><a style="margin:0; height:23px" class="nav-tab" href="#tabs-2"><?php _e( 'Standard Interface', 'sassy-social-share' ) ?></a></li>
|
21 |
+
<li style="margin-left:9px"><a style="margin:0; height:23px" class="nav-tab" href="#tabs-3"><?php _e( 'Floating Interface', 'sassy-social-share' ) ?></a></li>
|
22 |
+
<li style="margin-left:9px"><a style="margin:0; height:23px" class="nav-tab" href="#tabs-4"><?php _e( 'Miscellaneous', 'sassy-social-share' ) ?></a></li>
|
23 |
+
<li style="margin-left:9px"><a style="margin:0; height:23px" class="nav-tab" href="#tabs-5"><?php _e( 'Shortcode & Widget', 'sassy-social-share' ) ?></a></li>
|
24 |
+
<li style="margin-left:9px"><a style="margin:0; height:23px" class="nav-tab" href="#tabs-6"><?php _e( 'Troubleshooter', 'sassy-social-share' ) ?></a></li>
|
25 |
+
<li style="margin-left:9px"><a style="margin:0; height:23px" class="nav-tab" href="#tabs-7"><?php _e( 'FAQ', 'sassy-social-share' ) ?></a></li>
|
26 |
</ul>
|
27 |
</h2>
|
28 |
|
29 |
<div class="menu_containt_div" id="tabs-1">
|
30 |
<div class="heateor_sss_left_column">
|
31 |
<div class="stuffbox">
|
32 |
+
<h3><label><?php _e( 'Standard interface theme', 'sassy-social-share' );?></label></h3>
|
33 |
<div class="inside">
|
34 |
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="form-table editcomment menu_content_table">
|
35 |
<tr>
|
106 |
|
107 |
<tr>
|
108 |
<td colspan="2">
|
109 |
+
<div id="heateor_sss_preview_message" style="color:green;display:none;margin-top:36px"><?php _e( 'Do not forget to save the configuration after making changes by clicking the save button below', 'sassy-social-share' ); ?></div>
|
110 |
</td>
|
111 |
</tr>
|
112 |
|
128 |
<tr class="heateor_sss_help_content" id="heateor_sss_icon_shape_help_cont">
|
129 |
<td colspan="2">
|
130 |
<div>
|
131 |
+
<?php _e( 'Shape of the sharing icons', 'sassy-social-share' ) ?>
|
132 |
</div>
|
133 |
</td>
|
134 |
</tr>
|
153 |
<tr class="heateor_sss_help_content" id="heateor_sss_icon_size_help_cont">
|
154 |
<td colspan="2">
|
155 |
<div>
|
156 |
+
<?php _e( 'Size of the sharing icons', 'sassy-social-share' ) ?>
|
157 |
</div>
|
158 |
</td>
|
159 |
</tr>
|
179 |
<tr class="heateor_sss_help_content" id="heateor_sss_icon_width_help_cont">
|
180 |
<td colspan="2">
|
181 |
<div>
|
182 |
+
<?php _e( 'Width of the sharing icons', 'sassy-social-share' ) ?>
|
183 |
</div>
|
184 |
</td>
|
185 |
</tr>
|
203 |
<tr class="heateor_sss_help_content" id="heateor_sss_icon_height_help_cont">
|
204 |
<td colspan="2">
|
205 |
<div>
|
206 |
+
<?php _e( 'Height of the sharing icons', 'sassy-social-share' ) ?>
|
207 |
</div>
|
208 |
</td>
|
209 |
</tr>
|
223 |
<tr class="heateor_sss_help_content" id="heateor_sss_icon_border_radius_help_cont">
|
224 |
<td colspan="2">
|
225 |
<div>
|
226 |
+
<?php _e( 'Specify a value for rounded corners. More the value, more rounded will the corners be. Leave empty for sharp corners.', 'sassy-social-share' ) ?>
|
227 |
</div>
|
228 |
</td>
|
229 |
</tr>
|
246 |
<tr class="heateor_sss_help_content" id="heateor_sss_font_color_help_cont">
|
247 |
<td colspan="2">
|
248 |
<div>
|
249 |
+
<?php _e( 'Specify the color or hex code (example #cc78e0) for the logo of icon. Leave empty for default. You can get the hex code of the required color from <a href="http://www.colorpicker.com/" target="_blank">this link</a>', 'sassy-social-share' ) ?>
|
250 |
</div>
|
251 |
</td>
|
252 |
</tr>
|
265 |
<tr class="heateor_sss_help_content" id="heateor_sss_bg_color_help_cont">
|
266 |
<td colspan="2">
|
267 |
<div>
|
268 |
+
<?php _e( 'Specify the color or hex code (example #cc78e0) for icon background. Save "transparent" for transparent background. Leave empty for default. You can get the hex code of the required color from <a href="http://www.colorpicker.com/" target="_blank">this link</a>', 'sassy-social-share' ) ?>
|
269 |
</div>
|
270 |
</td>
|
271 |
</tr>
|
292 |
<tr class="heateor_sss_help_content" id="heateor_sss_border_help_cont">
|
293 |
<td colspan="2">
|
294 |
<div>
|
295 |
+
<?php _e( 'Icon border', 'sassy-social-share' ) ?>
|
296 |
</div>
|
297 |
</td>
|
298 |
</tr>
|
326 |
<tr class="heateor_sss_help_content" id="heateor_sss_counter_help_cont">
|
327 |
<td colspan="2">
|
328 |
<div>
|
329 |
+
<?php _e( 'Position of share counter', 'sassy-social-share' ) ?>
|
330 |
</div>
|
331 |
</td>
|
332 |
</tr>
|
336 |
</div>
|
337 |
|
338 |
<div class="stuffbox">
|
339 |
+
<h3><label><?php _e( 'Floating interface theme', 'sassy-social-share' );?></label></h3>
|
340 |
<div class="inside">
|
341 |
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="form-table editcomment menu_content_table">
|
342 |
<tr>
|
414 |
|
415 |
<tr>
|
416 |
<td colspan="2">
|
417 |
+
<div id="heateor_sss_vertical_preview_message" style="color:green;display:none"><?php _e( 'Do not forget to save the configuration after making changes by clicking the save button below', 'sassy-social-share' ); ?></div>
|
418 |
</td>
|
419 |
</tr>
|
420 |
|
436 |
<tr class="heateor_sss_help_content" id="heateor_sss_vertical_sharing_icon_shape_help_cont">
|
437 |
<td colspan="2">
|
438 |
<div>
|
439 |
+
<?php _e( 'Shape of the sharing icons', 'sassy-social-share' ) ?>
|
440 |
</div>
|
441 |
</td>
|
442 |
</tr>
|
461 |
<tr class="heateor_sss_help_content" id="heateor_sss_vertical_sharing_icon_size_help_cont">
|
462 |
<td colspan="2">
|
463 |
<div>
|
464 |
+
<?php _e( 'Size of the sharing icons', 'sassy-social-share' ) ?>
|
465 |
</div>
|
466 |
</td>
|
467 |
</tr>
|
487 |
<tr class="heateor_sss_help_content" id="heateor_sss_vertical_icon_width_help_cont">
|
488 |
<td colspan="2">
|
489 |
<div>
|
490 |
+
<?php _e( 'Width of the sharing icons', 'sassy-social-share' ) ?>
|
491 |
</div>
|
492 |
</td>
|
493 |
</tr>
|
511 |
<tr class="heateor_sss_help_content" id="heateor_sss_vertical_icon_height_help_cont">
|
512 |
<td colspan="2">
|
513 |
<div>
|
514 |
+
<?php _e( 'Height of the sharing icons', 'sassy-social-share' ) ?>
|
515 |
</div>
|
516 |
</td>
|
517 |
</tr>
|
531 |
<tr class="heateor_sss_help_content" id="heateor_sss_vertical_icon_border_radius_help_cont">
|
532 |
<td colspan="2">
|
533 |
<div>
|
534 |
+
<?php _e( 'Specify a value for rounded corners. More the value, more rounded will the corners be. Leave empty for sharp corners.', 'sassy-social-share' ) ?>
|
535 |
</div>
|
536 |
</td>
|
537 |
</tr>
|
554 |
<tr class="heateor_sss_help_content" id="heateor_sss_vertical_font_color_help_cont">
|
555 |
<td colspan="2">
|
556 |
<div>
|
557 |
+
<?php _e( 'Specify the color or hex code (example #cc78e0) for the logo of icon. Leave empty for default. You can get the hex code of the required color from <a href="http://www.colorpicker.com/" target="_blank">this link</a>', 'sassy-social-share' ) ?>
|
558 |
</div>
|
559 |
</td>
|
560 |
</tr>
|
573 |
<tr class="heateor_sss_help_content" id="heateor_sss_vertical_icon_bg_color_help_cont">
|
574 |
<td colspan="2">
|
575 |
<div>
|
576 |
+
<?php _e( 'Specify the color or hex code (example #cc78e0) for icon background. Save "transparent" for transparent background. Leave empty for default. You can get the hex code of the required color from <a href="http://www.colorpicker.com/" target="_blank">this link</a>', 'sassy-social-share' ) ?>
|
577 |
</div>
|
578 |
</td>
|
579 |
</tr>
|
599 |
<tr class="heateor_sss_help_content" id="heateor_sss_vertical_border_help_cont">
|
600 |
<td colspan="2">
|
601 |
<div>
|
602 |
+
<?php _e( 'Icon border', 'sassy-social-share' ) ?>
|
603 |
</div>
|
604 |
</td>
|
605 |
</tr>
|
633 |
<tr class="heateor_sss_help_content" id="heateor_sss_vertical_counter_help_cont">
|
634 |
<td colspan="2">
|
635 |
<div>
|
636 |
+
<?php _e( 'Position of share counter', 'sassy-social-share' ) ?>
|
637 |
</div>
|
638 |
</td>
|
639 |
</tr>
|
648 |
<div class="heateor_sss_left_column">
|
649 |
|
650 |
<div class="stuffbox">
|
651 |
+
<h3><label><?php _e( 'Standard Sharing Interface Options', 'sassy-social-share' );?></label></h3>
|
652 |
<div class="inside">
|
653 |
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="form-table editcomment menu_content_table">
|
654 |
<tr>
|
664 |
<tr class="heateor_sss_help_content" id="heateor_sss_horizontal_enable_help_cont">
|
665 |
<td colspan="2">
|
666 |
<div>
|
667 |
+
<?php _e( 'Master control to enable standard sharing', 'sassy-social-share' ) ?>
|
668 |
<img width="550" src="<?php echo plugins_url('../../images/snaps/sss_horizontal_sharing.png', __FILE__); ?>" />
|
669 |
</div>
|
670 |
</td>
|
678 |
</th>
|
679 |
<td id="heateor_sss_target_url_column">
|
680 |
<input id="heateor_sss_target_url_default" name="heateor_sss[horizontal_target_url]" type="radio" <?php echo !isset( $options['horizontal_target_url'] ) || $options['horizontal_target_url'] == 'default' ? 'checked = "checked"' : '';?> value="default" />
|
681 |
+
<label for="heateor_sss_target_url_default"><?php _e( 'Url of the webpage where icons are located (default)', 'sassy-social-share' ) ?></label><br/>
|
682 |
<input id="heateor_sss_target_url_home" name="heateor_sss[horizontal_target_url]" type="radio" <?php echo isset( $options['horizontal_target_url'] ) && $options['horizontal_target_url'] == 'home' ? 'checked = "checked"' : '';?> value="home" />
|
683 |
+
<label for="heateor_sss_target_url_home"><?php _e( 'Url of the homepage of your website', 'sassy-social-share' ) ?></label><br/>
|
684 |
<input id="heateor_sss_target_url_custom" name="heateor_sss[horizontal_target_url]" type="radio" <?php echo isset( $options['horizontal_target_url'] ) && $options['horizontal_target_url'] == 'custom' ? 'checked = "checked"' : '';?> value="custom" />
|
685 |
+
<label for="heateor_sss_target_url_custom"><?php _e( 'Custom url', 'sassy-social-share' ) ?></label><br/>
|
686 |
<input id="heateor_sss_target_url_custom_url" name="heateor_sss[horizontal_target_url_custom]" type="text" value="<?php echo isset( $options['horizontal_target_url_custom'] ) ? $options['horizontal_target_url_custom'] : '' ?>" />
|
687 |
</td>
|
688 |
</tr>
|
689 |
<tr class="heateor_sss_help_content" id="heateor_sss_horizontal_target_url_help_cont">
|
690 |
<td colspan="2">
|
691 |
<div>
|
692 |
+
<?php _e( 'Url to share', 'sassy-social-share' ) ?>
|
693 |
</div>
|
694 |
</td>
|
695 |
</tr>
|
707 |
<tr class="heateor_sss_help_content" id="heateor_sss_title_help_cont">
|
708 |
<td colspan="2">
|
709 |
<div>
|
710 |
+
<?php _e( 'The text to display above the sharing interface', 'sassy-social-share' ) ?>
|
711 |
</div>
|
712 |
</td>
|
713 |
</tr>
|
778 |
<tr class="heateor_sss_help_content" id="heateor_sss_rearrange_help_cont">
|
779 |
<td colspan="2">
|
780 |
<div>
|
781 |
+
<?php _e( 'Drag the icons to rearrange in desired order', 'sassy-social-share' ) ?>
|
782 |
</div>
|
783 |
</td>
|
784 |
</tr>
|
793 |
<tr class="heateor_sss_help_content" id="heateor_sss_providers_help_cont">
|
794 |
<td colspan="2">
|
795 |
<div>
|
796 |
+
<?php _e( 'Select sharing services to show in social share bar', 'sassy-social-share' ) ?>
|
797 |
</div>
|
798 |
</td>
|
799 |
</tr>
|
832 |
</th>
|
833 |
<td>
|
834 |
<select id="heateor_sss_hor_alignment" name="heateor_sss[hor_sharing_alignment]">
|
835 |
+
<option value="left" <?php echo isset( $options['hor_sharing_alignment'] ) && $options['hor_sharing_alignment'] == 'left' ? 'selected="selected"' : '' ?>><?php _e( 'Left', 'sassy-social-share' ) ?></option>
|
836 |
+
<option value="center" <?php echo isset( $options['hor_sharing_alignment'] ) && $options['hor_sharing_alignment'] == 'center' ? 'selected="selected"' : '' ?>><?php _e( 'Center', 'sassy-social-share' ) ?></option>
|
837 |
+
<option value="right" <?php echo isset( $options['hor_sharing_alignment'] ) && $options['hor_sharing_alignment'] == 'right' ? 'selected="selected"' : '' ?>><?php _e( 'Right', 'sassy-social-share' ) ?></option>
|
838 |
</select>
|
839 |
</td>
|
840 |
</tr>
|
842 |
<tr class="heateor_sss_help_content" id="heateor_sss_hor_alignment_help_cont">
|
843 |
<td colspan="2">
|
844 |
<div>
|
845 |
+
<?php _e( 'Horizontal alignment of the sharing interface', 'sassy-social-share' ) ?>
|
846 |
</div>
|
847 |
</td>
|
848 |
</tr>
|
854 |
</th>
|
855 |
<td>
|
856 |
<input id="heateor_sss_top" name="heateor_sss[top]" type="checkbox" <?php echo isset( $options['top'] ) ? 'checked = "checked"' : '';?> value="1" />
|
857 |
+
<label for="heateor_sss_top"><?php _e( 'Top of the content', 'sassy-social-share' ) ?></label><br/>
|
858 |
<input id="heateor_sss_bottom" name="heateor_sss[bottom]" type="checkbox" <?php echo isset( $options['bottom'] ) ? 'checked = "checked"' : '';?> value="1" />
|
859 |
+
<label for="heateor_sss_bottom"><?php _e( 'Bottom of the content', 'sassy-social-share' ) ?></label>
|
860 |
</td>
|
861 |
</tr>
|
862 |
|
863 |
<tr class="heateor_sss_help_content" id="heateor_sss_position_help_cont">
|
864 |
<td colspan="2">
|
865 |
<div>
|
866 |
+
<?php _e( 'Specify position of the sharing interface with respect to the content', 'sassy-social-share' ) ?>
|
867 |
</div>
|
868 |
</td>
|
869 |
</tr>
|
875 |
</th>
|
876 |
<td>
|
877 |
<input id="heateor_sss_home" name="heateor_sss[home]" type="checkbox" <?php echo isset( $options['home'] ) ? 'checked = "checked"' : '';?> value="1" />
|
878 |
+
<label for="heateor_sss_home"><?php _e( 'Homepage', 'sassy-social-share' ) ?></label><br/>
|
879 |
<input id="heateor_sss_post" name="heateor_sss[post]" type="checkbox" <?php echo isset( $options['post'] ) ? 'checked = "checked"' : '';?> value="1" />
|
880 |
+
<label for="heateor_sss_post"><?php _e( 'Posts', 'sassy-social-share' ) ?></label><br/>
|
881 |
<input id="heateor_sss_page" name="heateor_sss[page]" type="checkbox" <?php echo isset( $options['page'] ) ? 'checked = "checked"' : '';?> value="1" />
|
882 |
+
<label for="heateor_sss_page"><?php _e( 'Pages', 'sassy-social-share' ) ?></label><br/>
|
883 |
<input id="heateor_sss_excerpt" name="heateor_sss[excerpt]" type="checkbox" <?php echo isset( $options['excerpt'] ) ? 'checked = "checked"' : '';?> value="1" />
|
884 |
+
<label for="heateor_sss_excerpt"><?php _e( 'Excerpts (at Homepage)', 'sassy-social-share' ) ?></label><br/>
|
885 |
<input id="heateor_sss_category" name="heateor_sss[category]" type="checkbox" <?php echo isset( $options['category'] ) ? 'checked = "checked"' : '';?> value="1" />
|
886 |
+
<label for="heateor_sss_category"><?php _e( 'Category Archives', 'sassy-social-share' ) ?></label><br/>
|
887 |
<input id="heateor_sss_archive" name="heateor_sss[archive]" type="checkbox" <?php echo isset( $options['archive'] ) ? 'checked = "checked"' : '';?> value="1" />
|
888 |
+
<label for="heateor_sss_archive"><?php _e( 'Archive Pages (Category, Tag, Author or Date based pages)', 'sassy-social-share' ) ?></label><br/>
|
889 |
<?php
|
890 |
$post_types = get_post_types( array( 'public' => true ), 'names', 'and' );
|
891 |
$post_types = array_diff( $post_types, array( 'post', 'page' ) );
|
901 |
if($this->is_bp_active){
|
902 |
?>
|
903 |
<input id="heateor_sss_bp_activity" name="heateor_sss[bp_activity]" type="checkbox" <?php echo isset( $options['bp_activity'] ) ? 'checked = "checked"' : '';?> value="1" />
|
904 |
+
<label for="heateor_sss_bp_activity"><?php _e( 'BuddyPress activity', 'sassy-social-share' ) ?></label><br/>
|
905 |
<input id="heateor_sss_bp_group" name="heateor_sss[bp_group]" type="checkbox" <?php echo isset( $options['bp_group'] ) ? 'checked = "checked"' : '';?> value="1" />
|
906 |
+
<label for="heateor_sss_bp_group"><?php _e( 'BuddyPress group (only at top of content)', 'sassy-social-share' ) ?></label><br/>
|
907 |
<?php
|
908 |
}
|
909 |
if(function_exists('is_bbpress')){
|
910 |
?>
|
911 |
<input id="heateor_sss_bb_forum" name="heateor_sss[bb_forum]" type="checkbox" <?php echo isset( $options['bb_forum'] ) ? 'checked = "checked"' : '';?> value="1" />
|
912 |
+
<label for="heateor_sss_bb_forum"><?php _e( 'BBPress forum', 'sassy-social-share' ) ?></label>
|
913 |
<br/>
|
914 |
<input id="heateor_sss_bb_topic" name="heateor_sss[bb_topic]" type="checkbox" <?php echo isset( $options['bb_topic'] ) ? 'checked = "checked"' : '';?> value="1" />
|
915 |
+
<label for="heateor_sss_bb_topic"><?php _e( 'BBPress topic', 'sassy-social-share' ) ?></label>
|
916 |
<br/>
|
917 |
<input id="heateor_sss_bb_reply" name="heateor_sss[bb_reply]" type="checkbox" <?php echo isset( $options['bb_reply'] ) ? 'checked = "checked"' : '';?> value="1" />
|
918 |
+
<label for="heateor_sss_bb_reply"><?php _e( 'BBPress reply', 'sassy-social-share' ) ?></label>
|
919 |
<br/>
|
920 |
<?php
|
921 |
}
|
922 |
if($this->is_woocommerce_active()){
|
923 |
?>
|
924 |
<input id="heateor_sss_woocom_shop" name="heateor_sss[woocom_shop]" type="checkbox" <?php echo isset( $options['woocom_shop'] ) ? 'checked = "checked"' : '';?> value="1" />
|
925 |
+
<label for="heateor_sss_woocom_shop"><?php _e( 'After individual product at WooCommerce Shop page', 'sassy-social-share' ) ?></label>
|
926 |
<br/>
|
927 |
<input id="heateor_sss_woocom_product" name="heateor_sss[woocom_product]" type="checkbox" <?php echo isset( $options['woocom_product'] ) ? 'checked = "checked"' : '';?> value="1" />
|
928 |
+
<label for="heateor_sss_woocom_product"><?php _e( 'WooCommerce Product Page', 'sassy-social-share' ) ?></label>
|
929 |
<br/>
|
930 |
<input id="heateor_sss_woocom_thankyou" name="heateor_sss[woocom_thankyou]" type="checkbox" <?php echo isset( $options['woocom_thankyou'] ) ? 'checked = "checked"' : '';?> value="1" />
|
931 |
+
<label for="heateor_sss_woocom_thankyou"><?php _e( 'WooCommerce Thankyou Page', 'sassy-social-share' ) ?></label>
|
932 |
<br/>
|
933 |
<?php
|
934 |
}
|
939 |
<tr class="heateor_sss_help_content" id="heateor_sss_location_help_cont">
|
940 |
<td colspan="2">
|
941 |
<div>
|
942 |
+
<?php _e( 'Specify the pages where you want to enable Sharing interface', 'sassy-social-share' ) ?>
|
943 |
</div>
|
944 |
</td>
|
945 |
</tr>
|
959 |
<tr class="heateor_sss_help_content" id="heateor_sss_count_help_cont">
|
960 |
<td colspan="2">
|
961 |
<div>
|
962 |
+
<?php _e( 'If enabled, share counts are displayed above sharing icons.', 'sassy-social-share' ) ?>
|
963 |
<img width="550" src="<?php echo plugins_url('../../images/snaps/sss_share_count.png', __FILE__); ?>" />
|
964 |
</div>
|
965 |
</td>
|
1001 |
<tr class="heateor_sss_help_content" id="heateor_sss_total_hor_shares_help_cont">
|
1002 |
<td colspan="2">
|
1003 |
<div>
|
1004 |
+
<?php _e( 'If enabled, total shares will be displayed with sharing icons', 'sassy-social-share' ) ?>
|
1005 |
<img width="550" src="<?php echo plugins_url('../../images/snaps/sss_horizontal_total_shares.png', __FILE__); ?>" />
|
1006 |
</div>
|
1007 |
</td>
|
1020 |
<tr class="heateor_sss_help_content" id="heateor_sss_hmore_help_cont">
|
1021 |
<td colspan="2">
|
1022 |
<div>
|
1023 |
+
<?php _e( 'If enabled, "More" icon will be displayed after selected sharing icons which shows additional sharing networks in popup', 'sassy-social-share' ) ?>
|
1024 |
</div>
|
1025 |
</td>
|
1026 |
</tr>
|
1036 |
<div class="menu_containt_div" id="tabs-3">
|
1037 |
<div class="heateor_sss_left_column">
|
1038 |
<div class="stuffbox">
|
1039 |
+
<h3><label><?php _e( 'Floating Sharing Interface Options', 'sassy-social-share' );?></label></h3>
|
1040 |
<div class="inside">
|
1041 |
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="form-table editcomment menu_content_table">
|
1042 |
<tr>
|
1052 |
<tr class="heateor_sss_help_content" id="heateor_sss_vertical_enable_help_cont">
|
1053 |
<td colspan="2">
|
1054 |
<div>
|
1055 |
+
<?php _e( 'Master control to enable floating sharing widget', 'sassy-social-share' ) ?>
|
1056 |
<img width="550" src="<?php echo plugins_url('../../images/snaps/sss_vertical_sharing.png', __FILE__); ?>" />
|
1057 |
</div>
|
1058 |
</td>
|
1066 |
</th>
|
1067 |
<td id="heateor_sss_vertical_target_url_column">
|
1068 |
<input id="heateor_sss_vertical_target_url_default" name="heateor_sss[vertical_target_url]" type="radio" <?php echo !isset( $options['vertical_target_url'] ) || $options['vertical_target_url'] == 'default' ? 'checked = "checked"' : '';?> value="default" />
|
1069 |
+
<label for="heateor_sss_vertical_target_url_default"><?php _e( 'Url of the webpage where icons are located (default)', 'sassy-social-share' ) ?></label><br/>
|
1070 |
<input id="heateor_sss_vertical_target_url_home" name="heateor_sss[vertical_target_url]" type="radio" <?php echo isset( $options['vertical_target_url'] ) && $options['vertical_target_url'] == 'home' ? 'checked = "checked"' : '';?> value="home" />
|
1071 |
+
<label for="heateor_sss_vertical_target_url_home"><?php _e( 'Url of the homepage of your website', 'sassy-social-share' ) ?></label><br/>
|
1072 |
<input id="heateor_sss_vertical_target_url_custom" name="heateor_sss[vertical_target_url]" type="radio" <?php echo isset( $options['vertical_target_url'] ) && $options['vertical_target_url'] == 'custom' ? 'checked = "checked"' : '';?> value="custom" />
|
1073 |
+
<label for="heateor_sss_vertical_target_url_custom"><?php _e( 'Custom url', 'sassy-social-share' ) ?></label><br/>
|
1074 |
<input id="heateor_sss_vertical_target_url_custom_url" name="heateor_sss[vertical_target_url_custom]" type="text" value="<?php echo isset( $options['vertical_target_url_custom'] ) ? $options['vertical_target_url_custom'] : '' ?>" />
|
1075 |
</td>
|
1076 |
</tr>
|
1077 |
<tr class="heateor_sss_help_content" id="heateor_sss_vertical_target_url_help_cont">
|
1078 |
<td colspan="2">
|
1079 |
<div>
|
1080 |
+
<?php _e( 'Url to share', 'sassy-social-share' ) ?>
|
1081 |
</div>
|
1082 |
</td>
|
1083 |
</tr>
|
1144 |
<tr class="heateor_sss_help_content" id="heateor_sss_vertical_rearrange_help_cont">
|
1145 |
<td colspan="2">
|
1146 |
<div>
|
1147 |
+
<?php _e( 'Drag the icons to rearrange in desired order', 'sassy-social-share' ) ?>
|
1148 |
</div>
|
1149 |
</td>
|
1150 |
</tr>
|
1159 |
<tr class="heateor_sss_help_content" id="heateor_sss_vertical_providers_help_cont">
|
1160 |
<td colspan="2">
|
1161 |
<div>
|
1162 |
+
<?php _e( 'Select sharing services to show in social share bar', 'sassy-social-share' ) ?>
|
1163 |
</div>
|
1164 |
</td>
|
1165 |
</tr>
|
1204 |
<tr class="heateor_sss_help_content" id="heateor_sss_vertical_bg_color_help_cont">
|
1205 |
<td colspan="2">
|
1206 |
<div>
|
1207 |
+
<?php _e( 'Specify the color or hex code (example #cc78e0) for the background of vertical sharing bar. Leave empty for transparent. You can get the hex code of the required color from <a href="http://www.colorpicker.com/" target="_blank">this link</a>', 'sassy-social-share' ) ?>
|
1208 |
</div>
|
1209 |
</td>
|
1210 |
</tr>
|
1216 |
</th>
|
1217 |
<td>
|
1218 |
<select onchange="heateorSssToggleOffset(this.value)" id="heateor_sss_alignment" name="heateor_sss[alignment]">
|
1219 |
+
<option value="left" <?php echo isset( $options['alignment'] ) && $options['alignment'] == 'left' ? 'selected="selected"' : '' ?>><?php _e( 'Left', 'sassy-social-share' ) ?></option>
|
1220 |
+
<option value="right" <?php echo isset( $options['alignment'] ) && $options['alignment'] == 'right' ? 'selected="selected"' : '' ?>><?php _e( 'Right', 'sassy-social-share' ) ?></option>
|
1221 |
</select>
|
1222 |
</td>
|
1223 |
</tr>
|
1225 |
<tr class="heateor_sss_help_content" id="heateor_sss_alignment_help_cont">
|
1226 |
<td colspan="2">
|
1227 |
<div>
|
1228 |
+
<?php _e( 'Horizontal alignment of the sharing interface', 'sassy-social-share' ) ?>
|
1229 |
</div>
|
1230 |
</td>
|
1231 |
</tr>
|
1244 |
<tr class="heateor_sss_help_content" id="heateor_sss_left_offset_help_cont">
|
1245 |
<td colspan="2">
|
1246 |
<div>
|
1247 |
+
<?php _e( 'Specify a number. Increase in number will shift sharing interface towards right and decrease will shift it towards left. Number can be negative too.', 'sassy-social-share' ) ?>
|
1248 |
</div>
|
1249 |
</td>
|
1250 |
</tr>
|
1264 |
<tr class="heateor_sss_help_content" id="heateor_sss_right_offset_help_cont">
|
1265 |
<td colspan="2">
|
1266 |
<div>
|
1267 |
+
<?php _e( 'Specify a number. Increase in number will shift sharing interface towards left and decrease will shift it towards right. Number can be negative too.', 'sassy-social-share' ) ?>
|
1268 |
</div>
|
1269 |
</td>
|
1270 |
</tr>
|
1283 |
<tr class="heateor_sss_help_content" id="heateor_sss_top_offset_help_cont">
|
1284 |
<td colspan="2">
|
1285 |
<div>
|
1286 |
+
<?php _e( 'Specify a number. Increase in number will shift sharing interface towards bottom and decrease will shift it towards top.', 'sassy-social-share' ) ?>
|
1287 |
</div>
|
1288 |
</td>
|
1289 |
</tr>
|
1295 |
</th>
|
1296 |
<td>
|
1297 |
<input id="heateor_sss_vertical_home" name="heateor_sss[vertical_home]" type="checkbox" <?php echo isset( $options['vertical_home'] ) ? 'checked = "checked"' : '';?> value="1" />
|
1298 |
+
<label for="heateor_sss_vertical_home"><?php _e( 'Homepage', 'sassy-social-share' ) ?></label><br/>
|
1299 |
<input id="heateor_sss_vertical_post" name="heateor_sss[vertical_post]" type="checkbox" <?php echo isset( $options['vertical_post'] ) ? 'checked = "checked"' : '';?> value="1" />
|
1300 |
+
<label for="heateor_sss_vertical_post"><?php _e( 'Posts', 'sassy-social-share' ) ?></label><br/>
|
1301 |
<input id="heateor_sss_vertical_page" name="heateor_sss[vertical_page]" type="checkbox" <?php echo isset( $options['vertical_page'] ) ? 'checked = "checked"' : '';?> value="1" />
|
1302 |
+
<label for="heateor_sss_vertical_page"><?php _e( 'Pages', 'sassy-social-share' ) ?></label><br/>
|
1303 |
<input id="heateor_sss_vertical_excerpt" name="heateor_sss[vertical_excerpt]" type="checkbox" <?php echo isset( $options['vertical_excerpt'] ) ? 'checked = "checked"' : '';?> value="1" />
|
1304 |
+
<label for="heateor_sss_vertical_excerpt"><?php _e( 'Excerpts (at Homepage)', 'sassy-social-share' ) ?></label><br/>
|
1305 |
<input id="heateor_sss_vertical_category" name="heateor_sss[vertical_category]" type="checkbox" <?php echo isset( $options['vertical_category'] ) ? 'checked = "checked"' : '';?> value="1" />
|
1306 |
+
<label for="heateor_sss_vertical_category"><?php _e( 'Category Archives', 'sassy-social-share' ) ?></label><br/>
|
1307 |
<input id="heateor_sss_vertical_archive" name="heateor_sss[vertical_archive]" type="checkbox" <?php echo isset( $options['vertical_archive'] ) ? 'checked = "checked"' : '';?> value="1" />
|
1308 |
+
<label for="heateor_sss_vertical_archive"><?php _e( 'Archive Pages (Category, Tag, Author or Date based pages)', 'sassy-social-share' ) ?></label><br/>
|
1309 |
<?php
|
1310 |
if( count( $post_types ) ) {
|
1311 |
foreach ( $post_types as $post_type ) {
|
1319 |
if($this->is_bp_active){
|
1320 |
?>
|
1321 |
<input id="heateor_sss_vertical_bp_group" name="heateor_sss[vertical_bp_group]" type="checkbox" <?php echo isset( $options['vertical_bp_group'] ) ? 'checked = "checked"' : '';?> value="1" />
|
1322 |
+
<label for="heateor_sss_vertical_bp_group"><?php _e( 'BuddyPress group', 'sassy-social-share' ) ?></label><br/>
|
1323 |
<?php
|
1324 |
}
|
1325 |
|
1327 |
?>
|
1328 |
<br/>
|
1329 |
<input id="heateor_sss_vertical_bb_forum" name="heateor_sss[vertical_bb_forum]" type="checkbox" <?php echo isset( $options['vertical_bb_forum'] ) ? 'checked = "checked"' : '';?> value="1" />
|
1330 |
+
<label for="heateor_sss_vertical_bb_forum"><?php _e( 'BBPress forum', 'sassy-social-share' ) ?></label>
|
1331 |
<br/>
|
1332 |
<input id="heateor_sss_vertical_bb_topic" name="heateor_sss[vertical_bb_topic]" type="checkbox" <?php echo isset( $options['vertical_bb_topic'] ) ? 'checked = "checked"' : '';?> value="1" />
|
1333 |
+
<label for="heateor_sss_vertical_bb_topic"><?php _e( 'BBPress topic', 'sassy-social-share' ) ?></label>
|
1334 |
<?php
|
1335 |
}
|
1336 |
?>
|
1340 |
<tr class="heateor_sss_help_content" id="heateor_sss_vertical_location_help_cont">
|
1341 |
<td colspan="2">
|
1342 |
<div>
|
1343 |
+
<?php _e( 'Specify the pages where you want to enable vertical Sharing interface', 'sassy-social-share' ) ?>
|
1344 |
</div>
|
1345 |
</td>
|
1346 |
</tr>
|
1360 |
<tr class="heateor_sss_help_content" id="heateor_sss_vertical_count_help_cont">
|
1361 |
<td colspan="2">
|
1362 |
<div>
|
1363 |
+
<?php _e( 'If enabled, share counts are displayed above sharing icons.', 'sassy-social-share' ) ?>
|
1364 |
<img width="550" src="<?php echo plugins_url('../../images/snaps/sss_vertical_sharing_count.png', __FILE__); ?>" />
|
1365 |
</div>
|
1366 |
</td>
|
1393 |
<tr class="heateor_sss_help_content" id="heateor_sss_total_vertical_shares_help_cont">
|
1394 |
<td colspan="2">
|
1395 |
<div>
|
1396 |
+
<?php _e( 'If enabled, total shares will be displayed with sharing icons', 'sassy-social-share' ) ?>
|
1397 |
<img width="550" src="<?php echo plugins_url('../../images/snaps/sss_vertical_total_shares.png', __FILE__); ?>" />
|
1398 |
</div>
|
1399 |
</td>
|
1412 |
<tr class="heateor_sss_help_content" id="heateor_sss_vmore_help_cont">
|
1413 |
<td colspan="2">
|
1414 |
<div>
|
1415 |
+
<?php _e( 'If enabled, "More" icon will be displayed after selected sharing icons which shows additional sharing networks in popup', 'sassy-social-share' ) ?>
|
1416 |
</div>
|
1417 |
</td>
|
1418 |
</tr>
|
1430 |
<tr class="heateor_sss_help_content" id="heateor_sss_mobile_sharing_help_cont">
|
1431 |
<td colspan="2">
|
1432 |
<div>
|
1433 |
+
<?php _e( 'Display vertical interface only when screen is wider than the width specified.', 'sassy-social-share' ) ?>
|
1434 |
</div>
|
1435 |
</td>
|
1436 |
</tr>
|
1448 |
<tr class="heateor_sss_help_content" id="heateor_sss_mobile_sharing_bottom_help_cont">
|
1449 |
<td colspan="2">
|
1450 |
<div>
|
1451 |
+
<?php _e( 'Stick vertical floating interface horizontally at bottom only when screen is narrower than the width specified', 'sassy-social-share' ) ?>
|
1452 |
<img src="<?php echo plugins_url('../../images/snaps/sss_mobile_sharing.png', __FILE__); ?>" />
|
1453 |
</div>
|
1454 |
</td>
|
1468 |
<tr class="heateor_sss_help_content" id="heateor_sss_mobile_sharing_position_help_cont">
|
1469 |
<td colspan="2">
|
1470 |
<div>
|
1471 |
+
<?php _e( 'Alignment of horizontal floating interface. Number can be negative too.', 'sassy-social-share' ) ?>
|
1472 |
</div>
|
1473 |
</td>
|
1474 |
</tr>
|
1521 |
<tr class="heateor_sss_help_content" id="heateor_sss_delete_options_help_cont">
|
1522 |
<td colspan="2">
|
1523 |
<div>
|
1524 |
+
<?php _e( 'If enabled, plugin options will get deleted when plugin is deleted/uninstalled and you will need to reconfigure the options when you install the plugin next time.', 'sassy-social-share' ) ?>
|
1525 |
</div>
|
1526 |
</td>
|
1527 |
</tr>
|
1530 |
</div>
|
1531 |
|
1532 |
<div class="stuffbox">
|
1533 |
+
<h3><label><?php _e( 'Url shortener', 'sassy-social-share' );?></label></h3>
|
1534 |
<div class="inside">
|
1535 |
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="form-table editcomment menu_content_table">
|
1536 |
<tr>
|
1546 |
<tr class="heateor_sss_help_content" id="heateor_sss_surl_enable_help_cont">
|
1547 |
<td colspan="2">
|
1548 |
<div>
|
1549 |
+
<?php _e( 'Allows for shortened URLs to be used when sharing content if a shortening plugin is installed', 'sassy-social-share' ) ?>
|
1550 |
</div>
|
1551 |
</td>
|
1552 |
</tr>
|
1564 |
<tr class="heateor_sss_help_content" id="heateor_sss_bitly_enable_help_cont">
|
1565 |
<td colspan="2">
|
1566 |
<div>
|
1567 |
+
<?php _e( 'Master control to enable bit.ly url shortening for sharing', 'sassy-social-share' ) ?>
|
1568 |
</div>
|
1569 |
</td>
|
1570 |
</tr>
|
1582 |
<tr class="heateor_sss_help_content" id="heateor_sss_bitly_login_help_cont">
|
1583 |
<td colspan="2">
|
1584 |
<div>
|
1585 |
+
<?php echo sprintf(__( 'Login to your bit.ly account and navigate to <a href="%s" target="_blank">this link</a> to get bit.ly username', 'sassy-social-share' ), 'https://bitly.com/a/your_api_key') ?>
|
1586 |
<img width="550" src="<?php echo plugins_url('../../images/snaps/sss_bitly_username.png', __FILE__); ?>" />
|
1587 |
</div>
|
1588 |
</td>
|
1601 |
<tr class="heateor_sss_help_content" id="heateor_sss_bitly_key_help_cont">
|
1602 |
<td colspan="2">
|
1603 |
<div>
|
1604 |
+
<?php echo sprintf(__( 'Login to your bit.ly account and navigate to <a href="%s" target="_blank">this link</a> to get your API key', 'sassy-social-share' ), 'https://bitly.com/a/your_api_key') ?>
|
1605 |
<img width="550" src="<?php echo plugins_url('../../images/snaps/sss_bitly_apikey.png', __FILE__); ?>" />
|
1606 |
</div>
|
1607 |
</td>
|
1611 |
</div>
|
1612 |
|
1613 |
<div class="stuffbox">
|
1614 |
+
<h3><label><?php _e( 'Language', 'sassy-social-share' );?></label></h3>
|
1615 |
<div class="inside">
|
1616 |
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="form-table editcomment menu_content_table">
|
1617 |
<tr>
|
1627 |
<tr class="heateor_sss_help_content" id="heateor_sss_sc_language_help_cont">
|
1628 |
<td colspan="2">
|
1629 |
<div>
|
1630 |
+
<?php echo sprintf(__( 'Enter the code of the language you want to use for like buttons. You can find the language codes at <a href="%s" target="_blank">this link</a>. Leave it empty for default language(English)', 'sassy-social-share' ), '//www.facebook.com/translations/FacebookLocales.xml') ?>
|
1631 |
</div>
|
1632 |
</td>
|
1633 |
</tr>
|
1636 |
</div>
|
1637 |
|
1638 |
<div class="stuffbox">
|
1639 |
+
<h3><label><?php _e( 'Username in sharing', 'sassy-social-share' );?></label></h3>
|
1640 |
<div class="inside">
|
1641 |
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="form-table editcomment menu_content_table">
|
1642 |
<tr>
|
1652 |
<tr class="heateor_sss_help_content" id="heateor_sss_twitter_username_help_cont">
|
1653 |
<td colspan="2">
|
1654 |
<div>
|
1655 |
+
<?php _e( 'Provided username will be appended after the content being shared as "via @USERNAME". Leave empty if you do not want any username in the content being shared.', 'sassy-social-share' ) ?>
|
1656 |
<br/><img width="550" src="<?php echo plugins_url('../../images/snaps/sss_twitter_username.png', __FILE__); ?>" />
|
1657 |
</div>
|
1658 |
</td>
|
1671 |
<tr class="heateor_sss_help_content" id="heateor_sss_buffer_username_help_cont">
|
1672 |
<td colspan="2">
|
1673 |
<div>
|
1674 |
+
<?php _e( 'Provided username will be appended after the content being shared as "via @USERNAME". Leave empty if you do not want any username in the content being shared.', 'sassy-social-share' ) ?>
|
1675 |
</div>
|
1676 |
</td>
|
1677 |
</tr>
|
1680 |
</div>
|
1681 |
|
1682 |
<div class="stuffbox">
|
1683 |
+
<h3><label><?php _e( 'Custom CSS', 'sassy-social-share' );?></label></h3>
|
1684 |
<div class="inside">
|
1685 |
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="form-table editcomment menu_content_table">
|
1686 |
<tr>
|
1696 |
<tr class="heateor_sss_help_content" id="heateor_sss_custom_css_help_cont">
|
1697 |
<td colspan="2">
|
1698 |
<div>
|
1699 |
+
<?php _e( 'You can specify any additional CSS rules (without <style> tag)', 'sassy-social-share' ) ?>
|
1700 |
</div>
|
1701 |
</td>
|
1702 |
</tr>
|
1711 |
<div class="menu_containt_div" id="tabs-5">
|
1712 |
<div class="heateor_sss_left_column">
|
1713 |
<div class="stuffbox">
|
1714 |
+
<h3><label><?php _e( 'Shortcode & Widget', 'sassy-social-share' );?></label></h3>
|
1715 |
<div class="inside">
|
1716 |
+
<p><a style="text-decoration:none" href="http://support.heateor.com/sassy-social-share-shortcode-and-widget" target="_blank"><?php _e( 'Shortcode & Widget', 'sassy-social-share' ) ?></a></p>
|
1717 |
</div>
|
1718 |
</div>
|
1719 |
</div>
|
1723 |
<div class="menu_containt_div" id="tabs-6">
|
1724 |
<div class="heateor_sss_left_column">
|
1725 |
<div class="stuffbox">
|
1726 |
+
<h3><label><?php _e( 'Facebook Sharing Troubleshooter', 'sassy-social-share' );?></label></h3>
|
1727 |
<div class="inside">
|
1728 |
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="form-table editcomment menu_content_table">
|
1729 |
<tr>
|
1730 |
<td>
|
1731 |
+
<?php _e( 'If Facebook sharing is not working fine, click at the following link and enter the problematic url (where Facebook sharing is not working properly) of your website in the text field:', 'sassy-social-share' ) ?><br/>
|
1732 |
<a style="text-decoration: none" target="_blank" href="https://developers.facebook.com/tools/debug/">https://developers.facebook.com/tools/debug/</a>
|
1733 |
</td>
|
1734 |
</tr>
|
1742 |
<div class="menu_containt_div" id="tabs-7">
|
1743 |
<div class="heateor_sss_left_column">
|
1744 |
<div class="stuffbox">
|
1745 |
+
<h3><label><?php _e( 'FAQ', 'sassy-social-share' ) ?></label></h3>
|
1746 |
<div class="inside faq">
|
1747 |
+
<p><a href="http://support.heateor.com/how-can-i-show-share-counts-of-my-website-rather-than-of-individual-pagepost/" target="_blank"><?php _e( 'How can I show share counts of my website rather than of individual pages/posts?', 'sassy-social-share' ) ?></a></p>
|
1748 |
+
<p><a href="http://support.heateor.com/how-can-i-disable-social-sharing-on-particular-pagepost/" target="_blank"><?php _e( 'How can I disable sharing on particular page/post?', 'sassy-social-share' ) ?></a></p>
|
1749 |
+
<p><a href="http://support.heateor.com/how-can-i-specify-minimum-sharing-count-for-sharing-networks/" target="_blank"><?php _e( 'How can I specify minimum sharing count for sharing networks?', 'sassy-social-share' ) ?></a></p>
|
1750 |
+
<p><a href="http://support.heateor.com/how-to-share-specific-page/" target="_blank"><?php _e( 'How to share specific page?', 'sassy-social-share' ) ?></a></p>
|
1751 |
+
<p><a href="http://support.heateor.com/how-to-integrate-google-analytics-with-sharing" target="_blank"><?php _e( 'How to integrate Google Analytics with sharing?', 'sassy-social-share' ) ?></a></p>
|
1752 |
+
<p><a href="http://support.heateor.com/how-to-customize-the-look-of-total-share-counts" target="_blank"><?php _e( 'How to customize the look of total share counts?', 'sassy-social-share' ) ?></a></p>
|
1753 |
+
<p><a href="http://support.heateor.com/how-to-customize-the-look-of-individual-share-counts" target="_blank"><?php _e( 'How to customize the look of individual share counts?', 'sassy-social-share' ) ?></a></p>
|
1754 |
+
<p><a href="http://support.heateor.com/how-to-show-whatsapp-icon-only-on-mobile-devices" target="_blank"><?php _e( 'How to show Whatsapp icon only on mobile devices?', 'sassy-social-share' ) ?></a></p>
|
1755 |
</div>
|
1756 |
</div>
|
1757 |
|
includes/class-sassy-social-share-sharing-networks.php
CHANGED
@@ -23,7 +23,7 @@ class Sassy_Social_Share_Sharing_Networks {
|
|
23 |
private $sharing_networks = array(
|
24 |
'facebook_like' => '<li style="padding:%padding%px 0 !important" class="heateor_sss_%network%">%like_count_container%<div class="fb-like" data-href="%post_url%" data-layout="button_count" data-action="like" data-show-faces="false" data-share="false"></div></li>',
|
25 |
'facebook_recommend' => '<li style="padding:%padding%px 0 !important" class="heateor_sss_%network%">%like_count_container%<div class="fb-like" data-href="%post_url%" data-layout="button_count" data-action="recommend" data-show-faces="false" data-share="false"></div></li>',
|
26 |
-
'twitter_tweet' => '<li style="padding:%padding%px 0 !important" class="heateor_sss_%network%">%like_count_container%<a href="https://twitter.com/share" class="twitter-share-button" data-url="%post_url%" data-counturl="%post_url%" data-text="%decoded_post_title%" data-via="%twitter_username%" data-lang="%language%" >Tweet</a><script>!function(d,s,id) {var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?"http":"https";if (!d.getElementById(id)) {js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document, "script", "twitter-wjs");</script></li>',
|
27 |
'google_plusone' => '<li style="padding:%padding%px 0 !important" class="heateor_sss_%network%">%like_count_container%<script type="text/javascript" src="https://apis.google.com/js/platform.js">{lang: "%language%"}</script><div class="g-plusone" data-size="medium" data-href="%post_url%" data-callback="heateorSsmiGpCallback"></div></li>',
|
28 |
'google_plus_share' => '<li style="padding:%padding%px 0 !important" class="heateor_sss_%network%">%like_count_container%<script type="text/javascript" src="https://apis.google.com/js/platform.js">{lang: "%language%"}</script><div class="g-plus" data-action="share" data-annotation="bubble" data-href="%post_url%"></div></li>',
|
29 |
'linkedin_share' => '<li style="padding:%padding%px 0 !important" class="heateor_sss_%network%">%like_count_container%<script src="//platform.linkedin.com/in.js" type="text/javascript">lang: %language%</script><script type="IN/Share" data-url="%post_url%" data-counter="right"></script></li>',
|
23 |
private $sharing_networks = array(
|
24 |
'facebook_like' => '<li style="padding:%padding%px 0 !important" class="heateor_sss_%network%">%like_count_container%<div class="fb-like" data-href="%post_url%" data-layout="button_count" data-action="like" data-show-faces="false" data-share="false"></div></li>',
|
25 |
'facebook_recommend' => '<li style="padding:%padding%px 0 !important" class="heateor_sss_%network%">%like_count_container%<div class="fb-like" data-href="%post_url%" data-layout="button_count" data-action="recommend" data-show-faces="false" data-share="false"></div></li>',
|
26 |
+
'twitter_tweet' => '<li style="padding:%padding%px 0 !important" class="heateor_sss_%network%" heateor-sss-data-href="%post_url%">%like_count_container%<a href="https://twitter.com/share" class="twitter-share-button" data-url="%post_url%" data-counturl="%post_url%" data-text="%decoded_post_title%" data-via="%twitter_username%" data-lang="%language%" >Tweet</a><script>!function(d,s,id) {var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?"http":"https";if (!d.getElementById(id)) {js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document, "script", "twitter-wjs");</script></li>',
|
27 |
'google_plusone' => '<li style="padding:%padding%px 0 !important" class="heateor_sss_%network%">%like_count_container%<script type="text/javascript" src="https://apis.google.com/js/platform.js">{lang: "%language%"}</script><div class="g-plusone" data-size="medium" data-href="%post_url%" data-callback="heateorSsmiGpCallback"></div></li>',
|
28 |
'google_plus_share' => '<li style="padding:%padding%px 0 !important" class="heateor_sss_%network%">%like_count_container%<script type="text/javascript" src="https://apis.google.com/js/platform.js">{lang: "%language%"}</script><div class="g-plus" data-action="share" data-annotation="bubble" data-href="%post_url%"></div></li>',
|
29 |
'linkedin_share' => '<li style="padding:%padding%px 0 !important" class="heateor_sss_%network%">%like_count_container%<script src="//platform.linkedin.com/in.js" type="text/javascript">lang: %language%</script><script type="IN/Share" data-url="%post_url%" data-counter="right"></script></li>',
|
includes/class-sassy-social-share-widgets.php
CHANGED
@@ -169,7 +169,7 @@ class Sassy_Social_Share_Standard_Widget extends WP_Widget {
|
|
169 |
}
|
170 |
</script>
|
171 |
<p>
|
172 |
-
<p><strong>Note:</strong> <?php _e('Make sure "Standard Sharing Interface" is enabled in "Standard Interface" section at "Sassy Social Share" page.', 'sassy-social-share' ) ?></p>
|
173 |
<label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e( 'Title:', 'sassy-social-share' ); ?></label>
|
174 |
<input style="width: 95%" class="widefat" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" type="text" value="<?php echo $instance['title']; ?>" /> <br/><br/>
|
175 |
<label for="<?php echo $this->get_field_id( 'show_counts' ); ?>"><?php _e( 'Show individual share counts:', 'sassy-social-share' ); ?></label>
|
@@ -178,7 +178,7 @@ class Sassy_Social_Share_Standard_Widget extends WP_Widget {
|
|
178 |
<input id="<?php echo $this->get_field_id( 'total_shares' ); ?>" name="<?php echo $this->get_field_name( 'total_shares' ); ?>" type="checkbox" value="1" <?php echo isset( $instance['total_shares'] ) && $instance['total_shares'] == 1 ? 'checked' : ''; ?> /><br/> <br/>
|
179 |
<label for="<?php echo $this->get_field_id( 'target_url' ); ?>"><?php _e( 'Target Url:', 'sassy-social-share' ); ?></label>
|
180 |
<select style="width: 95%" onchange="heateorSssToggleHorSharingTargetUrl(this.value)" class="widefat" id="<?php echo $this->get_field_id( 'target_url' ); ?>" name="<?php echo $this->get_field_name( 'target_url' ); ?>">
|
181 |
-
<option value="">--<?php _e('Select', 'sassy-social-share' ) ?>--</option>
|
182 |
<option value="default" <?php echo isset( $instance['target_url'] ) && $instance['target_url'] == 'default' ? 'selected' : '' ; ?>>Url of the webpage where icons are located (default)</option>
|
183 |
<option value="homepage" <?php echo isset( $instance['target_url'] ) && $instance['target_url'] == 'homepage' ? 'selected' : '' ; ?>>Url of the homepage of your website</option>
|
184 |
<option value="custom" <?php echo isset( $instance['target_url'] ) && $instance['target_url'] == 'custom' ? 'selected' : '' ; ?>>Custom Url</option>
|
@@ -360,14 +360,14 @@ class Sassy_Social_Share_Floating_Widget extends WP_Widget {
|
|
360 |
}
|
361 |
}
|
362 |
</script>
|
363 |
-
<p><strong>Note:</strong> <?php _e('Make sure "Floating Interface" is enabled in "Floating Interface" section at "Sassy Social Share" page.', 'sassy-social-share' ) ?></p>
|
364 |
<label for="<?php echo $this->get_field_id( 'show_counts' ); ?>"><?php _e( 'Show individual share counts:', 'sassy-social-share' ); ?></label>
|
365 |
<input id="<?php echo $this->get_field_id( 'show_counts' ); ?>" name="<?php echo $this->get_field_name( 'show_counts' ); ?>" type="checkbox" value="1" <?php echo isset( $instance['show_counts'] ) && $instance['show_counts'] == 1 ? 'checked' : ''; ?> /><br/><br/>
|
366 |
<label for="<?php echo $this->get_field_id( 'total_shares' ); ?>"><?php _e( 'Show total shares:', 'sassy-social-share' ); ?></label>
|
367 |
<input id="<?php echo $this->get_field_id( 'total_shares' ); ?>" name="<?php echo $this->get_field_name( 'total_shares' ); ?>" type="checkbox" value="1" <?php echo isset( $instance['total_shares'] ) && $instance['total_shares'] == 1 ? 'checked' : ''; ?> /><br/> <br/>
|
368 |
<label for="<?php echo $this->get_field_id( 'target_url' ); ?>"><?php _e( 'Target Url:', 'sassy-social-share' ); ?></label>
|
369 |
<select style="width: 95%" onchange="heateorSssToggleVerticalSharingTargetUrl(this.value)" class="widefat" id="<?php echo $this->get_field_id( 'target_url' ); ?>" name="<?php echo $this->get_field_name( 'target_url' ); ?>">
|
370 |
-
<option value="">--<?php _e('Select', 'sassy-social-share' ) ?>--</option>
|
371 |
<option value="default" <?php echo isset( $instance['target_url'] ) && $instance['target_url'] == 'default' ? 'selected' : '' ; ?>>Url of the webpage where icons are located (default)</option>
|
372 |
<option value="homepage" <?php echo isset( $instance['target_url'] ) && $instance['target_url'] == 'homepage' ? 'selected' : '' ; ?>>Url of the homepage of your website</option>
|
373 |
<option value="custom" <?php echo isset( $instance['target_url'] ) && $instance['target_url'] == 'custom' ? 'selected' : '' ; ?>>Custom Url</option>
|
169 |
}
|
170 |
</script>
|
171 |
<p>
|
172 |
+
<p><strong>Note:</strong> <?php _e( 'Make sure "Standard Sharing Interface" is enabled in "Standard Interface" section at "Sassy Social Share" page.', 'sassy-social-share' ) ?></p>
|
173 |
<label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e( 'Title:', 'sassy-social-share' ); ?></label>
|
174 |
<input style="width: 95%" class="widefat" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" type="text" value="<?php echo $instance['title']; ?>" /> <br/><br/>
|
175 |
<label for="<?php echo $this->get_field_id( 'show_counts' ); ?>"><?php _e( 'Show individual share counts:', 'sassy-social-share' ); ?></label>
|
178 |
<input id="<?php echo $this->get_field_id( 'total_shares' ); ?>" name="<?php echo $this->get_field_name( 'total_shares' ); ?>" type="checkbox" value="1" <?php echo isset( $instance['total_shares'] ) && $instance['total_shares'] == 1 ? 'checked' : ''; ?> /><br/> <br/>
|
179 |
<label for="<?php echo $this->get_field_id( 'target_url' ); ?>"><?php _e( 'Target Url:', 'sassy-social-share' ); ?></label>
|
180 |
<select style="width: 95%" onchange="heateorSssToggleHorSharingTargetUrl(this.value)" class="widefat" id="<?php echo $this->get_field_id( 'target_url' ); ?>" name="<?php echo $this->get_field_name( 'target_url' ); ?>">
|
181 |
+
<option value="">--<?php _e( 'Select', 'sassy-social-share' ) ?>--</option>
|
182 |
<option value="default" <?php echo isset( $instance['target_url'] ) && $instance['target_url'] == 'default' ? 'selected' : '' ; ?>>Url of the webpage where icons are located (default)</option>
|
183 |
<option value="homepage" <?php echo isset( $instance['target_url'] ) && $instance['target_url'] == 'homepage' ? 'selected' : '' ; ?>>Url of the homepage of your website</option>
|
184 |
<option value="custom" <?php echo isset( $instance['target_url'] ) && $instance['target_url'] == 'custom' ? 'selected' : '' ; ?>>Custom Url</option>
|
360 |
}
|
361 |
}
|
362 |
</script>
|
363 |
+
<p><strong>Note:</strong> <?php _e( 'Make sure "Floating Interface" is enabled in "Floating Interface" section at "Sassy Social Share" page.', 'sassy-social-share' ) ?></p>
|
364 |
<label for="<?php echo $this->get_field_id( 'show_counts' ); ?>"><?php _e( 'Show individual share counts:', 'sassy-social-share' ); ?></label>
|
365 |
<input id="<?php echo $this->get_field_id( 'show_counts' ); ?>" name="<?php echo $this->get_field_name( 'show_counts' ); ?>" type="checkbox" value="1" <?php echo isset( $instance['show_counts'] ) && $instance['show_counts'] == 1 ? 'checked' : ''; ?> /><br/><br/>
|
366 |
<label for="<?php echo $this->get_field_id( 'total_shares' ); ?>"><?php _e( 'Show total shares:', 'sassy-social-share' ); ?></label>
|
367 |
<input id="<?php echo $this->get_field_id( 'total_shares' ); ?>" name="<?php echo $this->get_field_name( 'total_shares' ); ?>" type="checkbox" value="1" <?php echo isset( $instance['total_shares'] ) && $instance['total_shares'] == 1 ? 'checked' : ''; ?> /><br/> <br/>
|
368 |
<label for="<?php echo $this->get_field_id( 'target_url' ); ?>"><?php _e( 'Target Url:', 'sassy-social-share' ); ?></label>
|
369 |
<select style="width: 95%" onchange="heateorSssToggleVerticalSharingTargetUrl(this.value)" class="widefat" id="<?php echo $this->get_field_id( 'target_url' ); ?>" name="<?php echo $this->get_field_name( 'target_url' ); ?>">
|
370 |
+
<option value="">--<?php _e( 'Select', 'sassy-social-share' ) ?>--</option>
|
371 |
<option value="default" <?php echo isset( $instance['target_url'] ) && $instance['target_url'] == 'default' ? 'selected' : '' ; ?>>Url of the webpage where icons are located (default)</option>
|
372 |
<option value="homepage" <?php echo isset( $instance['target_url'] ) && $instance['target_url'] == 'homepage' ? 'selected' : '' ; ?>>Url of the homepage of your website</option>
|
373 |
<option value="custom" <?php echo isset( $instance['target_url'] ) && $instance['target_url'] == 'custom' ? 'selected' : '' ; ?>>Custom Url</option>
|
includes/class-sassy-social-share.php
CHANGED
@@ -153,7 +153,9 @@ class Sassy_Social_Share {
|
|
153 |
$plugin_public = new Sassy_Social_Share_Public( $this->options, $this->version );
|
154 |
$this->plugin_public = $plugin_public;
|
155 |
|
156 |
-
|
|
|
|
|
157 |
add_action( 'init', array( $plugin_public, 'init' ) );
|
158 |
|
159 |
// hooks to enable sharing interface
|
153 |
$plugin_public = new Sassy_Social_Share_Public( $this->options, $this->version );
|
154 |
$this->plugin_public = $plugin_public;
|
155 |
|
156 |
+
// hook to upate plugin db/options based on version
|
157 |
+
add_action( 'plugins_loaded', array( $plugin_public, 'update_db_check' ) );
|
158 |
+
// hook the plugin functions on 'init' event.
|
159 |
add_action( 'init', array( $plugin_public, 'init' ) );
|
160 |
|
161 |
// hooks to enable sharing interface
|
public/class-sassy-social-share-public.php
CHANGED
@@ -70,10 +70,6 @@ class Sassy_Social_Share_Public {
|
|
70 |
*/
|
71 |
public function init() {
|
72 |
|
73 |
-
// update plugin version in database
|
74 |
-
if ( get_option( 'heateor_sss_version' ) != $this->version ) {
|
75 |
-
update_option( 'heateor_sss_version', $this->version );
|
76 |
-
}
|
77 |
// Javascripts for front-end of website
|
78 |
add_action( 'wp_enqueue_scripts', array( $this, 'frontend_scripts' ) );
|
79 |
// stylesheets for front-end of website
|
@@ -145,14 +141,19 @@ class Sassy_Social_Share_Public {
|
|
145 |
*/
|
146 |
public function generate_bitly_url( $url, $post_id = 0 ) {
|
147 |
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
154 |
}
|
155 |
-
|
156 |
return false;
|
157 |
|
158 |
}
|
@@ -438,7 +439,7 @@ class Sassy_Social_Share_Public {
|
|
438 |
$sharing_title_style = 'style="font-weight: bold;list-style: none;position: relative;left: 50%;"';
|
439 |
}
|
440 |
|
441 |
-
$horizontal_div = "<div style='clear: both'></div><div ". $sharing_container_style ." class='heateor_sss_sharing_container heateor_sss_horizontal_sharing' heateor-sss-data-href='" . $post_url . "'><div " . $sharing_title_style . " >" . ucfirst( $this->options['title'] ) . "</div>" . $sharing_div . "</div><div style='clear: both'></div>";
|
442 |
if ( $sharing_bp_activity ) {
|
443 |
echo $horizontal_div;
|
444 |
}
|
@@ -863,4 +864,27 @@ class Sassy_Social_Share_Public {
|
|
863 |
}
|
864 |
|
865 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
866 |
}
|
70 |
*/
|
71 |
public function init() {
|
72 |
|
|
|
|
|
|
|
|
|
73 |
// Javascripts for front-end of website
|
74 |
add_action( 'wp_enqueue_scripts', array( $this, 'frontend_scripts' ) );
|
75 |
// stylesheets for front-end of website
|
141 |
*/
|
142 |
public function generate_bitly_url( $url, $post_id = 0 ) {
|
143 |
|
144 |
+
$bitlyUrl = get_post_meta( $post_id, '_heateor_sss_bitly_url', true );
|
145 |
+
if ( $bitlyUrl ) {
|
146 |
+
return $bitlyUrl;
|
147 |
+
} else {
|
148 |
+
//generate the URL
|
149 |
+
$bitly = 'http://api.bit.ly/v3/shorten?format=txt&login=' . $this->options['bitly_username'] . '&apiKey=' . $this->options['bitly_key'] . '&longUrl=' . urlencode( $url );
|
150 |
+
$response = wp_remote_get( $bitly, array( 'timeout' => 15 ) );
|
151 |
+
if ( ! is_wp_error( $response ) && isset( $response['response']['code'] ) && 200 === $response['response']['code'] ) {
|
152 |
+
$short_url = trim( wp_remote_retrieve_body( $response ) );
|
153 |
+
update_post_meta( $post_id, '_heateor_sss_bitly_url', $short_url );
|
154 |
+
return $short_url;
|
155 |
+
}
|
156 |
}
|
|
|
157 |
return false;
|
158 |
|
159 |
}
|
439 |
$sharing_title_style = 'style="font-weight: bold;list-style: none;position: relative;left: 50%;"';
|
440 |
}
|
441 |
|
442 |
+
$horizontal_div = "<div style='clear: both'></div><div ". $sharing_container_style ." class='heateor_sss_sharing_container heateor_sss_horizontal_sharing' heateor-sss-data-href='" . $post_url . "'><div class='heateor_sss_sharing_title' " . $sharing_title_style . " >" . ucfirst( $this->options['title'] ) . "</div>" . $sharing_div . "</div><div style='clear: both'></div>";
|
443 |
if ( $sharing_bp_activity ) {
|
444 |
echo $horizontal_div;
|
445 |
}
|
864 |
}
|
865 |
|
866 |
}
|
867 |
+
|
868 |
+
public function update_db_check() {
|
869 |
+
|
870 |
+
if ( get_option( 'heateor_sss_version' ) != $this->version ) {
|
871 |
+
if ( $this->options['horizontal_sharing_replace_color'] != '#fff' ) {
|
872 |
+
heateor_sss_update_svg_css( $this->options['horizontal_sharing_replace_color'], 'sassy-social-share-default-svg-horizontal' );
|
873 |
+
}
|
874 |
+
if ( $this->options['horizontal_font_color_hover'] != '#fff' ) {
|
875 |
+
heateor_sss_update_svg_css( $this->options['horizontal_font_color_hover'], 'sassy-social-share-hover-svg-horizontal' );
|
876 |
+
}
|
877 |
+
if ( $this->options['vertical_font_color_default'] != '#fff' ) {
|
878 |
+
heateor_sss_update_svg_css( $this->options['vertical_font_color_default'], 'sassy-social-share-default-svg-vertical' );
|
879 |
+
}
|
880 |
+
if ( $this->options['vertical_font_color_hover'] != '#fff' ) {
|
881 |
+
heateor_sss_update_svg_css( $this->options['vertical_font_color_hover'], 'sassy-social-share-hover-svg-vertical' );
|
882 |
+
}
|
883 |
+
|
884 |
+
// update plugin version in database
|
885 |
+
update_option( 'heateor_sss_version', $this->version );
|
886 |
+
}
|
887 |
+
|
888 |
+
}
|
889 |
+
|
890 |
}
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.heateor.com/donate/?action=Sassy+Social+Share
|
|
4 |
Tags: social share, social sharing, social plugin, social media plugin, social media share, social media share, share facebook, facebook social share, wordpress social share, share buttons, social share buttons, social buttons, share wordpress, wordpress plugin share, share social plugin, facebook like, twitter tweet, google plus one, google +1, google plus share, googleplus share, googleplus one, social bookmark, bookmark, bookmarking, social bookmarking, social bookmarks, responsive share buttons, responsive sharing, mobile share buttons, mobile sharing
|
5 |
Requires at least: 2.5.0
|
6 |
Tested up to: 4.4.1
|
7 |
-
Stable tag: 1.
|
8 |
License: GPLv2 or later
|
9 |
|
10 |
Slickest, Simplest and Optimized Share buttons. Facebook, Twitter, Google+, Pinterest, WhatsApp and over 100 more.
|
@@ -115,6 +115,10 @@ Yes, we can help you with it. Just drop an email at support[at]heateor[dot]com
|
|
115 |
4. **Universal Sharing Popup**: Universal Sharing popup having all the supported sharing and bookmarking services
|
116 |
|
117 |
== Changelog ==
|
|
|
|
|
|
|
|
|
118 |
|
119 |
= 1.5 =
|
120 |
* [Bugfix] "Logo Color" option was not working for Standard Icon theme selection from previous version
|
@@ -156,4 +160,9 @@ Yes, we can help you with it. Just drop an email at support[at]heateor[dot]com
|
|
156 |
* [Bugfix] Last plugin update overrode the previous logo color selection for sharing icons. It won't happen from this update.
|
157 |
* [New] Added option to enable OpenShareCount and NewShareCounts APIs to fetch Twitter share counts
|
158 |
* [Improvement] Compatible with PHP 7
|
159 |
-
* [Improvement] CSS improvements
|
|
|
|
|
|
|
|
|
|
4 |
Tags: social share, social sharing, social plugin, social media plugin, social media share, social media share, share facebook, facebook social share, wordpress social share, share buttons, social share buttons, social buttons, share wordpress, wordpress plugin share, share social plugin, facebook like, twitter tweet, google plus one, google +1, google plus share, googleplus share, googleplus one, social bookmark, bookmark, bookmarking, social bookmarking, social bookmarks, responsive share buttons, responsive sharing, mobile share buttons, mobile sharing
|
5 |
Requires at least: 2.5.0
|
6 |
Tested up to: 4.4.1
|
7 |
+
Stable tag: 1.6
|
8 |
License: GPLv2 or later
|
9 |
|
10 |
Slickest, Simplest and Optimized Share buttons. Facebook, Twitter, Google+, Pinterest, WhatsApp and over 100 more.
|
115 |
4. **Universal Sharing Popup**: Universal Sharing popup having all the supported sharing and bookmarking services
|
116 |
|
117 |
== Changelog ==
|
118 |
+
= 1.6 =
|
119 |
+
* [Improvement] Improved bit.ly short url cache resulting in reduced page load time
|
120 |
+
* [Improvement] Specified "heateor_sss_sharing_title" class name for the div containing title of sharing interface
|
121 |
+
* [Improvement] Compatible with "Social Share myCRED Integration" add-on
|
122 |
|
123 |
= 1.5 =
|
124 |
* [Bugfix] "Logo Color" option was not working for Standard Icon theme selection from previous version
|
160 |
* [Bugfix] Last plugin update overrode the previous logo color selection for sharing icons. It won't happen from this update.
|
161 |
* [New] Added option to enable OpenShareCount and NewShareCounts APIs to fetch Twitter share counts
|
162 |
* [Improvement] Compatible with PHP 7
|
163 |
+
* [Improvement] CSS improvements
|
164 |
+
|
165 |
+
= 1.6 =
|
166 |
+
* [Improvement] Improved bit.ly short url cache resulting in reduced page load time
|
167 |
+
* [Improvement] Specified "heateor_sss_sharing_title" class name for the div containing title of sharing interface
|
168 |
+
* [Improvement] Compatible with "Social Share myCRED Integration" add-on
|
sassy-social-share.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* Plugin Name: Sassy Social Share
|
8 |
* Plugin URI: https://www.heateor.com
|
9 |
* Description: Slickest, Simplest and Optimized Share buttons. Facebook, Twitter, Google+, Pinterest, WhatsApp and over 100 more.
|
10 |
-
* Version: 1.
|
11 |
* Author: Team Heateor
|
12 |
* Author URI: https://www.heateor.com
|
13 |
* Text Domain: sassy-social-share
|
@@ -21,7 +21,7 @@ if ( ! defined( 'WPINC' ) ) {
|
|
21 |
die;
|
22 |
}
|
23 |
|
24 |
-
define( 'HEATEOR_SSS_VERSION', '1.
|
25 |
|
26 |
// plugin core class object
|
27 |
$heateor_sss = null;
|
@@ -46,23 +46,7 @@ function heateor_sss_update_svg_css( $color_to_be_replaced, $css_file ) {
|
|
46 |
/**
|
47 |
* Runs during plugin activation
|
48 |
*/
|
49 |
-
function
|
50 |
-
$current_version = get_option( 'heateor_sss_version' );
|
51 |
-
if ( $current_version && $current_version != HEATEOR_SSS_VERSION ) {
|
52 |
-
$options = get_option( 'heateor_sss' );
|
53 |
-
if ( $options['horizontal_sharing_replace_color'] != '#fff' ) {
|
54 |
-
heateor_sss_update_svg_css( $options['horizontal_sharing_replace_color'], 'sassy-social-share-default-svg-horizontal' );
|
55 |
-
}
|
56 |
-
if ( $options['horizontal_font_color_hover'] != '#fff' ) {
|
57 |
-
heateor_sss_update_svg_css( $options['horizontal_font_color_hover'], 'sassy-social-share-hover-svg-horizontal' );
|
58 |
-
}
|
59 |
-
if ( $options['vertical_font_color_default'] != '#fff' ) {
|
60 |
-
heateor_sss_update_svg_css( $options['vertical_font_color_default'], 'sassy-social-share-default-svg-vertical' );
|
61 |
-
}
|
62 |
-
if ( $options['vertical_font_color_hover'] != '#fff' ) {
|
63 |
-
heateor_sss_update_svg_css( $options['vertical_font_color_hover'], 'sassy-social-share-hover-svg-vertical' );
|
64 |
-
}
|
65 |
-
}
|
66 |
|
67 |
// default options
|
68 |
add_option( 'heateor_sss', array(
|
@@ -137,10 +121,11 @@ function heateor_sss_activate() {
|
|
137 |
) );
|
138 |
|
139 |
// plugin version
|
140 |
-
|
|
|
141 |
}
|
142 |
|
143 |
-
register_activation_hook( __FILE__, '
|
144 |
|
145 |
/**
|
146 |
* The core plugin class
|
7 |
* Plugin Name: Sassy Social Share
|
8 |
* Plugin URI: https://www.heateor.com
|
9 |
* Description: Slickest, Simplest and Optimized Share buttons. Facebook, Twitter, Google+, Pinterest, WhatsApp and over 100 more.
|
10 |
+
* Version: 1.6
|
11 |
* Author: Team Heateor
|
12 |
* Author URI: https://www.heateor.com
|
13 |
* Text Domain: sassy-social-share
|
21 |
die;
|
22 |
}
|
23 |
|
24 |
+
define( 'HEATEOR_SSS_VERSION', '1.6' );
|
25 |
|
26 |
// plugin core class object
|
27 |
$heateor_sss = null;
|
46 |
/**
|
47 |
* Runs during plugin activation
|
48 |
*/
|
49 |
+
function heateor_sss_default_options() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
50 |
|
51 |
// default options
|
52 |
add_option( 'heateor_sss', array(
|
121 |
) );
|
122 |
|
123 |
// plugin version
|
124 |
+
add_option( 'heateor_sss_version', HEATEOR_SSS_VERSION );
|
125 |
+
|
126 |
}
|
127 |
|
128 |
+
register_activation_hook( __FILE__, 'heateor_sss_default_options' );
|
129 |
|
130 |
/**
|
131 |
* The core plugin class
|