Version Description
[16 November 2021] = * [Bugfix] Fixed Gmail social share icon * [Bugfix] Background color of Instagram in the social media follow widget was not changing to multi-colored after changing from the Miscellaneous section * [Improvement] Improved logo of WordPress social share icon * [Improvement] Performance improvement
Download this release
Release Info
Developer | Heateor |
Plugin | WordPress Social Sharing Plugin – Sassy Social Share |
Version | 3.3.29 |
Comparing to | |
See all releases |
Code changes from version 3.3.28 to 3.3.29
- admin/class-sassy-social-share-admin.php +9 -1
- admin/partials/sassy-social-share-options-page.php +5 -5
- images/amp/google_gmail.svg +1 -1
- includes/class-sassy-social-share-sharing-networks.php +10 -10
- includes/class-sassy-social-share-shortcodes.php +1 -1
- includes/class-sassy-social-share-widgets.php +117 -129
- public/class-sassy-social-share-public.php +44 -42
- public/js/sassy-social-share-public.js +1 -6
- readme.txt +14 -2
- sassy-social-share.php +2 -2
admin/class-sassy-social-share-admin.php
CHANGED
@@ -281,8 +281,11 @@ class Sassy_Social_Share_Admin {
|
|
281 |
return $post_id;
|
282 |
}
|
283 |
}
|
284 |
-
if ( isset( $_POST['_heateor_sss_meta'] ) ) {
|
285 |
$newData = $_POST['_heateor_sss_meta'];
|
|
|
|
|
|
|
286 |
} else {
|
287 |
$newData = array( 'sharing' => 0, 'vertical_sharing' => 0 );
|
288 |
}
|
@@ -437,6 +440,11 @@ class Sassy_Social_Share_Admin {
|
|
437 |
if ( isset( $_POST['config'] ) && strlen( trim( $_POST['config'] ) ) > 0 ) {
|
438 |
$config = json_decode( stripslashes( trim( $_POST['config'] ) ), true );
|
439 |
if ( is_array( $config ) && count( $config ) > 0 ) {
|
|
|
|
|
|
|
|
|
|
|
440 |
update_option( 'heateor_sss', $config );
|
441 |
die( json_encode(
|
442 |
array(
|
281 |
return $post_id;
|
282 |
}
|
283 |
}
|
284 |
+
if ( isset( $_POST['_heateor_sss_meta'] ) && is_array( $_POST['_heateor_sss_meta'] ) ) {
|
285 |
$newData = $_POST['_heateor_sss_meta'];
|
286 |
+
foreach ( $_POST['_heateor_sss_meta'] as $key => $value ) {
|
287 |
+
$newData[$key] = sanitize_text_field ( $value );
|
288 |
+
}
|
289 |
} else {
|
290 |
$newData = array( 'sharing' => 0, 'vertical_sharing' => 0 );
|
291 |
}
|
440 |
if ( isset( $_POST['config'] ) && strlen( trim( $_POST['config'] ) ) > 0 ) {
|
441 |
$config = json_decode( stripslashes( trim( $_POST['config'] ) ), true );
|
442 |
if ( is_array( $config ) && count( $config ) > 0 ) {
|
443 |
+
foreach ( $config as $key => $value ) {
|
444 |
+
if ( is_string( $value ) ) {
|
445 |
+
$config[$key] = sanitize_text_field( $value );
|
446 |
+
}
|
447 |
+
}
|
448 |
update_option( 'heateor_sss', $config );
|
449 |
die( json_encode(
|
450 |
array(
|
admin/partials/sassy-social-share-options-page.php
CHANGED
@@ -78,10 +78,10 @@ defined( 'ABSPATH' ) or die( "Cheating........Uh!!" );
|
|
78 |
}
|
79 |
?>
|
80 |
#heateor_sss_preview{
|
81 |
-
color:<?php echo $sharing_color ? $sharing_color : "#fff" ?>;
|
82 |
}
|
83 |
#heateor_sss_preview:hover{
|
84 |
-
color:<?php echo $sharing_color_hover ?>;
|
85 |
}
|
86 |
</style>
|
87 |
<div>
|
@@ -394,10 +394,10 @@ defined( 'ABSPATH' ) or die( "Cheating........Uh!!" );
|
|
394 |
?>
|
395 |
<style type="text/css">
|
396 |
#heateor_sss_vertical_preview{
|
397 |
-
color:<?php echo $vertical_sharing_color ? $vertical_sharing_color : "#fff" ?>;
|
398 |
}
|
399 |
#heateor_sss_vertical_preview:hover{
|
400 |
-
color:<?php echo $vertical_sharing_color_hover ?>;
|
401 |
}
|
402 |
</style>
|
403 |
<div>
|
@@ -2071,7 +2071,7 @@ defined( 'ABSPATH' ) or die( "Cheating........Uh!!" );
|
|
2071 |
<img id="heateor_sss_custom_css_help" class="heateor_sss_help_bubble" src="<?php echo plugins_url( '../../images/info.png', __FILE__ ) ?>" />
|
2072 |
</th>
|
2073 |
<td>
|
2074 |
-
<textarea rows="7" cols="63" id="heateor_sss_custom_css" name="heateor_sss[custom_css]"><?php echo isset( $options['custom_css'] ) ? $options['custom_css'] : '' ?></textarea>
|
2075 |
</td>
|
2076 |
</tr>
|
2077 |
|
78 |
}
|
79 |
?>
|
80 |
#heateor_sss_preview{
|
81 |
+
color:<?php echo $sharing_color ? esc_html( $sharing_color ) : "#fff" ?>;
|
82 |
}
|
83 |
#heateor_sss_preview:hover{
|
84 |
+
color:<?php echo esc_html( $sharing_color_hover ) ?>;
|
85 |
}
|
86 |
</style>
|
87 |
<div>
|
394 |
?>
|
395 |
<style type="text/css">
|
396 |
#heateor_sss_vertical_preview{
|
397 |
+
color:<?php echo $vertical_sharing_color ? esc_html( $vertical_sharing_color ) : "#fff" ?>;
|
398 |
}
|
399 |
#heateor_sss_vertical_preview:hover{
|
400 |
+
color:<?php echo esc_html( $vertical_sharing_color_hover ) ?>;
|
401 |
}
|
402 |
</style>
|
403 |
<div>
|
2071 |
<img id="heateor_sss_custom_css_help" class="heateor_sss_help_bubble" src="<?php echo plugins_url( '../../images/info.png', __FILE__ ) ?>" />
|
2072 |
</th>
|
2073 |
<td>
|
2074 |
+
<textarea rows="7" cols="63" id="heateor_sss_custom_css" name="heateor_sss[custom_css]"><?php echo isset( $options['custom_css'] ) ? esc_textarea( $options['custom_css'] ) : '' ?></textarea>
|
2075 |
</td>
|
2076 |
</tr>
|
2077 |
|
images/amp/google_gmail.svg
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#
|
1 |
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#fff" d="M2.902 6.223h26.195v19.554H2.902z"></path><path fill="#E14C41" d="M2.902 25.777h26.195V6.223H2.902v19.554zm22.44-4.007v3.806H6.955v-3.6h.032l.093-.034 6.9-5.558 2.09 1.77 1.854-1.63 7.42 5.246zm0-.672l-7.027-4.917 7.028-6.09V21.1zm-1.17-14.67l-.947.905c-2.356 2.284-4.693 4.75-7.17 6.876l-.078.06L8.062 6.39l16.11.033zm-10.597 9.61l-6.62 5.294.016-10.914 6.607 5.62"></path></svg>
|
includes/class-sassy-social-share-sharing-networks.php
CHANGED
@@ -57,24 +57,24 @@ class Sassy_Social_Share_Sharing_Networks {
|
|
57 |
'print' => '<a class="heateor_sss_button_print" href="javascript:void(0)" onclick="window.print()" title="Print" rel="nofollow noopener" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_print" style="background-color:#fd6500;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32"><path fill="%logo_color%" stroke="%logo_color%" stroke-width=".1" d="M4.467 14.305h23.065v6.498H4.467v-6.498z"/><path fill="#DCDCDC" stroke="%logo_color%" stroke-width=".1" d="M5.228 12.83H26.77l.745 1.39H4.485l.743-1.39z"/><path d="M9.19 8.118h13.467v6.106H9.19z"/><path fill="%logo_color%" stroke="%logo_color%" stroke-width=".1" d="M9.844 6.516h12.312v7.31H9.844z"/><path stroke="%logo_color%" stroke-width=".1" d="M8.602 17.37h14.574v3.396H8.602z"/><path fill="%logo_color%" stroke="%logo_color%" stroke-width=".1" d="M10.152 17.97h11.27l2.233 7.515H7.92l2.232-7.514z"/></svg></span></a>',
|
58 |
'email' => '<a class="heateor_sss_email" onclick="window.open(\'mailto:?subject=\' + decodeURIComponent(\'%post_title%\' ).replace(\'&\', \'%26\') + \'&body=\' + decodeURIComponent(\'%encoded_post_url%\' ), \'_blank\')" href="javascript:void(0)" title="Email" rel="nofollow noopener" %anchor_style%><span class="heateor_sss_svg" style="background-color:#649a3f;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-4 -4 43 43"><path d="M 5.5 11 h 23 v 1 l -11 6 l -11 -6 v -1 m 0 2 l 11 6 l 11 -6 v 11 h -22 v -11" stroke-width="1" fill="%logo_color%"></path></svg></span></a>',
|
59 |
'reddit' => '<a class="heateor_sss_button_reddit" href="http://reddit.com/submit?url=%encoded_post_url%&title=%post_title%" title="Reddit" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_reddit" style="background-color:#ff5700;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-3.5 -3.5 39 39"><path d="M28.543 15.774a2.953 2.953 0 0 0-2.951-2.949 2.882 2.882 0 0 0-1.9.713 14.075 14.075 0 0 0-6.85-2.044l1.38-4.349 3.768.884a2.452 2.452 0 1 0 .24-1.176l-4.274-1a.6.6 0 0 0-.709.4l-1.659 5.224a14.314 14.314 0 0 0-7.316 2.029 2.908 2.908 0 0 0-1.872-.681 2.942 2.942 0 0 0-1.618 5.4 5.109 5.109 0 0 0-.062.765c0 4.158 5.037 7.541 11.229 7.541s11.22-3.383 11.22-7.541a5.2 5.2 0 0 0-.053-.706 2.963 2.963 0 0 0 1.427-2.51zm-18.008 1.88a1.753 1.753 0 0 1 1.73-1.74 1.73 1.73 0 0 1 1.709 1.74 1.709 1.709 0 0 1-1.709 1.711 1.733 1.733 0 0 1-1.73-1.711zm9.565 4.968a5.573 5.573 0 0 1-4.081 1.272h-.032a5.576 5.576 0 0 1-4.087-1.272.6.6 0 0 1 .844-.854 4.5 4.5 0 0 0 3.238.927h.032a4.5 4.5 0 0 0 3.237-.927.6.6 0 1 1 .844.854zm-.331-3.256a1.726 1.726 0 1 1 1.709-1.712 1.717 1.717 0 0 1-1.712 1.712z" fill="%logo_color%"/></svg></span></a>',
|
60 |
-
'digg' => '<a class="heateor_sss_button_digg" href="http://digg.com/submit?url=%encoded_post_url%&title=%post_title%" title="Digg" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_digg" style="background-color:#006094;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-5 -5 49 49"><path class="heateor_sss_svg_stroke
|
61 |
'float_it' => '<a class="heateor_sss_button_float_it" href="http://www.designfloat.com/submit.php?url=%encoded_post_url%&title=%post_title%" title="Float It" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg aheateor_sss_s__default heateor_sss_s_float_it" style="background-color:#53beee;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-3 -3 38 38"><g fill="%logo_color%"><path d="M16 3C8.814 3 3 8.814 3 16s5.814 13 13 13 13-5.814 13-13S23.187 3 16 3zm0 25.152c-6.712 0-12.153-5.44-12.153-12.152C3.847 9.288 9.287 3.848 16 3.848S28.152 9.288 28.152 16c0 6.712-5.44 12.152-12.152 12.152z"/><path d="M22.406 16A6.402 6.402 0 0 0 16 9.593 6.402 6.402 0 0 0 9.593 16 6.4 6.4 0 0 0 16 22.406 6.4 6.4 0 0 0 22.406 16zM16 21.39A5.392 5.392 0 0 1 10.61 16 5.403 5.403 0 0 1 16 10.61 5.393 5.393 0 0 1 21.39 16 5.382 5.382 0 0 1 16 21.39z"/><path d="M13.763 9.187V4.864c-4.475.9-8 4.424-8.898 8.898h4.322a7.226 7.226 0 0 1 4.576-4.575zm9.05 4.576h4.32c-.896-4.475-4.422-8-8.896-8.898v4.322a7.224 7.224 0 0 1 4.575 4.576zm-4.576 9.052v4.322c4.475-.9 8-4.424 8.897-8.9h-4.322a7.232 7.232 0 0 1-4.575 4.578zm-9.05-4.578H4.863c.898 4.475 4.424 8 8.898 8.9v-4.323a7.233 7.233 0 0 1-4.574-4.577z"/></g></svg></span></a>',
|
62 |
'tumblr' => '<a class="heateor_sss_button_tumblr" href="https://www.tumblr.com/widgets/share/tool?posttype=link&canonicalUrl=%encoded_post_url%&title=%post_title%&caption=" title="Tumblr" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg aheateor_sss_s__default heateor_sss_s_tumblr" style="background-color:#29435d;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-2 -2 36 36"><path fill="%logo_color%" d="M20.775 21.962c-.37.177-1.08.33-1.61.345-1.598.043-1.907-1.122-1.92-1.968v-6.217h4.007V11.1H17.26V6.02h-2.925s-.132.044-.144.15c-.17 1.556-.895 4.287-3.923 5.378v2.578h2.02v6.522c0 2.232 1.647 5.404 5.994 5.33 1.467-.025 3.096-.64 3.456-1.17l-.96-2.846z"/></svg></span></a>',
|
63 |
'vkontakte' => '<a class="heateor_sss_button_vkontakte" href="http://vkontakte.ru/share.php?&url=%encoded_post_url%" title="Vkontakte" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_vkontakte" style="background-color:#5e84ac;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-1 -2 34 34"><path fill-rule="evenodd" clip-rule="evenodd" fill="%logo_color%" d="M15.764 22.223h1.315s.394-.044.6-.262c.184-.2.18-.574.18-.574s-.03-1.764.79-2.023c.81-.255 1.844 1.705 2.942 2.46.832.57 1.464.445 1.464.445l2.936-.04s1.538-.097.81-1.304c-.06-.1-.426-.894-2.186-2.526-1.843-1.71-1.594-1.434.624-4.39 1.353-1.804 1.893-2.902 1.724-3.374-.16-.45-1.153-.33-1.153-.33l-3.306.02s-.247-.034-.428.074c-.178.108-.293.356-.293.356s-.522 1.394-1.223 2.58c-1.47 2.5-2.06 2.633-2.3 2.476-.563-.36-.42-1.454-.42-2.23 0-2.423.365-3.435-.72-3.696-.357-.085-.623-.143-1.544-.15-1.182-.014-2.18.003-2.743.28-.378.185-.667.595-.49.62.218.027.713.13.975.49.34.46.33 1.496.33 1.496s.193 2.852-.46 3.206c-.442.245-1.056-.252-2.37-2.52-.67-1.163-1.18-2.446-1.18-2.446s-.1-.24-.273-.37c-.212-.155-.506-.204-.506-.204l-3.145.02s-.473.015-.647.22c-.154.183-.01.56-.01.56s2.46 5.757 5.245 8.657c2.553 2.66 5.454 2.485 5.454 2.485z"/></svg></span></a>',
|
64 |
'pinterest' => '<a class="heateor_sss_button_pinterest" href="javascript:void(0)" onclick="javascript:void( (function() {var e=document.createElement(\'script\' );e.setAttribute(\'type\',\'text/javascript\' );e.setAttribute(\'charset\',\'UTF-8\' );e.setAttribute(\'src\',\'//assets.pinterest.com/js/pinmarklet.js?r=\'+Math.random()*99999999);document.body.appendChild(e)})());" title="Pinterest" rel="nofollow noopener" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_pinterest" style="background-color:#cc2329;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-2 -2 35 35"><path fill="%logo_color%" d="M16.539 4.5c-6.277 0-9.442 4.5-9.442 8.253 0 2.272.86 4.293 2.705 5.046.303.125.574.005.662-.33.061-.231.205-.816.27-1.06.088-.331.053-.447-.191-.736-.532-.627-.873-1.439-.873-2.591 0-3.338 2.498-6.327 6.505-6.327 3.548 0 5.497 2.168 5.497 5.062 0 3.81-1.686 7.025-4.188 7.025-1.382 0-2.416-1.142-2.085-2.545.397-1.674 1.166-3.48 1.166-4.689 0-1.081-.581-1.983-1.782-1.983-1.413 0-2.548 1.462-2.548 3.419 0 1.247.421 2.091.421 2.091l-1.699 7.199c-.505 2.137-.076 4.755-.039 5.019.021.158.223.196.314.077.13-.17 1.813-2.247 2.384-4.324.162-.587.929-3.631.929-3.631.46.876 1.801 1.646 3.227 1.646 4.247 0 7.128-3.871 7.128-9.053.003-3.918-3.317-7.568-8.361-7.568z"/></svg></span></a>',
|
65 |
'xing' => '<a class="heateor_sss_button_xing" href="https://www.xing.com/spi/shares/new?cb=0&url=%encoded_post_url%" title="xing" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_xing" style="background-color:#00797d;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-6 -6 42 42"><path d="M 6 9 h 5 l 4 4 l -5 7 h -5 l 5 -7 z m 15 -4 h 5 l -9 13 l 4 8 h -5 l -4 -8 z" fill="%logo_color%"></path> </svg></span></a>',
|
66 |
'instagram' => '<a class="heateor_sss_button_instagram" href="https://www.instagram.com/%instagram_username%" title="Instagram" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg" style="background-color:#53beee;%span_style%"><svg style="%inner_style%" version="1.1" viewBox="-10 -10 148 148" width="100%" height="100%" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g><g><path d="M86,112H42c-14.336,0-26-11.663-26-26V42c0-14.337,11.664-26,26-26h44c14.337,0,26,11.663,26,26v44 C112,100.337,100.337,112,86,112z M42,24c-9.925,0-18,8.074-18,18v44c0,9.925,8.075,18,18,18h44c9.926,0,18-8.075,18-18V42 c0-9.926-8.074-18-18-18H42z" fill="%logo_color%"></path></g><g><path d="M64,88c-13.234,0-24-10.767-24-24c0-13.234,10.766-24,24-24s24,10.766,24,24C88,77.233,77.234,88,64,88z M64,48c-8.822,0-16,7.178-16,16s7.178,16,16,16c8.822,0,16-7.178,16-16S72.822,48,64,48z" fill="%logo_color%"></path></g><g><circle cx="89.5" cy="38.5" fill="%logo_color%" r="5.5"></circle></g></g></svg></span></a>',
|
67 |
-
'yummly' => '<a class="heateor_sss_yummly" href="http://www.yummly.com/urb/verify?url=%encoded_post_url%&title=%post_title%" title="Yummly" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg" style="background-color:#e16120;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 30 30"><path stroke="%logo_color%" class="heateor_sss_svg_stroke
|
68 |
-
'buffer' => '<a class="heateor_sss_button_buffer" href="https://buffer.com/add?url=%encoded_post_url%&title=%post_title%" title="Buffer" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_buffer" style="background-color:#000;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-4 -4 38 39"><path stroke="%logo_color%" class="heateor_sss_svg_stroke" d="M 15 6 l -10 5 l 10 5 l 10 -5 z" stroke-width="0" fill="%logo_color%"></path><path class="heateor_sss_svg_stroke
|
69 |
'AIM' => '<a class="heateor_sss_button_aim" href="http://lifestream.aol.com/?url=%encoded_post_url%&title=%post_title%" title="AIM" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_aim" style="background-color:#10ff00;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32"><path fill="%logo_color%" d="M16.75 16.548c-.24.558-.465 1.08-.707 1.646 2.756 1.873 5.48 3.752 7.615 6.453l-2.11 1.43c-.708-.768-1.364-1.59-2.132-2.29-1.047-.958-2.156-1.85-3.557-2.285-.585-.183-.98-.086-1.39.41-1.527 1.862-3.26 3.49-5.476 4.522-1.368.64-1.368.642-1.972-.695-.178-.39-.346-.785-.54-1.226 1.827-.433 3.38-1.246 4.62-2.62.74-.822 1.166-1.716 1.26-2.856.17-2.103.628-4.15 1.828-5.95.534-.797 1.768-.98 2.493-.37.062.046.11.126.13.2.48 1.81 2.08 2.005 3.58 1.63.573-.146 1.118-.404 1.73-.63l1.07 1.483c-1.903 1.718-4.075 1.73-6.444 1.145zm.842-12.054c1.78.02 3.254 1.57 3.22 3.386-.032 1.734-1.62 3.284-3.325 3.246-1.822-.04-3.326-1.604-3.284-3.418.038-1.8 1.555-3.236 3.39-3.214z"></path></svg></span></a>',
|
70 |
'Amazon_Wish_List' => '<a class="heateor_sss_button_amazon_wish_list" href="http://www.amazon.com/wishlist/add?u=%encoded_post_url%&t=%post_title%" title="Amazon Wish List" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_amazon_wish_list" style="background-color:#ffe000;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32"><path fill="%logo_color%" d="M24.998 23.842c-.127 0-.256.03-.377.086-.132.055-.27.117-.4.172l-.194.08-.25.1v.005c-2.72 1.102-5.573 1.748-8.215 1.805-.097.004-.193.004-.29.004-4.153.003-7.544-1.926-10.964-3.823-.12-.06-.24-.094-.36-.094-.156 0-.313.058-.43.164-.114.106-.183.266-.182.426 0 .207.112.395.267.52 3.21 2.786 6.73 5.376 11.46 5.378.094 0 .188-.002.28-.004 3.01-.07 6.415-1.085 9.058-2.745l.016-.01c.346-.207.69-.44 1.018-.703.205-.15.346-.385.344-.63-.01-.435-.377-.73-.775-.73zm3.666-1.54c-.012-.265-.068-.466-.178-.632l-.01-.016-.015-.02c-.11-.12-.216-.167-.333-.218-.347-.133-.853-.205-1.46-.207-.437 0-.92.04-1.4.143l-.002-.03-.486.16-.01.006-.276.09v.012c-.322.136-.615.302-.89.498-.167.13-.31.297-.317.556-.004.14.066.3.185.395.12.097.257.13.378.13.027 0 .055 0 .078-.005l.023-.002.018-.003c.238-.053.586-.085.992-.144.347-.037.72-.066 1.04-.066.225 0 .43.014.57.045.07.016.12.032.15.05.01.003.016.007.02.01.006.02.016.067.014.14.004.268-.11.767-.266 1.25-.152.487-.338.974-.46 1.298-.03.075-.048.157-.048.247-.003.13.05.287.16.393.11.104.255.145.374.145h.006c.18-.002.332-.07.463-.176 1.236-1.112 1.666-2.888 1.684-3.888l-.003-.16z"/><path d="M17.355 10.384c-.728.055-1.565.11-2.404.222-1.282.17-2.57.39-3.63.896-2.07.838-3.467 2.627-3.467 5.254 0 3.3 2.124 4.98 4.81 4.98.894 0 1.622-.114 2.29-.28 1.064-.336 1.958-.95 3.02-2.07.614.838.782 1.23 1.844 2.125.278.114.558.114.78-.052.673-.56 1.85-1.568 2.462-2.125.28-.224.224-.56.056-.837-.613-.783-1.23-1.455-1.23-2.965V10.5c0-2.125.167-4.082-1.397-5.534-1.285-1.173-3.3-1.62-4.864-1.62h-.672c-2.85.164-5.868 1.395-6.54 4.918-.11.447.226.613.45.67l3.13.39c.336-.055.502-.336.56-.613.278-1.23 1.284-1.845 2.4-1.96h.227c.67 0 1.397.28 1.79.84.447.67.39 1.568.39 2.35v.446zm-.613 6.65c-.393.782-1.063 1.286-1.79 1.456-.112 0-.28.055-.448.055-1.228 0-1.956-.95-1.956-2.35 0-1.788 1.06-2.627 2.402-3.018.727-.167 1.567-.225 2.405-.225v.672c0 1.287.057 2.292-.613 3.41z" fill="%logo_color%"/></svg></span></a>',
|
71 |
'AOL_Mail' => '<a class="heateor_sss_button_aoL_mail" href="http://webmail.aol.com/25045/aol/en-us/Mail/compose-message.aspx?subject=%post_title%&body=%encoded_post_url%" title="AOL Mail" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_aoL_mail" style="background-color:#2a2a2a;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32"><path d="M17.334 13.26c-2.315 0-4.067 1.8-4.067 4.027 0 2.35 1.824 4.03 4.067 4.03 2.243 0 4.062-1.68 4.062-4.03 0-2.228-1.744-4.027-4.062-4.027zm0 2.127c1-.007 1.82.847 1.82 1.9 0 1.048-.82 1.9-1.82 1.9s-1.818-.853-1.818-1.9c0-1.053.817-1.9 1.818-1.9zm11.59 4.518c0 .778-.63 1.412-1.41 1.412-.778 0-1.41-.634-1.41-1.412 0-.778.632-1.408 1.41-1.408.78 0 1.41.63 1.41 1.408zm-4.104 1.418h-2.216v-10.28h2.216v10.28zM9.33 11.04s2.585 6.79 3.862 10.13c.015.037.028.078.047.132-.06.006-.105.01-.15.01-.83.002-1.664-.003-2.497.004-.12.002-.17-.04-.204-.156-.116-.385-.247-.766-.365-1.147-.032-.11-.074-.153-.193-.153-1.066.006-2.132.006-3.2 0-.1 0-.142.03-.173.13-.127.405-.26.81-.39 1.21-.02.076-.05.117-.136.117-.874-.006-1.75-.004-2.624-.004-.016 0-.036-.005-.07-.012.023-.06.04-.116.064-.17 1.286-3.307 3.91-10.086 3.91-10.086H9.33zm-.023 6.674c-.343-1.147-.68-2.274-1.02-3.4h-.03l-1.017 3.4h2.067z" fill="%logo_color%"/></svg></span></a>',
|
72 |
'App.net' => '<a class="heateor_sss_button_app_net" href="https://account.app.net/login/" title="App.net" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_app_net" style="background-color:#5d5d5d;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32"><path fill="%logo_color%" d="M16 7.158L4.156 25h2.422l2.695-4h13.453l2.695 4h2.425L16 7.158zM10.82 19L16 11.2l5.178 7.8H10.82z"/></svg></span></a>',
|
73 |
-
'Balatarin' => '<a class="heateor_sss_button_balatarin" href="https://www.balatarin.com/login" title="Balatarin" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_balatarin" style="background-color:#fff;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32"><path fill="#B90E10" class="
|
74 |
'BibSonomy' => '<a class="heateor_sss_button_bibsonomy" href="http://www.bibsonomy.org/login" title="BibSonomy" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_bibsonomy" style="background-color:#000;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-7 -7 46 46"><path fill="%logo_color%" d="M25.058 25.892c-.25 0-.484.065-.694.17l-5.907-8.2a1.548 1.548 0 0 0 .344-1.68l4.28-2.573c.288.333.71.552 1.187.552.862 0 1.56-.7 1.56-1.56 0-.776-.567-1.415-1.31-1.535V6.11a1.556 1.556 0 0 0-.25-3.095c-.862 0-1.56.7-1.56 1.56 0 .196.04.383.106.556l-4.256 2.477a1.548 1.548 0 0 0-1.2-.574c-.862 0-1.56.7-1.56 1.56 0 .778.567 1.417 1.31 1.537v5.1c-.218.035-.42.112-.598.23L9.93 8.204c.213-.268.345-.6.345-.97a1.56 1.56 0 1 0-.712 1.309l6.575 7.25c-.213.267-.345.6-.345.968 0 .23.054.45.144.647L8.08 22.66a1.547 1.547 0 0 0-1.138-.5 1.56 1.56 0 1 0 1.56 1.56c0-.23-.053-.45-.144-.646l7.857-5.25c.07.076.147.144.23.204l-1.95 3.927a1.536 1.536 0 0 0-.457-.076c-.862 0-1.56.695-1.56 1.56a1.56 1.56 0 1 0 2.468-1.27l1.95-3.926c.146.045.297.076.458.076.25 0 .484-.064.694-.17l5.907 8.2a1.56 1.56 0 1 0 1.103-.459zM18.914 8.59c0-.197-.04-.383-.106-.556l4.257-2.473c.236.29.567.49.95.55v4.96a1.558 1.558 0 0 0-1.197 2.115l-4.278 2.573a1.542 1.542 0 0 0-.935-.53v-5.102a1.555 1.555 0 0 0 1.31-1.534z"/></svg></span></a>',
|
75 |
'Bitty_Browser' => '<a class="heateor_sss_button_bitty_browser" href="http://www.bitty.com/manual/?contenttype=&contentvalue=%encoded_post_url%" title="Bitty Browser" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_Bitty_Browser" style="background-color:#3d3c3b;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32"><path fill="%logo_color%" d="M4 4h12v12H4z"/><path fill="%logo_color%" d="M20 4v16H4v8h24V4"/></svg></span></a>',
|
76 |
'Blinklist' => '<a class="heateor_sss_button_blinklist" href="http://blinklist.com/blink?t=%post_title%&d=&u=%encoded_post_url%" title="Blinklist" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_blinklist" style="background-color:#3d3c3b;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32"><g fill="%logo_color%"><path d="M3 10.35v11.3l8.977-5.418"/><path d="M17.55 27.454c-4.397 0-8.314-2.39-10.205-6.36l1.675-1.04c1.558 3.274 4.906 5.388 8.53 5.388 5.204 0 9.438-4.235 9.438-9.44 0-5.208-4.233-9.443-9.44-9.443-3.804 0-7.22 2.26-8.7 5.763l-1.733-1.057c1.798-4.25 5.82-6.72 10.434-6.72C23.86 4.546 29 9.683 29 15.996c0 6.317-5.136 11.457-11.45 11.457z"/><path d="M11.425 18.623c1.02 2.406 3.403 4.09 6.18 4.09 3.71 0 6.715-3.006 6.715-6.712 0-3.71-3.005-6.712-6.714-6.712-2.887 0-5.35 1.823-6.295 4.38l3.958 2.566-3.84 2.39z"/></g></svg></span></a>',
|
77 |
-
'Blogger_Post' => '<a class="heateor_sss_button_blogger_post" href="https://www.blogger.com/blog_this.pyra?t&u=%encoded_post_url%&l&n=%post_title%" title="Blogger Post" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_Blogger_Post" style="background-color:#535353;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32"><path stroke="%logo_color%" class="heateor_sss_svg_stroke
|
78 |
'BlogMarks' => '<a class="heateor_sss_button_blogmarks" href="http://blogmarks.net/my/new.php?mini=1&simple=1&title=%post_title%&url=%encoded_post_url%" title="BlogMarks" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_blogmarks" style="background-color:#535353;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32"><path fill="#A3DE38" d="M22.762 18.917L17.646 16l-8.408-4.795V29l13.524-7.71"/><path fill="%logo_color%" d="M22.762 10.71L9.238 3v8.204l8.408 4.794 5.116-2.915"/></svg></span></a>',
|
79 |
'Bookmarks.fr' => '<a class="heateor_sss_button_bookmarks_fr" href="http://www.bookmarks.fr/Connexion/?action=add&address=%encoded_post_url%&title=%post_title%" title="Bookmarks.fr" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_bookmarks_fr" style="background-color:#e8ead4;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32"><path fill="#CC3467" d="M27.256 9.5c-2.188-3.79-6.36-.54-7.83 2.205 1.073.86 1.802 2.112 2.006 3.475 3.103.094 8.023-1.873 5.824-5.68-.7-1.212.515.894 0 0z"/><path fill="#96C044" d="M15.998 3c-4.368 0-3.664 5.23-2.013 7.886 1.283-.505 2.74-.505 4.023 0C19.66 8.23 20.366 3 15.998 3z"/><path fill="#CC3467" d="M9.255 8.294c-1.108-.64-2.42-.918-3.49-.053-.96.78-1.79 2.268-1.617 3.538.352 2.564 4.32 3.468 6.416 3.405.204-1.363.934-2.618 2.01-3.477-.67-1.256-1.898-2.59-3.32-3.41-.71-.41 1.422.82 0 0z"/><path fill="#96C044" d="M11.426 19.05c-.447-.67-.744-1.435-.862-2.23-2.785-.084-7.768 1.608-6.056 5.24 2.023 4.292 6.448 1.248 8.063-1.765-.44-.354-.83-.773-1.142-1.246-.132-.198.314.47 0 0z"/><path fill="#CC3467" d="M18.202 21.458c-.064-.12-.13-.232-.198-.342-1.28.503-2.737.503-4.02 0C12.338 23.766 11.624 29 16 29c4.218 0 3.67-4.848 2.204-7.542-.064-.12.678 1.243 0 0z"/><path fill="#96C044" d="M27.83 20.088c-.478-2.46-4.326-3.33-6.398-3.27-.204 1.364-.933 2.617-2.007 3.476.934 1.744 2.858 3.73 4.913 4.006 2.043.276 3.853-2.332 3.49-4.212-.153-.8.137.706 0 0z"/></svg></span></a>',
|
80 |
'Box.net' => '<a class="heateor_sss_button_box_net" href="https://www.box.com/api/1.0/import?url=%encoded_post_url%&name=%post_title%&description=&import_as=link" title="Box.net" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_box" style="background-color:#1a74b0;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32"><path fill="%logo_color%" d="M16.49 11.36c-1.653 0-3.18.524-4.434 1.41V6.543a1.617 1.617 0 0 0-3.235 0v11.903c-.017.2.002 1.37.055 1.7.53 3.73 3.73 6.604 7.61 6.604a7.693 7.693 0 0 0 7.692-7.696 7.694 7.694 0 0 0-7.695-7.695zm0 12.126a4.432 4.432 0 0 1-4.434-4.432 4.432 4.432 0 1 1 8.863 0 4.433 4.433 0 0 1-4.434 4.432z"></path></svg></span></a>',
|
@@ -93,9 +93,9 @@ class Sassy_Social_Share_Sharing_Networks {
|
|
93 |
'Flipboard' => '<a class="heateor_sss_button_flipboard" href="https://share.flipboard.com/bookmarklet/popout?v=2&url=%encoded_post_url%&title=%post_title%" title="Flipboard" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_flipboard" style="background-color:#c00;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32"><path fill="%logo_color%" d="M19 19H7V7h12v12z"/><path fill="%logo_color%" d="M25 13H7V7h18v6z"/><path fill="%logo_color%" d="M13 25H7V7h6v18z"/></svg></span></a>',
|
94 |
'Folkd' => '<a class="heateor_sss_button_folkd" href="http://www.folkd.com/page/social-bookmarking.html?addurl=%encoded_post_url%" title="Folkd" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_folkd" style="background-color:#0f70b2;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32"><path fill="%logo_color%" d="M19.956 10.21c-.183.192-.613.138-.99.14-.102.317-.126.71-.283.974.626.496 1.85.406 2.405.972 1.197-.444.245-1.354.99-2.085 1.134-.14 1.386.588 1.697 1.254-.267.247-.936.102-1.415.14-.26.208-.333.6-.565.833.258.58.96.724 1.133 1.39 1.454-.376 2.954-.71 4.526-.973.41-.43.317-1.356.99-1.53 1.104.213 1.46 1.16 1.556 2.363-.586 1.043-2.1.605-2.546-.277-1.465.226-2.867.52-4.245.832-.11.325.1 1.263-.144 1.81.926.625 1.29-.49 2.122-.42.48.503.495 2.374-.566 2.224-.604-.053-.674-.634-.708-1.25-.432.1-.515-.143-.85-.14-.646.383-.97 1.083-1.695 1.39.094 1.236 1.462.38 2.12.974-.057 1.01-.8 1.345-1.838 1.39-.066-.836.216-1.503-.707-1.945-.94.142-1.37.782-2.264.973-.013.43.175.664.284.972.248.17 1.165-.21 1.415.278-.01 1.075-1.473 1.828-2.264 1.25-.063-.616.382-.734.565-1.11-.267-.293-.405-.713-.564-1.112-.878.342-1.665.773-2.83.834.004.327-.243.41-.14.833-.056.518.68.26.706.696.24 1.26-1.777 1.455-2.12.555-.03-.86 1.033-.65.706-1.808-.713-.274-1.917-.063-2.55-.417-.374.14-.382.644-.706.835.065.4.5.436.425.974-.925.36-2.313.07-2.12-1.114.533-.615 1.49-.076 1.835-.973-.557-.656-1.166-1.263-1.413-2.223-2.124.464-3.843 1.323-5.8 1.947-.187.467-.196 1.107-.566 1.39-.59.148-.625.036-1.273 0-.56-.854-.257-2.7.85-2.78.61-.135.41.523.85.557 2.016-.472 3.78-1.195 5.8-1.667-.433-2.485 3.206-4.233-.85-3.893-.396-1.225.373-2.164 1.13-2.085 1.273.132.285 1.725 1.273 2.224.908-.498 1.543-1.263 2.69-1.53.08-.45-.097-.646-.143-.972-.088-.33-.87.02-.99-.28v-.97c.46-.426 1.663-.355 1.98.138.114.623-.25.773-.706.834.037.427.308.626.424.972.9-.37 2.268-.273 3.538-.277.2-.17.266-.48.28-.836.108-.522-.75-.095-.564-.694.156-1.48 2.125-.633 2.12.416zm1.132 6.256c.652-.378.368-1.677.424-2.64-1.742-1.426-2.885 2.7-.424 2.64zm-6.224 1.53c1.3.173 3.114-1.23 2.97-2.502-.14-1.227-2.55-2.332-3.96-1.67-1.815.858-.44 3.98.99 4.17z"/></svg></span></a>',
|
95 |
'GentleReader' => '<a class="heateor_sss_button_gentlereader" href="https://app.gentlereader.com/bookmark?url=%encoded_post_url%" title="GentleReader" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_GentleReader" style="background-color:#46aecf;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-80 -80.014 1200.014 1200"><path fill-rule="evenodd" clip-rule="evenodd" fill="%logo_color%" d="M819.664,291.684C572.661-7.32,155.656,203.683,169.656,527.687 c38,489.007,727.009,448.006,683.009-28H562.661v98h177.002c-54.721,270.685-443.659,218.617-464.179-77.827 c-0.48-6.934,1.493-36.96,3.053-44.641c44.28-217.95,300.377-317.791,467.126-110.535L819.664,291.684z"></path></svg></span></a>',
|
96 |
-
'Google_Bookmarks' => '<a class="heateor_sss_button_google_bookmarks" href="https://www.google.com/bookmarks/mark?op=edit&bkmk=%encoded_post_url%&title=%post_title%&annotation=" title="Google Bookmarks" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_Google_Bookmarks" style="background-color:#cb0909;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-2 10 80 80"><path d="M 51.22877660575707 38.19080770219705 A 17 17 0 1 0 56 50.00000000000001 h -17" stroke="%logo_color%" class="heateor_sss_svg_stroke
|
97 |
'Google_Classroom' => '<a class="heateor_sss_button_google_classroom" href="https://classroom.google.com/u/0/share?url=%encoded_post_url%" title="Google Classroom" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_Google_Classroom" style="background-color:#ffc112;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-2 2 36 36"><g fill="%logo_color%"><path d="M22.667 16.667a1.667 1.667 0 1 0 0-3.334 1.667 1.667 0 0 0 0 3.334zM22.333 18c-1.928 0-4 .946-4 2.117v1.217h8v-1.217c0-1.17-2.072-2.117-4-2.117zm-13-1.333a1.668 1.668 0 1 0-.002-3.336 1.668 1.668 0 0 0 .002 3.336zM9.667 18c-1.928 0-4 .946-4 2.117v1.217h8v-1.217c0-1.17-2.072-2.117-4-2.117z"/><path d="M15.335 15.333A2.332 2.332 0 1 0 13 13a2.333 2.333 0 0 0 2.335 2.333zm.332 1.334c-2.572 0-5.333 1.392-5.333 3.11v1.557H21v-1.556c0-1.72-2.762-3.11-5.333-3.11zm3 10.666h8v2h-8v-2z"/></g></svg></span></a>',
|
98 |
-
'Google_Gmail' => '<a class="heateor_sss_button_google_gmail" href="https://mail.google.com/mail/?ui=2&view=cm&fs=1&tf=1&su=%post_title%&body=Link:%encoded_post_url%" title="Google Gmail" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_Google_Gmail" style="background-color:#
|
99 |
'Hacker_News' => '<a class="heateor_sss_button_hacker_news" href="https://news.ycombinator.com/submitlink?u=%encoded_post_url%&t=%post_title%" title="Hacker_News" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_Hacker_News" style="background-color:#00a6db;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32"><path fill="%logo_color%" d="M17.275 17.834v7.13h-2.602v-7.182L9 7.035h3.07l2.967 6.115c.365.755.702 1.51.988 2.316.312-.728.65-1.483 1.042-2.29l3.018-6.142H23l-5.725 10.8z"/></svg></span></a>',
|
100 |
'Hatena' => '<a class="heateor_sss_button_hatena" href="http://b.hatena.ne.jp/bookmarklet?url=%encoded_post_url%&btitle=%post_title%" title="Hatena" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_hatena" style="background-color:#00a6db;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32"><g fill="%logo_color%"><path d="M6.96 8.33h7.328c1.247 0 2.206.366 2.875 1.098.666.733 1.002 1.64 1.002 2.72 0 .91-.24 1.688-.715 2.336-.318.433-.784.773-1.396 1.023.928.266 1.614.72 2.05 1.367.44.645.66 1.457.66 2.432 0 .795-.157 1.512-.468 2.146-.314.635-.74 1.14-1.28 1.508-.337.23-.842.396-1.52.502-.9.14-1.498.21-1.79.21H6.958V8.328zm3.877 6.017h1.74c.623 0 1.058-.13 1.302-.382.24-.255.364-.623.364-1.104 0-.442-.123-.793-.366-1.045-.245-.25-.67-.377-1.276-.377h-1.767v2.91zm0 6.027h2.038c.69 0 1.176-.145 1.458-.434.282-.29.425-.68.425-1.168 0-.453-.142-.818-.42-1.092-.28-.277-.77-.414-1.47-.414h-2.03v3.108zM21.213 8.52h3.584v9.58h-3.584z"/><circle cx="23.005" cy="21.635" r="2.036"/></g></svg></span></a>',
|
101 |
'Instapaper' => '<a class="heateor_sss_button_instapaper" href="http://www.instapaper.com/edit?url=%encoded_post_url%&title=%post_title%" title="Instapaper" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_instapaper" style="background-color:#ededed;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32"><path fill="%logo_color%" d="M11.98 5.5h8.04v1.265h-.62c-.582 0-1.004.08-1.264.242-.262.162-.453.39-.572.69-.12.297-.182.874-.182 1.732v13.53c0 .683.064 1.167.195 1.453.13.286.313.494.55.625.234.13.658.196 1.27.196h.618V26.5H11.98v-1.265h.662c.592 0 1.012-.067 1.258-.203.246-.135.424-.33.533-.587.11-.256.166-.75.166-1.483V9.112c0-.776-.057-1.3-.168-1.567-.11-.268-.287-.465-.533-.59-.247-.128-.667-.19-1.26-.19h-.66V5.5z"/></svg></span></a>',
|
@@ -110,7 +110,7 @@ class Sassy_Social_Share_Sharing_Networks {
|
|
110 |
'Mendeley' => '<a class="heateor_sss_button_mendeley" href="https://www.mendeley.com/sign-in/" title="Mendeley" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_mendeley" style="background-color:#a70805;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32"><path fill="%logo_color%" d="M26.596 18.11c-1.466-.087-2.02-.834-1.93-2.164.076-1.113.274-2.22.418-3.327-.023-1.743-.942-3.13-2.488-3.59-1.583-.47-2.97-.14-4.102 1.15-2.322 2.646-2.616 2.634-5.023-.045-1.152-1.28-2.852-1.66-4.39-.98-1.5.667-2.37 2.237-2.15 3.954.08.625.278 1.235.377 1.863.338 2.122-.105 2.7-2.226 3.147-1.066.228-1.913.786-2.05 1.99-.137 1.22.17 2.39 1.404 2.75.77.226 1.853.084 2.55-.32.96-.553 1.064-1.64.733-2.74-.62-2.05-.027-3.04 2.115-3.34.836-.117 1.766-.022 2.568.235 1.302.41 1.692 1.373 1.175 2.65-.45 1.1-.443 2.09.39 2.984.84.9 2.417 1.08 3.518.435 1.12-.657 1.497-1.807 1.042-3.164-.608-1.814-.085-2.783 1.807-3.123.7-.126 1.463-.113 2.16.025 1.834.367 2.377 1.377 1.84 3.188-.504 1.698.196 3.09 1.72 3.43 1.332.295 2.624-.607 2.89-2.022.308-1.633-.593-2.882-2.344-2.988zm-10.71-.085c-1.374-.06-2.453-1.194-2.445-2.57.01-1.46 1.148-2.567 2.61-2.54 1.467.026 2.57 1.177 2.523 2.627-.05 1.43-1.255 2.545-2.687 2.483z"/></svg></span></a>',
|
111 |
'Meneame' => '<a class="heateor_sss_button_meneame" href="https://www.meneame.net/submit.php?url=%encoded_post_url%" title="Meneame" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_meneame" style="background-color:#ff7d12;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32"><g fill="%logo_color%"><path d="M25.514 10.435c-1.582 1.605-4.438 1.56-5.502 3.726-.906 2.57 1.23 6.677 2.12 9.02.603 1.21-4.716 2.378-4.065 2.677 3.754-.043 5.354-1.412 4.904-3.094-.43-1.607-2.376-4.816-2.376-7.383.056-1.938 2.222-2.533 3.618-3.322 1.622-.727 3.14-2.35 2.72-4.25-.018-.672-1.187-2.907-.71-1.175.26 1.278.385 2.856-.706 3.802z"/><path d="M20.632 7.546C18.59 6.492 16.32 5.854 13.946 6.41c-1.277.236-2.78.933-3.637 2.1-1.123 1.34-1.166 3.288-.43 4.82.57 1.18 1.44 2.492 2.85 2.688 1.21.182 2.54.018 3.566-.683-1.223.21-2.64.646-3.736-.172-1.842-1.177-2.735-3.85-1.618-5.8.898-1.7 2.705-2.178 4.62-2.262 2.55-.11 4.995 1.345 5.934 1.7.903.285 2.2.645 2.844-.315.376-.446.226-1.674-.08-1.788.09.86-.543 1.943-1.524 1.66-.736-.17-1.41-.523-2.104-.81zM6.94 15.156c-1.183 1.865-2.264 4.05-1.85 6.322.38 2.375 2.678 4.05 4.963 4.35 2.348.273 4.69.205 7.043.035.397-.385-1.92-.373-2.895-.514-2.224-.254-4.64-.3-6.55-1.623-1.775-1.33-2.01-3.938-1.155-5.863.714-1.814 1.782-3.568 2.903-5.084-.876.727-1.683 1.27-2.456 2.376z"/><path d="M12.787 21.02c1.386.107 3.688-.032 4.768.724.387.582-.332 3.802-.084 4.174.553.162 1.186-3.773.836-4.75-.266-.75-4.966-.352-5.518-.147z"/></g></svg></span></a>',
|
112 |
'mix' => '<a class="heateor_sss_button_mix" href="https://mix.com/mixit?url=%encoded_post_url%" title="Mix" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_mix" style="background-color:#ff8226;%span_style%"><svg focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-7 -8 45 45"><g fill="%logo_color%"><path opacity=".8" d="M27.87 4.125c-5.224 0-9.467 4.159-9.467 9.291v2.89c0-1.306 1.074-2.362 2.399-2.362s2.399 1.056 2.399 2.362v1.204c0 1.306 1.074 2.362 2.399 2.362s2.399-1.056 2.399-2.362V4.134c-.036-.009-.082-.009-.129-.009"/><path d="M4 4.125v12.94c2.566 0 4.668-1.973 4.807-4.465v-2.214c0-.065 0-.12.009-.176.093-1.213 1.13-2.177 2.39-2.177 1.325 0 2.399 1.056 2.399 2.362v9.226c0 1.306 1.074 2.353 2.399 2.353s2.399-1.056 2.399-2.353v-6.206c0-5.132 4.233-9.291 9.467-9.291H4z"/><path opacity=".8" d="M4 17.074v8.438c0 1.306 1.074 2.362 2.399 2.362s2.399-1.056 2.399-2.362V12.61C8.659 15.102 6.566 17.074 4 17.074"/></g></svg></span></a>',
|
113 |
-
'Mixi' => '<a class="heateor_sss_button_mixi" href="https://mix.com/mixit?url=%encoded_post_url%" title="Mixi" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_mixi" style="background-color:#ededed;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32"><path class="
|
114 |
'MySpace' => '<a class="heateor_sss_button_myspace" href="https://myspace.com" title="MySpace" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_myspace" style="background-color:#2a2a2a;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32"><g fill="%logo_color%"><path d="M24 17.716c-2.21 0-4 1.79-4 4v1.712h8v-1.713c0-2.21-1.79-4-4-4z"/><circle cx="24" cy="12.571" r="3.999"/><path d="M15.147 18.31c-2.054 0-3.72 1.66-3.72 3.71v1.408h7.437c.002-.615.002-1.148.002-1.408 0-2.05-1.664-3.71-3.72-3.71z"/><ellipse cx="15.147" cy="13.446" rx="3.719" ry="3.71"/><path d="M7.148 18.875C5.41 18.875 4 20.277 4 22.008v1.42h6.295c.002-.636.002-1.178.002-1.42 0-1.73-1.41-3.133-3.15-3.133z"/><ellipse cx="7.148" cy="14.58" rx="3.148" ry="3.133"/></g></svg></span></a>',
|
115 |
'Netvouz' => '<a class="heateor_sss_button_netvouz" href="http://www.netvouz.com/action/submitBookmark?url=%encoded_post_url%&title=%post_title%&popup=no&description=" title="Netvouz" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_netvouz" style="background-color:#c0ff00;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-0.5 0 32 32"><path fill="%logo_color%" d="M10.25 8.72v17.184H5.5V6.096h8.396l5.605 5.77v6.43"/><path fill="%logo_color%" d="M21.75 23.28V6.095h4.75v19.808h-8.396L12.5 20.13v-6.427"/></svg></span></a>',
|
116 |
'NewsVine' => '<a class="heateor_sss_button_NewsVine" href="http://www.newsvine.com/_tools/seed?popoff=0&u=%encoded_post_url%&h=%post_title%" title="NewsVine" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_NewsVine" style="background-color:#f2720c;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32"><path fill="%logo_color%" d="M20.56 21.21c1.558.926 3.202 1.637 4.95 2.122.746.207 1.255.03 1.596-.673.102-.21.25-.404.4-.586 2.322-2.812 1.91-6.988-1.06-7.983.66-.517.662-1.2.47-1.92-.156-.59-.265-1.204-.492-1.767-.514-1.278-.694-2.603-.77-3.964-.047-.814-.1-1.767-1-2.068-.875-.292-1.54.357-2.09.977-1.85 2.082-2.9 4.576-3.644 7.22-.372 1.33-.7 2.676-1.077 4.12-.332-.34-.57-.837-.925-.897-.14-.376-.74-2.2.177-3.78.02-.008.033-.022.047-.037l.174-.22c.05-.063.037-.15-.024-.2-.06-.048-.15-.037-.196.025l-.174.223c-.033.04-.035.093-.02.138-.84 1.48-.432 3.147-.23 3.76-.422-.616-1.416-1.792-2.95-2.06-.024-.04-.067-.067-.116-.067h-.28c-.08 0-.143.063-.143.14 0 .08.062.142.142.142h.28c.023 0 .043-.007.062-.017 1.54.254 2.51 1.48 2.884 2.046-.38.265.127.786.08 1.276-1.986-1.483-4.072-2.605-6.244-3.572-1.956-.87-3.89-1.798-6.008-2.233-.47-.097-.977-.107-1.25.41-.25.474-.093.936.19 1.34.153.222.347.434.566.585 2.44 1.678 4.303 3.93 6.212 6.145.446.517.896 1.027 1.665 1.065.25.012.455.132.445.446v.123c.047.827.25 1.5.774 2.28 1.365 1.67 3.08 2.88 5.054 3.7.4.167.73.25 1.01.25.685 0 1.018-.517 1.116-1.578.026-1.45-.42-2.82-.863-4.154.352-.27.517.24.788.065.237-.33-.216-.68.018-1.08.172.097.316.173.456.256z"/></svg></span></a>',
|
@@ -295,8 +295,8 @@ class Sassy_Social_Share_Sharing_Networks {
|
|
295 |
|
296 |
$fb_key = '1904103319867886';
|
297 |
$this->sharing_networks['Facebook_Messenger'] = '<a class="heateor_sss_button_facebook_messenger" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_facebook_messenger" style="background-color:#0084ff;%span_style%" onclick=\'heateorSssPopup("' . ( $this->check_if_mobile() ? 'fb-messenger://share/?link=%encoded_post_url%' : 'https://www.facebook.com/dialog/send?app_id='. $fb_key .'&display=popup&link=%encoded_post_url%&redirect_uri=%encoded_post_url%' ) . '")\'><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-2 -2 36 36"><path fill="%logo_color%" d="M16 5C9.986 5 5.11 9.56 5.11 15.182c0 3.2 1.58 6.054 4.046 7.92V27l3.716-2.06c.99.276 2.04.425 3.128.425 6.014 0 10.89-4.56 10.89-10.183S22.013 5 16 5zm1.147 13.655L14.33 15.73l-5.423 3 5.946-6.31 2.816 2.925 5.42-3-5.946 6.31z"/></svg></span></a>';
|
298 |
-
$this->sharing_networks['whatsapp'] = '<a class="heateor_sss_whatsapp" href="https://api.whatsapp.com/send?text=%post_title% %encoded_post_url%" title="Whatsapp" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg" style="background-color:#55eb4c;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-6 -5 40 40"><path class="heateor_sss_svg_stroke
|
299 |
-
$this->sharing_networks['WordPress'] = '<a class="heateor_sss_button_wordpress" href="' . esc_url( home_url() ) . '/wp-admin/press-this.php?u=%encoded_post_url%&t=%post_title%" title="WordPress" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_wordpress" style="background-color:#464646;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32"><
|
300 |
|
301 |
return $this->sharing_networks;
|
302 |
|
57 |
'print' => '<a class="heateor_sss_button_print" href="javascript:void(0)" onclick="window.print()" title="Print" rel="nofollow noopener" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_print" style="background-color:#fd6500;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32"><path fill="%logo_color%" stroke="%logo_color%" stroke-width=".1" d="M4.467 14.305h23.065v6.498H4.467v-6.498z"/><path fill="#DCDCDC" stroke="%logo_color%" stroke-width=".1" d="M5.228 12.83H26.77l.745 1.39H4.485l.743-1.39z"/><path d="M9.19 8.118h13.467v6.106H9.19z"/><path fill="%logo_color%" stroke="%logo_color%" stroke-width=".1" d="M9.844 6.516h12.312v7.31H9.844z"/><path stroke="%logo_color%" stroke-width=".1" d="M8.602 17.37h14.574v3.396H8.602z"/><path fill="%logo_color%" stroke="%logo_color%" stroke-width=".1" d="M10.152 17.97h11.27l2.233 7.515H7.92l2.232-7.514z"/></svg></span></a>',
|
58 |
'email' => '<a class="heateor_sss_email" onclick="window.open(\'mailto:?subject=\' + decodeURIComponent(\'%post_title%\' ).replace(\'&\', \'%26\') + \'&body=\' + decodeURIComponent(\'%encoded_post_url%\' ), \'_blank\')" href="javascript:void(0)" title="Email" rel="nofollow noopener" %anchor_style%><span class="heateor_sss_svg" style="background-color:#649a3f;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-4 -4 43 43"><path d="M 5.5 11 h 23 v 1 l -11 6 l -11 -6 v -1 m 0 2 l 11 6 l 11 -6 v 11 h -22 v -11" stroke-width="1" fill="%logo_color%"></path></svg></span></a>',
|
59 |
'reddit' => '<a class="heateor_sss_button_reddit" href="http://reddit.com/submit?url=%encoded_post_url%&title=%post_title%" title="Reddit" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_reddit" style="background-color:#ff5700;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-3.5 -3.5 39 39"><path d="M28.543 15.774a2.953 2.953 0 0 0-2.951-2.949 2.882 2.882 0 0 0-1.9.713 14.075 14.075 0 0 0-6.85-2.044l1.38-4.349 3.768.884a2.452 2.452 0 1 0 .24-1.176l-4.274-1a.6.6 0 0 0-.709.4l-1.659 5.224a14.314 14.314 0 0 0-7.316 2.029 2.908 2.908 0 0 0-1.872-.681 2.942 2.942 0 0 0-1.618 5.4 5.109 5.109 0 0 0-.062.765c0 4.158 5.037 7.541 11.229 7.541s11.22-3.383 11.22-7.541a5.2 5.2 0 0 0-.053-.706 2.963 2.963 0 0 0 1.427-2.51zm-18.008 1.88a1.753 1.753 0 0 1 1.73-1.74 1.73 1.73 0 0 1 1.709 1.74 1.709 1.709 0 0 1-1.709 1.711 1.733 1.733 0 0 1-1.73-1.711zm9.565 4.968a5.573 5.573 0 0 1-4.081 1.272h-.032a5.576 5.576 0 0 1-4.087-1.272.6.6 0 0 1 .844-.854 4.5 4.5 0 0 0 3.238.927h.032a4.5 4.5 0 0 0 3.237-.927.6.6 0 1 1 .844.854zm-.331-3.256a1.726 1.726 0 1 1 1.709-1.712 1.717 1.717 0 0 1-1.712 1.712z" fill="%logo_color%"/></svg></span></a>',
|
60 |
+
'digg' => '<a class="heateor_sss_button_digg" href="http://digg.com/submit?url=%encoded_post_url%&title=%post_title%" title="Digg" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_digg" style="background-color:#006094;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-5 -5 49 49"><path class="heateor_sss_svg_stroke heateor_sss_no_fill" d="M 6 20 h 10 c 0 -14 -9 -14 -9 0 m 5 0 v 7 m -1 0 v -7 m 4 -7 h 4.5 v -5 h 8 v 8 h -8 v -3 m 8 0 h 4 v 5.5 h -3 v 12 h -4 v -8 m 0 8 h -6.5 v -12 h -2" stroke-width="2" stroke="%logo_color%" fill="none"></path><ellipse cx="11.5" cy="28.5" rx="4" ry="2" fill="%logo_color%"></ellipse></svg></span></a>',
|
61 |
'float_it' => '<a class="heateor_sss_button_float_it" href="http://www.designfloat.com/submit.php?url=%encoded_post_url%&title=%post_title%" title="Float It" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg aheateor_sss_s__default heateor_sss_s_float_it" style="background-color:#53beee;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-3 -3 38 38"><g fill="%logo_color%"><path d="M16 3C8.814 3 3 8.814 3 16s5.814 13 13 13 13-5.814 13-13S23.187 3 16 3zm0 25.152c-6.712 0-12.153-5.44-12.153-12.152C3.847 9.288 9.287 3.848 16 3.848S28.152 9.288 28.152 16c0 6.712-5.44 12.152-12.152 12.152z"/><path d="M22.406 16A6.402 6.402 0 0 0 16 9.593 6.402 6.402 0 0 0 9.593 16 6.4 6.4 0 0 0 16 22.406 6.4 6.4 0 0 0 22.406 16zM16 21.39A5.392 5.392 0 0 1 10.61 16 5.403 5.403 0 0 1 16 10.61 5.393 5.393 0 0 1 21.39 16 5.382 5.382 0 0 1 16 21.39z"/><path d="M13.763 9.187V4.864c-4.475.9-8 4.424-8.898 8.898h4.322a7.226 7.226 0 0 1 4.576-4.575zm9.05 4.576h4.32c-.896-4.475-4.422-8-8.896-8.898v4.322a7.224 7.224 0 0 1 4.575 4.576zm-4.576 9.052v4.322c4.475-.9 8-4.424 8.897-8.9h-4.322a7.232 7.232 0 0 1-4.575 4.578zm-9.05-4.578H4.863c.898 4.475 4.424 8 8.898 8.9v-4.323a7.233 7.233 0 0 1-4.574-4.577z"/></g></svg></span></a>',
|
62 |
'tumblr' => '<a class="heateor_sss_button_tumblr" href="https://www.tumblr.com/widgets/share/tool?posttype=link&canonicalUrl=%encoded_post_url%&title=%post_title%&caption=" title="Tumblr" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg aheateor_sss_s__default heateor_sss_s_tumblr" style="background-color:#29435d;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-2 -2 36 36"><path fill="%logo_color%" d="M20.775 21.962c-.37.177-1.08.33-1.61.345-1.598.043-1.907-1.122-1.92-1.968v-6.217h4.007V11.1H17.26V6.02h-2.925s-.132.044-.144.15c-.17 1.556-.895 4.287-3.923 5.378v2.578h2.02v6.522c0 2.232 1.647 5.404 5.994 5.33 1.467-.025 3.096-.64 3.456-1.17l-.96-2.846z"/></svg></span></a>',
|
63 |
'vkontakte' => '<a class="heateor_sss_button_vkontakte" href="http://vkontakte.ru/share.php?&url=%encoded_post_url%" title="Vkontakte" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_vkontakte" style="background-color:#5e84ac;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-1 -2 34 34"><path fill-rule="evenodd" clip-rule="evenodd" fill="%logo_color%" d="M15.764 22.223h1.315s.394-.044.6-.262c.184-.2.18-.574.18-.574s-.03-1.764.79-2.023c.81-.255 1.844 1.705 2.942 2.46.832.57 1.464.445 1.464.445l2.936-.04s1.538-.097.81-1.304c-.06-.1-.426-.894-2.186-2.526-1.843-1.71-1.594-1.434.624-4.39 1.353-1.804 1.893-2.902 1.724-3.374-.16-.45-1.153-.33-1.153-.33l-3.306.02s-.247-.034-.428.074c-.178.108-.293.356-.293.356s-.522 1.394-1.223 2.58c-1.47 2.5-2.06 2.633-2.3 2.476-.563-.36-.42-1.454-.42-2.23 0-2.423.365-3.435-.72-3.696-.357-.085-.623-.143-1.544-.15-1.182-.014-2.18.003-2.743.28-.378.185-.667.595-.49.62.218.027.713.13.975.49.34.46.33 1.496.33 1.496s.193 2.852-.46 3.206c-.442.245-1.056-.252-2.37-2.52-.67-1.163-1.18-2.446-1.18-2.446s-.1-.24-.273-.37c-.212-.155-.506-.204-.506-.204l-3.145.02s-.473.015-.647.22c-.154.183-.01.56-.01.56s2.46 5.757 5.245 8.657c2.553 2.66 5.454 2.485 5.454 2.485z"/></svg></span></a>',
|
64 |
'pinterest' => '<a class="heateor_sss_button_pinterest" href="javascript:void(0)" onclick="javascript:void( (function() {var e=document.createElement(\'script\' );e.setAttribute(\'type\',\'text/javascript\' );e.setAttribute(\'charset\',\'UTF-8\' );e.setAttribute(\'src\',\'//assets.pinterest.com/js/pinmarklet.js?r=\'+Math.random()*99999999);document.body.appendChild(e)})());" title="Pinterest" rel="nofollow noopener" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_pinterest" style="background-color:#cc2329;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-2 -2 35 35"><path fill="%logo_color%" d="M16.539 4.5c-6.277 0-9.442 4.5-9.442 8.253 0 2.272.86 4.293 2.705 5.046.303.125.574.005.662-.33.061-.231.205-.816.27-1.06.088-.331.053-.447-.191-.736-.532-.627-.873-1.439-.873-2.591 0-3.338 2.498-6.327 6.505-6.327 3.548 0 5.497 2.168 5.497 5.062 0 3.81-1.686 7.025-4.188 7.025-1.382 0-2.416-1.142-2.085-2.545.397-1.674 1.166-3.48 1.166-4.689 0-1.081-.581-1.983-1.782-1.983-1.413 0-2.548 1.462-2.548 3.419 0 1.247.421 2.091.421 2.091l-1.699 7.199c-.505 2.137-.076 4.755-.039 5.019.021.158.223.196.314.077.13-.17 1.813-2.247 2.384-4.324.162-.587.929-3.631.929-3.631.46.876 1.801 1.646 3.227 1.646 4.247 0 7.128-3.871 7.128-9.053.003-3.918-3.317-7.568-8.361-7.568z"/></svg></span></a>',
|
65 |
'xing' => '<a class="heateor_sss_button_xing" href="https://www.xing.com/spi/shares/new?cb=0&url=%encoded_post_url%" title="xing" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_xing" style="background-color:#00797d;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-6 -6 42 42"><path d="M 6 9 h 5 l 4 4 l -5 7 h -5 l 5 -7 z m 15 -4 h 5 l -9 13 l 4 8 h -5 l -4 -8 z" fill="%logo_color%"></path> </svg></span></a>',
|
66 |
'instagram' => '<a class="heateor_sss_button_instagram" href="https://www.instagram.com/%instagram_username%" title="Instagram" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg" style="background-color:#53beee;%span_style%"><svg style="%inner_style%" version="1.1" viewBox="-10 -10 148 148" width="100%" height="100%" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g><g><path d="M86,112H42c-14.336,0-26-11.663-26-26V42c0-14.337,11.664-26,26-26h44c14.337,0,26,11.663,26,26v44 C112,100.337,100.337,112,86,112z M42,24c-9.925,0-18,8.074-18,18v44c0,9.925,8.075,18,18,18h44c9.926,0,18-8.075,18-18V42 c0-9.926-8.074-18-18-18H42z" fill="%logo_color%"></path></g><g><path d="M64,88c-13.234,0-24-10.767-24-24c0-13.234,10.766-24,24-24s24,10.766,24,24C88,77.233,77.234,88,64,88z M64,48c-8.822,0-16,7.178-16,16s7.178,16,16,16c8.822,0,16-7.178,16-16S72.822,48,64,48z" fill="%logo_color%"></path></g><g><circle cx="89.5" cy="38.5" fill="%logo_color%" r="5.5"></circle></g></g></svg></span></a>',
|
67 |
+
'yummly' => '<a class="heateor_sss_yummly" href="http://www.yummly.com/urb/verify?url=%encoded_post_url%&title=%post_title%" title="Yummly" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg" style="background-color:#e16120;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 30 30"><path stroke="%logo_color%" class="heateor_sss_svg_stroke heateor_sss_no_fill" d="M 10.5 10 q 4 -2 2.5 1 l -1 4 q 0 2 5 0 l 1 -6.5 m -1 6.5 l -1 4 c -3 6 -6 -1 0 -1 q 1 -1 5 1" stroke-width="2" fill="none"></path></svg></span></a>',
|
68 |
+
'buffer' => '<a class="heateor_sss_button_buffer" href="https://buffer.com/add?url=%encoded_post_url%&title=%post_title%" title="Buffer" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_buffer" style="background-color:#000;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-4 -4 38 39"><path stroke="%logo_color%" class="heateor_sss_svg_stroke" d="M 15 6 l -10 5 l 10 5 l 10 -5 z" stroke-width="0" fill="%logo_color%"></path><path class="heateor_sss_svg_stroke heateor_sss_no_fill" stroke="%logo_color%" d="M 5.5 14.5 l 9.5 5 l 9.5 -5 m -19 4 l 9.5 5 l 9.5 -5" stroke-width="2" fill="none"></path></svg></span></a>',
|
69 |
'AIM' => '<a class="heateor_sss_button_aim" href="http://lifestream.aol.com/?url=%encoded_post_url%&title=%post_title%" title="AIM" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_aim" style="background-color:#10ff00;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32"><path fill="%logo_color%" d="M16.75 16.548c-.24.558-.465 1.08-.707 1.646 2.756 1.873 5.48 3.752 7.615 6.453l-2.11 1.43c-.708-.768-1.364-1.59-2.132-2.29-1.047-.958-2.156-1.85-3.557-2.285-.585-.183-.98-.086-1.39.41-1.527 1.862-3.26 3.49-5.476 4.522-1.368.64-1.368.642-1.972-.695-.178-.39-.346-.785-.54-1.226 1.827-.433 3.38-1.246 4.62-2.62.74-.822 1.166-1.716 1.26-2.856.17-2.103.628-4.15 1.828-5.95.534-.797 1.768-.98 2.493-.37.062.046.11.126.13.2.48 1.81 2.08 2.005 3.58 1.63.573-.146 1.118-.404 1.73-.63l1.07 1.483c-1.903 1.718-4.075 1.73-6.444 1.145zm.842-12.054c1.78.02 3.254 1.57 3.22 3.386-.032 1.734-1.62 3.284-3.325 3.246-1.822-.04-3.326-1.604-3.284-3.418.038-1.8 1.555-3.236 3.39-3.214z"></path></svg></span></a>',
|
70 |
'Amazon_Wish_List' => '<a class="heateor_sss_button_amazon_wish_list" href="http://www.amazon.com/wishlist/add?u=%encoded_post_url%&t=%post_title%" title="Amazon Wish List" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_amazon_wish_list" style="background-color:#ffe000;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32"><path fill="%logo_color%" d="M24.998 23.842c-.127 0-.256.03-.377.086-.132.055-.27.117-.4.172l-.194.08-.25.1v.005c-2.72 1.102-5.573 1.748-8.215 1.805-.097.004-.193.004-.29.004-4.153.003-7.544-1.926-10.964-3.823-.12-.06-.24-.094-.36-.094-.156 0-.313.058-.43.164-.114.106-.183.266-.182.426 0 .207.112.395.267.52 3.21 2.786 6.73 5.376 11.46 5.378.094 0 .188-.002.28-.004 3.01-.07 6.415-1.085 9.058-2.745l.016-.01c.346-.207.69-.44 1.018-.703.205-.15.346-.385.344-.63-.01-.435-.377-.73-.775-.73zm3.666-1.54c-.012-.265-.068-.466-.178-.632l-.01-.016-.015-.02c-.11-.12-.216-.167-.333-.218-.347-.133-.853-.205-1.46-.207-.437 0-.92.04-1.4.143l-.002-.03-.486.16-.01.006-.276.09v.012c-.322.136-.615.302-.89.498-.167.13-.31.297-.317.556-.004.14.066.3.185.395.12.097.257.13.378.13.027 0 .055 0 .078-.005l.023-.002.018-.003c.238-.053.586-.085.992-.144.347-.037.72-.066 1.04-.066.225 0 .43.014.57.045.07.016.12.032.15.05.01.003.016.007.02.01.006.02.016.067.014.14.004.268-.11.767-.266 1.25-.152.487-.338.974-.46 1.298-.03.075-.048.157-.048.247-.003.13.05.287.16.393.11.104.255.145.374.145h.006c.18-.002.332-.07.463-.176 1.236-1.112 1.666-2.888 1.684-3.888l-.003-.16z"/><path d="M17.355 10.384c-.728.055-1.565.11-2.404.222-1.282.17-2.57.39-3.63.896-2.07.838-3.467 2.627-3.467 5.254 0 3.3 2.124 4.98 4.81 4.98.894 0 1.622-.114 2.29-.28 1.064-.336 1.958-.95 3.02-2.07.614.838.782 1.23 1.844 2.125.278.114.558.114.78-.052.673-.56 1.85-1.568 2.462-2.125.28-.224.224-.56.056-.837-.613-.783-1.23-1.455-1.23-2.965V10.5c0-2.125.167-4.082-1.397-5.534-1.285-1.173-3.3-1.62-4.864-1.62h-.672c-2.85.164-5.868 1.395-6.54 4.918-.11.447.226.613.45.67l3.13.39c.336-.055.502-.336.56-.613.278-1.23 1.284-1.845 2.4-1.96h.227c.67 0 1.397.28 1.79.84.447.67.39 1.568.39 2.35v.446zm-.613 6.65c-.393.782-1.063 1.286-1.79 1.456-.112 0-.28.055-.448.055-1.228 0-1.956-.95-1.956-2.35 0-1.788 1.06-2.627 2.402-3.018.727-.167 1.567-.225 2.405-.225v.672c0 1.287.057 2.292-.613 3.41z" fill="%logo_color%"/></svg></span></a>',
|
71 |
'AOL_Mail' => '<a class="heateor_sss_button_aoL_mail" href="http://webmail.aol.com/25045/aol/en-us/Mail/compose-message.aspx?subject=%post_title%&body=%encoded_post_url%" title="AOL Mail" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_aoL_mail" style="background-color:#2a2a2a;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32"><path d="M17.334 13.26c-2.315 0-4.067 1.8-4.067 4.027 0 2.35 1.824 4.03 4.067 4.03 2.243 0 4.062-1.68 4.062-4.03 0-2.228-1.744-4.027-4.062-4.027zm0 2.127c1-.007 1.82.847 1.82 1.9 0 1.048-.82 1.9-1.82 1.9s-1.818-.853-1.818-1.9c0-1.053.817-1.9 1.818-1.9zm11.59 4.518c0 .778-.63 1.412-1.41 1.412-.778 0-1.41-.634-1.41-1.412 0-.778.632-1.408 1.41-1.408.78 0 1.41.63 1.41 1.408zm-4.104 1.418h-2.216v-10.28h2.216v10.28zM9.33 11.04s2.585 6.79 3.862 10.13c.015.037.028.078.047.132-.06.006-.105.01-.15.01-.83.002-1.664-.003-2.497.004-.12.002-.17-.04-.204-.156-.116-.385-.247-.766-.365-1.147-.032-.11-.074-.153-.193-.153-1.066.006-2.132.006-3.2 0-.1 0-.142.03-.173.13-.127.405-.26.81-.39 1.21-.02.076-.05.117-.136.117-.874-.006-1.75-.004-2.624-.004-.016 0-.036-.005-.07-.012.023-.06.04-.116.064-.17 1.286-3.307 3.91-10.086 3.91-10.086H9.33zm-.023 6.674c-.343-1.147-.68-2.274-1.02-3.4h-.03l-1.017 3.4h2.067z" fill="%logo_color%"/></svg></span></a>',
|
72 |
'App.net' => '<a class="heateor_sss_button_app_net" href="https://account.app.net/login/" title="App.net" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_app_net" style="background-color:#5d5d5d;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32"><path fill="%logo_color%" d="M16 7.158L4.156 25h2.422l2.695-4h13.453l2.695 4h2.425L16 7.158zM10.82 19L16 11.2l5.178 7.8H10.82z"/></svg></span></a>',
|
73 |
+
'Balatarin' => '<a class="heateor_sss_button_balatarin" href="https://www.balatarin.com/login" title="Balatarin" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_balatarin" style="background-color:#fff;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32"><path fill="#B90E10" class="heateor_sss_no_fill" d="M29 17H3v10c0 1.1.9 2 2 2h22c1.1 0 2-.9 2-2V17z"/><path fill="%logo_color%" d="M12 22h8v2h-8z"/><path fill="#079948" class="heateor_sss_no_fill" d="M29 15H3V5c0-1.1.9-2 2-2h22c1.1 0 2 .9 2 2v10z"/><g fill="%logo_color%"><path d="M15 5h2v8h-2z"/><path d="M12 8h8v2h-8z"/></g></svg></span></a>',
|
74 |
'BibSonomy' => '<a class="heateor_sss_button_bibsonomy" href="http://www.bibsonomy.org/login" title="BibSonomy" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_bibsonomy" style="background-color:#000;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-7 -7 46 46"><path fill="%logo_color%" d="M25.058 25.892c-.25 0-.484.065-.694.17l-5.907-8.2a1.548 1.548 0 0 0 .344-1.68l4.28-2.573c.288.333.71.552 1.187.552.862 0 1.56-.7 1.56-1.56 0-.776-.567-1.415-1.31-1.535V6.11a1.556 1.556 0 0 0-.25-3.095c-.862 0-1.56.7-1.56 1.56 0 .196.04.383.106.556l-4.256 2.477a1.548 1.548 0 0 0-1.2-.574c-.862 0-1.56.7-1.56 1.56 0 .778.567 1.417 1.31 1.537v5.1c-.218.035-.42.112-.598.23L9.93 8.204c.213-.268.345-.6.345-.97a1.56 1.56 0 1 0-.712 1.309l6.575 7.25c-.213.267-.345.6-.345.968 0 .23.054.45.144.647L8.08 22.66a1.547 1.547 0 0 0-1.138-.5 1.56 1.56 0 1 0 1.56 1.56c0-.23-.053-.45-.144-.646l7.857-5.25c.07.076.147.144.23.204l-1.95 3.927a1.536 1.536 0 0 0-.457-.076c-.862 0-1.56.695-1.56 1.56a1.56 1.56 0 1 0 2.468-1.27l1.95-3.926c.146.045.297.076.458.076.25 0 .484-.064.694-.17l5.907 8.2a1.56 1.56 0 1 0 1.103-.459zM18.914 8.59c0-.197-.04-.383-.106-.556l4.257-2.473c.236.29.567.49.95.55v4.96a1.558 1.558 0 0 0-1.197 2.115l-4.278 2.573a1.542 1.542 0 0 0-.935-.53v-5.102a1.555 1.555 0 0 0 1.31-1.534z"/></svg></span></a>',
|
75 |
'Bitty_Browser' => '<a class="heateor_sss_button_bitty_browser" href="http://www.bitty.com/manual/?contenttype=&contentvalue=%encoded_post_url%" title="Bitty Browser" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_Bitty_Browser" style="background-color:#3d3c3b;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32"><path fill="%logo_color%" d="M4 4h12v12H4z"/><path fill="%logo_color%" d="M20 4v16H4v8h24V4"/></svg></span></a>',
|
76 |
'Blinklist' => '<a class="heateor_sss_button_blinklist" href="http://blinklist.com/blink?t=%post_title%&d=&u=%encoded_post_url%" title="Blinklist" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_blinklist" style="background-color:#3d3c3b;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32"><g fill="%logo_color%"><path d="M3 10.35v11.3l8.977-5.418"/><path d="M17.55 27.454c-4.397 0-8.314-2.39-10.205-6.36l1.675-1.04c1.558 3.274 4.906 5.388 8.53 5.388 5.204 0 9.438-4.235 9.438-9.44 0-5.208-4.233-9.443-9.44-9.443-3.804 0-7.22 2.26-8.7 5.763l-1.733-1.057c1.798-4.25 5.82-6.72 10.434-6.72C23.86 4.546 29 9.683 29 15.996c0 6.317-5.136 11.457-11.45 11.457z"/><path d="M11.425 18.623c1.02 2.406 3.403 4.09 6.18 4.09 3.71 0 6.715-3.006 6.715-6.712 0-3.71-3.005-6.712-6.714-6.712-2.887 0-5.35 1.823-6.295 4.38l3.958 2.566-3.84 2.39z"/></g></svg></span></a>',
|
77 |
+
'Blogger_Post' => '<a class="heateor_sss_button_blogger_post" href="https://www.blogger.com/blog_this.pyra?t&u=%encoded_post_url%&l&n=%post_title%" title="Blogger Post" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_Blogger_Post" style="background-color:#535353;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32"><path stroke="%logo_color%" class="heateor_sss_svg_stroke heateor_sss_no_fill" stroke-width="2" fill="none" d="M12.393 6.112h4.367c1.61.19 3.96 1.572 4.824 3.41.238.515.363.594.56 2.12.106.786.16 1.367.51 1.69.495.45 2.333.147 2.696.43l.277.22.166.343.06.277-.04 5.048c-.02 3.43-2.81 6.238-6.244 6.238h-7.177c-3.436 0-6.244-2.81-6.244-6.238v-7.29c-.003-3.434 2.806-6.248 6.242-6.248z"/><path fill="none" stroke="%logo_color%" class="heateor_sss_svg_stroke heateor_sss_no_fill" stroke-width="1.5" d="M12.47 11.22h3.464c.66 0 1.195.534 1.195 1.188 0 .653-.538 1.195-1.198 1.195H12.47c-.66 0-1.194-.542-1.194-1.195 0-.654.535-1.19 1.195-1.19zm0 7.15h7.038c.654 0 1.19.534 1.19 1.188 0 .646-.535 1.188-1.19 1.188H12.47c-.66 0-1.194-.54-1.194-1.188 0-.654.535-1.19 1.195-1.19z"/></svg></span></a>',
|
78 |
'BlogMarks' => '<a class="heateor_sss_button_blogmarks" href="http://blogmarks.net/my/new.php?mini=1&simple=1&title=%post_title%&url=%encoded_post_url%" title="BlogMarks" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_blogmarks" style="background-color:#535353;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32"><path fill="#A3DE38" d="M22.762 18.917L17.646 16l-8.408-4.795V29l13.524-7.71"/><path fill="%logo_color%" d="M22.762 10.71L9.238 3v8.204l8.408 4.794 5.116-2.915"/></svg></span></a>',
|
79 |
'Bookmarks.fr' => '<a class="heateor_sss_button_bookmarks_fr" href="http://www.bookmarks.fr/Connexion/?action=add&address=%encoded_post_url%&title=%post_title%" title="Bookmarks.fr" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_bookmarks_fr" style="background-color:#e8ead4;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32"><path fill="#CC3467" d="M27.256 9.5c-2.188-3.79-6.36-.54-7.83 2.205 1.073.86 1.802 2.112 2.006 3.475 3.103.094 8.023-1.873 5.824-5.68-.7-1.212.515.894 0 0z"/><path fill="#96C044" d="M15.998 3c-4.368 0-3.664 5.23-2.013 7.886 1.283-.505 2.74-.505 4.023 0C19.66 8.23 20.366 3 15.998 3z"/><path fill="#CC3467" d="M9.255 8.294c-1.108-.64-2.42-.918-3.49-.053-.96.78-1.79 2.268-1.617 3.538.352 2.564 4.32 3.468 6.416 3.405.204-1.363.934-2.618 2.01-3.477-.67-1.256-1.898-2.59-3.32-3.41-.71-.41 1.422.82 0 0z"/><path fill="#96C044" d="M11.426 19.05c-.447-.67-.744-1.435-.862-2.23-2.785-.084-7.768 1.608-6.056 5.24 2.023 4.292 6.448 1.248 8.063-1.765-.44-.354-.83-.773-1.142-1.246-.132-.198.314.47 0 0z"/><path fill="#CC3467" d="M18.202 21.458c-.064-.12-.13-.232-.198-.342-1.28.503-2.737.503-4.02 0C12.338 23.766 11.624 29 16 29c4.218 0 3.67-4.848 2.204-7.542-.064-.12.678 1.243 0 0z"/><path fill="#96C044" d="M27.83 20.088c-.478-2.46-4.326-3.33-6.398-3.27-.204 1.364-.933 2.617-2.007 3.476.934 1.744 2.858 3.73 4.913 4.006 2.043.276 3.853-2.332 3.49-4.212-.153-.8.137.706 0 0z"/></svg></span></a>',
|
80 |
'Box.net' => '<a class="heateor_sss_button_box_net" href="https://www.box.com/api/1.0/import?url=%encoded_post_url%&name=%post_title%&description=&import_as=link" title="Box.net" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_box" style="background-color:#1a74b0;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32"><path fill="%logo_color%" d="M16.49 11.36c-1.653 0-3.18.524-4.434 1.41V6.543a1.617 1.617 0 0 0-3.235 0v11.903c-.017.2.002 1.37.055 1.7.53 3.73 3.73 6.604 7.61 6.604a7.693 7.693 0 0 0 7.692-7.696 7.694 7.694 0 0 0-7.695-7.695zm0 12.126a4.432 4.432 0 0 1-4.434-4.432 4.432 4.432 0 1 1 8.863 0 4.433 4.433 0 0 1-4.434 4.432z"></path></svg></span></a>',
|
93 |
'Flipboard' => '<a class="heateor_sss_button_flipboard" href="https://share.flipboard.com/bookmarklet/popout?v=2&url=%encoded_post_url%&title=%post_title%" title="Flipboard" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_flipboard" style="background-color:#c00;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32"><path fill="%logo_color%" d="M19 19H7V7h12v12z"/><path fill="%logo_color%" d="M25 13H7V7h18v6z"/><path fill="%logo_color%" d="M13 25H7V7h6v18z"/></svg></span></a>',
|
94 |
'Folkd' => '<a class="heateor_sss_button_folkd" href="http://www.folkd.com/page/social-bookmarking.html?addurl=%encoded_post_url%" title="Folkd" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_folkd" style="background-color:#0f70b2;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32"><path fill="%logo_color%" d="M19.956 10.21c-.183.192-.613.138-.99.14-.102.317-.126.71-.283.974.626.496 1.85.406 2.405.972 1.197-.444.245-1.354.99-2.085 1.134-.14 1.386.588 1.697 1.254-.267.247-.936.102-1.415.14-.26.208-.333.6-.565.833.258.58.96.724 1.133 1.39 1.454-.376 2.954-.71 4.526-.973.41-.43.317-1.356.99-1.53 1.104.213 1.46 1.16 1.556 2.363-.586 1.043-2.1.605-2.546-.277-1.465.226-2.867.52-4.245.832-.11.325.1 1.263-.144 1.81.926.625 1.29-.49 2.122-.42.48.503.495 2.374-.566 2.224-.604-.053-.674-.634-.708-1.25-.432.1-.515-.143-.85-.14-.646.383-.97 1.083-1.695 1.39.094 1.236 1.462.38 2.12.974-.057 1.01-.8 1.345-1.838 1.39-.066-.836.216-1.503-.707-1.945-.94.142-1.37.782-2.264.973-.013.43.175.664.284.972.248.17 1.165-.21 1.415.278-.01 1.075-1.473 1.828-2.264 1.25-.063-.616.382-.734.565-1.11-.267-.293-.405-.713-.564-1.112-.878.342-1.665.773-2.83.834.004.327-.243.41-.14.833-.056.518.68.26.706.696.24 1.26-1.777 1.455-2.12.555-.03-.86 1.033-.65.706-1.808-.713-.274-1.917-.063-2.55-.417-.374.14-.382.644-.706.835.065.4.5.436.425.974-.925.36-2.313.07-2.12-1.114.533-.615 1.49-.076 1.835-.973-.557-.656-1.166-1.263-1.413-2.223-2.124.464-3.843 1.323-5.8 1.947-.187.467-.196 1.107-.566 1.39-.59.148-.625.036-1.273 0-.56-.854-.257-2.7.85-2.78.61-.135.41.523.85.557 2.016-.472 3.78-1.195 5.8-1.667-.433-2.485 3.206-4.233-.85-3.893-.396-1.225.373-2.164 1.13-2.085 1.273.132.285 1.725 1.273 2.224.908-.498 1.543-1.263 2.69-1.53.08-.45-.097-.646-.143-.972-.088-.33-.87.02-.99-.28v-.97c.46-.426 1.663-.355 1.98.138.114.623-.25.773-.706.834.037.427.308.626.424.972.9-.37 2.268-.273 3.538-.277.2-.17.266-.48.28-.836.108-.522-.75-.095-.564-.694.156-1.48 2.125-.633 2.12.416zm1.132 6.256c.652-.378.368-1.677.424-2.64-1.742-1.426-2.885 2.7-.424 2.64zm-6.224 1.53c1.3.173 3.114-1.23 2.97-2.502-.14-1.227-2.55-2.332-3.96-1.67-1.815.858-.44 3.98.99 4.17z"/></svg></span></a>',
|
95 |
'GentleReader' => '<a class="heateor_sss_button_gentlereader" href="https://app.gentlereader.com/bookmark?url=%encoded_post_url%" title="GentleReader" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_GentleReader" style="background-color:#46aecf;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-80 -80.014 1200.014 1200"><path fill-rule="evenodd" clip-rule="evenodd" fill="%logo_color%" d="M819.664,291.684C572.661-7.32,155.656,203.683,169.656,527.687 c38,489.007,727.009,448.006,683.009-28H562.661v98h177.002c-54.721,270.685-443.659,218.617-464.179-77.827 c-0.48-6.934,1.493-36.96,3.053-44.641c44.28-217.95,300.377-317.791,467.126-110.535L819.664,291.684z"></path></svg></span></a>',
|
96 |
+
'Google_Bookmarks' => '<a class="heateor_sss_button_google_bookmarks" href="https://www.google.com/bookmarks/mark?op=edit&bkmk=%encoded_post_url%&title=%post_title%&annotation=" title="Google Bookmarks" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_Google_Bookmarks" style="background-color:#cb0909;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-2 10 80 80"><path d="M 51.22877660575707 38.19080770219705 A 17 17 0 1 0 56 50.00000000000001 h -17" stroke="%logo_color%" class="heateor_sss_svg_stroke heateor_sss_no_fill" stroke-width="8" fill="none"></path></svg></span></a>',
|
97 |
'Google_Classroom' => '<a class="heateor_sss_button_google_classroom" href="https://classroom.google.com/u/0/share?url=%encoded_post_url%" title="Google Classroom" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_Google_Classroom" style="background-color:#ffc112;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-2 2 36 36"><g fill="%logo_color%"><path d="M22.667 16.667a1.667 1.667 0 1 0 0-3.334 1.667 1.667 0 0 0 0 3.334zM22.333 18c-1.928 0-4 .946-4 2.117v1.217h8v-1.217c0-1.17-2.072-2.117-4-2.117zm-13-1.333a1.668 1.668 0 1 0-.002-3.336 1.668 1.668 0 0 0 .002 3.336zM9.667 18c-1.928 0-4 .946-4 2.117v1.217h8v-1.217c0-1.17-2.072-2.117-4-2.117z"/><path d="M15.335 15.333A2.332 2.332 0 1 0 13 13a2.333 2.333 0 0 0 2.335 2.333zm.332 1.334c-2.572 0-5.333 1.392-5.333 3.11v1.557H21v-1.556c0-1.72-2.762-3.11-5.333-3.11zm3 10.666h8v2h-8v-2z"/></g></svg></span></a>',
|
98 |
+
'Google_Gmail' => '<a class="heateor_sss_button_google_gmail" href="https://mail.google.com/mail/?ui=2&view=cm&fs=1&tf=1&su=%post_title%&body=Link:%encoded_post_url%" title="Google Gmail" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_Google_Gmail" style="background-color:#e5e5e5;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32"><path fill="%logo_color%" d="M2.902 6.223h26.195v19.554H2.902z"></path><path fill="#E14C41" class="heateor_sss_no_fill" d="M2.902 25.777h26.195V6.223H2.902v19.554zm22.44-4.007v3.806H6.955v-3.6h.032l.093-.034 6.9-5.558 2.09 1.77 1.854-1.63 7.42 5.246zm0-.672l-7.027-4.917 7.028-6.09V21.1zm-1.17-14.67l-.947.905c-2.356 2.284-4.693 4.75-7.17 6.876l-.078.06L8.062 6.39l16.11.033zm-10.597 9.61l-6.62 5.294.016-10.914 6.607 5.62"></path></svg></span></a>',
|
99 |
'Hacker_News' => '<a class="heateor_sss_button_hacker_news" href="https://news.ycombinator.com/submitlink?u=%encoded_post_url%&t=%post_title%" title="Hacker_News" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_Hacker_News" style="background-color:#00a6db;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32"><path fill="%logo_color%" d="M17.275 17.834v7.13h-2.602v-7.182L9 7.035h3.07l2.967 6.115c.365.755.702 1.51.988 2.316.312-.728.65-1.483 1.042-2.29l3.018-6.142H23l-5.725 10.8z"/></svg></span></a>',
|
100 |
'Hatena' => '<a class="heateor_sss_button_hatena" href="http://b.hatena.ne.jp/bookmarklet?url=%encoded_post_url%&btitle=%post_title%" title="Hatena" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_hatena" style="background-color:#00a6db;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32"><g fill="%logo_color%"><path d="M6.96 8.33h7.328c1.247 0 2.206.366 2.875 1.098.666.733 1.002 1.64 1.002 2.72 0 .91-.24 1.688-.715 2.336-.318.433-.784.773-1.396 1.023.928.266 1.614.72 2.05 1.367.44.645.66 1.457.66 2.432 0 .795-.157 1.512-.468 2.146-.314.635-.74 1.14-1.28 1.508-.337.23-.842.396-1.52.502-.9.14-1.498.21-1.79.21H6.958V8.328zm3.877 6.017h1.74c.623 0 1.058-.13 1.302-.382.24-.255.364-.623.364-1.104 0-.442-.123-.793-.366-1.045-.245-.25-.67-.377-1.276-.377h-1.767v2.91zm0 6.027h2.038c.69 0 1.176-.145 1.458-.434.282-.29.425-.68.425-1.168 0-.453-.142-.818-.42-1.092-.28-.277-.77-.414-1.47-.414h-2.03v3.108zM21.213 8.52h3.584v9.58h-3.584z"/><circle cx="23.005" cy="21.635" r="2.036"/></g></svg></span></a>',
|
101 |
'Instapaper' => '<a class="heateor_sss_button_instapaper" href="http://www.instapaper.com/edit?url=%encoded_post_url%&title=%post_title%" title="Instapaper" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_instapaper" style="background-color:#ededed;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32"><path fill="%logo_color%" d="M11.98 5.5h8.04v1.265h-.62c-.582 0-1.004.08-1.264.242-.262.162-.453.39-.572.69-.12.297-.182.874-.182 1.732v13.53c0 .683.064 1.167.195 1.453.13.286.313.494.55.625.234.13.658.196 1.27.196h.618V26.5H11.98v-1.265h.662c.592 0 1.012-.067 1.258-.203.246-.135.424-.33.533-.587.11-.256.166-.75.166-1.483V9.112c0-.776-.057-1.3-.168-1.567-.11-.268-.287-.465-.533-.59-.247-.128-.667-.19-1.26-.19h-.66V5.5z"/></svg></span></a>',
|
110 |
'Mendeley' => '<a class="heateor_sss_button_mendeley" href="https://www.mendeley.com/sign-in/" title="Mendeley" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_mendeley" style="background-color:#a70805;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32"><path fill="%logo_color%" d="M26.596 18.11c-1.466-.087-2.02-.834-1.93-2.164.076-1.113.274-2.22.418-3.327-.023-1.743-.942-3.13-2.488-3.59-1.583-.47-2.97-.14-4.102 1.15-2.322 2.646-2.616 2.634-5.023-.045-1.152-1.28-2.852-1.66-4.39-.98-1.5.667-2.37 2.237-2.15 3.954.08.625.278 1.235.377 1.863.338 2.122-.105 2.7-2.226 3.147-1.066.228-1.913.786-2.05 1.99-.137 1.22.17 2.39 1.404 2.75.77.226 1.853.084 2.55-.32.96-.553 1.064-1.64.733-2.74-.62-2.05-.027-3.04 2.115-3.34.836-.117 1.766-.022 2.568.235 1.302.41 1.692 1.373 1.175 2.65-.45 1.1-.443 2.09.39 2.984.84.9 2.417 1.08 3.518.435 1.12-.657 1.497-1.807 1.042-3.164-.608-1.814-.085-2.783 1.807-3.123.7-.126 1.463-.113 2.16.025 1.834.367 2.377 1.377 1.84 3.188-.504 1.698.196 3.09 1.72 3.43 1.332.295 2.624-.607 2.89-2.022.308-1.633-.593-2.882-2.344-2.988zm-10.71-.085c-1.374-.06-2.453-1.194-2.445-2.57.01-1.46 1.148-2.567 2.61-2.54 1.467.026 2.57 1.177 2.523 2.627-.05 1.43-1.255 2.545-2.687 2.483z"/></svg></span></a>',
|
111 |
'Meneame' => '<a class="heateor_sss_button_meneame" href="https://www.meneame.net/submit.php?url=%encoded_post_url%" title="Meneame" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_meneame" style="background-color:#ff7d12;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32"><g fill="%logo_color%"><path d="M25.514 10.435c-1.582 1.605-4.438 1.56-5.502 3.726-.906 2.57 1.23 6.677 2.12 9.02.603 1.21-4.716 2.378-4.065 2.677 3.754-.043 5.354-1.412 4.904-3.094-.43-1.607-2.376-4.816-2.376-7.383.056-1.938 2.222-2.533 3.618-3.322 1.622-.727 3.14-2.35 2.72-4.25-.018-.672-1.187-2.907-.71-1.175.26 1.278.385 2.856-.706 3.802z"/><path d="M20.632 7.546C18.59 6.492 16.32 5.854 13.946 6.41c-1.277.236-2.78.933-3.637 2.1-1.123 1.34-1.166 3.288-.43 4.82.57 1.18 1.44 2.492 2.85 2.688 1.21.182 2.54.018 3.566-.683-1.223.21-2.64.646-3.736-.172-1.842-1.177-2.735-3.85-1.618-5.8.898-1.7 2.705-2.178 4.62-2.262 2.55-.11 4.995 1.345 5.934 1.7.903.285 2.2.645 2.844-.315.376-.446.226-1.674-.08-1.788.09.86-.543 1.943-1.524 1.66-.736-.17-1.41-.523-2.104-.81zM6.94 15.156c-1.183 1.865-2.264 4.05-1.85 6.322.38 2.375 2.678 4.05 4.963 4.35 2.348.273 4.69.205 7.043.035.397-.385-1.92-.373-2.895-.514-2.224-.254-4.64-.3-6.55-1.623-1.775-1.33-2.01-3.938-1.155-5.863.714-1.814 1.782-3.568 2.903-5.084-.876.727-1.683 1.27-2.456 2.376z"/><path d="M12.787 21.02c1.386.107 3.688-.032 4.768.724.387.582-.332 3.802-.084 4.174.553.162 1.186-3.773.836-4.75-.266-.75-4.966-.352-5.518-.147z"/></g></svg></span></a>',
|
112 |
'mix' => '<a class="heateor_sss_button_mix" href="https://mix.com/mixit?url=%encoded_post_url%" title="Mix" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_mix" style="background-color:#ff8226;%span_style%"><svg focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-7 -8 45 45"><g fill="%logo_color%"><path opacity=".8" d="M27.87 4.125c-5.224 0-9.467 4.159-9.467 9.291v2.89c0-1.306 1.074-2.362 2.399-2.362s2.399 1.056 2.399 2.362v1.204c0 1.306 1.074 2.362 2.399 2.362s2.399-1.056 2.399-2.362V4.134c-.036-.009-.082-.009-.129-.009"/><path d="M4 4.125v12.94c2.566 0 4.668-1.973 4.807-4.465v-2.214c0-.065 0-.12.009-.176.093-1.213 1.13-2.177 2.39-2.177 1.325 0 2.399 1.056 2.399 2.362v9.226c0 1.306 1.074 2.353 2.399 2.353s2.399-1.056 2.399-2.353v-6.206c0-5.132 4.233-9.291 9.467-9.291H4z"/><path opacity=".8" d="M4 17.074v8.438c0 1.306 1.074 2.362 2.399 2.362s2.399-1.056 2.399-2.362V12.61C8.659 15.102 6.566 17.074 4 17.074"/></g></svg></span></a>',
|
113 |
+
'Mixi' => '<a class="heateor_sss_button_mixi" href="https://mix.com/mixit?url=%encoded_post_url%" title="Mixi" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_mixi" style="background-color:#ededed;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32"><path class="heateor_sss_no_fill" fill="#D1AD5A" d="M16.09 5.246C9.617 5.246 4 9.216 4 16.63c0 6.93 7.707 10.193 12.758 9.01v2.374S28 25.054 28 15.034c0-6.11-4.505-9.788-11.91-9.788z"/><path fill="%logo_color%" d="M22.92 20.024h-1.657v-5.688s-.505-1.586-1.585-1.586c-.9 0-2.525.374-2.525 2.08v5.193h-1.657V14.77c0-1.586-.787-2.09-1.506-2.09-1.15 0-2.727.807-2.727 2.403v4.94H9.605v-9.01h1.657v1.03c.656-.546 1.564-1.03 2.727-1.03 1.222 0 2.09.434 2.604 1.282.73-.677 1.777-1.202 3.082-1.202 1.97 0 3.24 1.788 3.24 3.202v5.73z"/></svg></span></a>',
|
114 |
'MySpace' => '<a class="heateor_sss_button_myspace" href="https://myspace.com" title="MySpace" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_myspace" style="background-color:#2a2a2a;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32"><g fill="%logo_color%"><path d="M24 17.716c-2.21 0-4 1.79-4 4v1.712h8v-1.713c0-2.21-1.79-4-4-4z"/><circle cx="24" cy="12.571" r="3.999"/><path d="M15.147 18.31c-2.054 0-3.72 1.66-3.72 3.71v1.408h7.437c.002-.615.002-1.148.002-1.408 0-2.05-1.664-3.71-3.72-3.71z"/><ellipse cx="15.147" cy="13.446" rx="3.719" ry="3.71"/><path d="M7.148 18.875C5.41 18.875 4 20.277 4 22.008v1.42h6.295c.002-.636.002-1.178.002-1.42 0-1.73-1.41-3.133-3.15-3.133z"/><ellipse cx="7.148" cy="14.58" rx="3.148" ry="3.133"/></g></svg></span></a>',
|
115 |
'Netvouz' => '<a class="heateor_sss_button_netvouz" href="http://www.netvouz.com/action/submitBookmark?url=%encoded_post_url%&title=%post_title%&popup=no&description=" title="Netvouz" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_netvouz" style="background-color:#c0ff00;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-0.5 0 32 32"><path fill="%logo_color%" d="M10.25 8.72v17.184H5.5V6.096h8.396l5.605 5.77v6.43"/><path fill="%logo_color%" d="M21.75 23.28V6.095h4.75v19.808h-8.396L12.5 20.13v-6.427"/></svg></span></a>',
|
116 |
'NewsVine' => '<a class="heateor_sss_button_NewsVine" href="http://www.newsvine.com/_tools/seed?popoff=0&u=%encoded_post_url%&h=%post_title%" title="NewsVine" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_NewsVine" style="background-color:#f2720c;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32"><path fill="%logo_color%" d="M20.56 21.21c1.558.926 3.202 1.637 4.95 2.122.746.207 1.255.03 1.596-.673.102-.21.25-.404.4-.586 2.322-2.812 1.91-6.988-1.06-7.983.66-.517.662-1.2.47-1.92-.156-.59-.265-1.204-.492-1.767-.514-1.278-.694-2.603-.77-3.964-.047-.814-.1-1.767-1-2.068-.875-.292-1.54.357-2.09.977-1.85 2.082-2.9 4.576-3.644 7.22-.372 1.33-.7 2.676-1.077 4.12-.332-.34-.57-.837-.925-.897-.14-.376-.74-2.2.177-3.78.02-.008.033-.022.047-.037l.174-.22c.05-.063.037-.15-.024-.2-.06-.048-.15-.037-.196.025l-.174.223c-.033.04-.035.093-.02.138-.84 1.48-.432 3.147-.23 3.76-.422-.616-1.416-1.792-2.95-2.06-.024-.04-.067-.067-.116-.067h-.28c-.08 0-.143.063-.143.14 0 .08.062.142.142.142h.28c.023 0 .043-.007.062-.017 1.54.254 2.51 1.48 2.884 2.046-.38.265.127.786.08 1.276-1.986-1.483-4.072-2.605-6.244-3.572-1.956-.87-3.89-1.798-6.008-2.233-.47-.097-.977-.107-1.25.41-.25.474-.093.936.19 1.34.153.222.347.434.566.585 2.44 1.678 4.303 3.93 6.212 6.145.446.517.896 1.027 1.665 1.065.25.012.455.132.445.446v.123c.047.827.25 1.5.774 2.28 1.365 1.67 3.08 2.88 5.054 3.7.4.167.73.25 1.01.25.685 0 1.018-.517 1.116-1.578.026-1.45-.42-2.82-.863-4.154.352-.27.517.24.788.065.237-.33-.216-.68.018-1.08.172.097.316.173.456.256z"/></svg></span></a>',
|
295 |
|
296 |
$fb_key = '1904103319867886';
|
297 |
$this->sharing_networks['Facebook_Messenger'] = '<a class="heateor_sss_button_facebook_messenger" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_facebook_messenger" style="background-color:#0084ff;%span_style%" onclick=\'heateorSssPopup("' . ( $this->check_if_mobile() ? 'fb-messenger://share/?link=%encoded_post_url%' : 'https://www.facebook.com/dialog/send?app_id='. $fb_key .'&display=popup&link=%encoded_post_url%&redirect_uri=%encoded_post_url%' ) . '")\'><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-2 -2 36 36"><path fill="%logo_color%" d="M16 5C9.986 5 5.11 9.56 5.11 15.182c0 3.2 1.58 6.054 4.046 7.92V27l3.716-2.06c.99.276 2.04.425 3.128.425 6.014 0 10.89-4.56 10.89-10.183S22.013 5 16 5zm1.147 13.655L14.33 15.73l-5.423 3 5.946-6.31 2.816 2.925 5.42-3-5.946 6.31z"/></svg></span></a>';
|
298 |
+
$this->sharing_networks['whatsapp'] = '<a class="heateor_sss_whatsapp" href="https://api.whatsapp.com/send?text=%post_title% %encoded_post_url%" title="Whatsapp" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg" style="background-color:#55eb4c;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="-6 -5 40 40"><path class="heateor_sss_svg_stroke heateor_sss_no_fill" stroke="%logo_color%" stroke-width="2" fill="none" d="M 11.579798566743314 24.396926207859085 A 10 10 0 1 0 6.808479557110079 20.73576436351046"></path><path d="M 7 19 l -1 6 l 6 -1" class="heateor_sss_no_fill heateor_sss_svg_stroke" stroke="%logo_color%" stroke-width="2" fill="none"></path><path d="M 10 10 q -1 8 8 11 c 5 -1 0 -6 -1 -3 q -4 -3 -5 -5 c 4 -2 -1 -5 -1 -4" fill="%logo_color%"></path></svg></span></a>';
|
299 |
+
$this->sharing_networks['WordPress'] = '<a class="heateor_sss_button_wordpress" href="' . esc_url( home_url() ) . '/wp-admin/press-this.php?u=%encoded_post_url%&t=%post_title%" title="WordPress" rel="nofollow noopener" target="_blank" %anchor_style%><span class="heateor_sss_svg heateor_sss_s__default heateor_sss_s_wordpress" style="background-color:#464646;%span_style%"><svg style="%inner_style%" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 32 32"><circle fill="%logo_color%" cx="16" cy="16" r="14.75"/><path class="heateor_sss_no_fill" fill="#464646" d="M3.176 16c0 5.076 2.95 9.462 7.226 11.54L4.287 10.78c-.712 1.595-1.11 3.36-1.11 5.22zm21.48-.646c0-1.586-.57-2.684-1.06-3.537-.647-1.058-1.26-1.95-1.26-3.008 0-1.18.897-2.278 2.156-2.278.057 0 .11.008.166.01-2.28-2.09-5.32-3.367-8.658-3.367-4.48 0-8.422 2.3-10.715 5.78.302.01.585.017.826.017 1.343 0 3.418-.164 3.418-.164.69-.042.774.974.084 1.056 0 0-.694.08-1.466.12l4.668 13.892 2.808-8.417-1.998-5.476c-.69-.04-1.345-.12-1.345-.12-.69-.04-.61-1.1.08-1.058 0 0 2.116.164 3.38.164 1.34 0 3.416-.163 3.416-.163.69-.04.77.976.08 1.058 0 0-.694.08-1.467.12l4.634 13.785 1.28-4.272c.552-1.773.975-3.048.975-4.144zm-8.43 1.766l-3.85 11.18c1.15.34 2.365.523 3.624.523 1.492 0 2.925-.26 4.26-.728-.035-.056-.066-.113-.093-.177L16.225 17.12zM27.25 9.848c.055.408.086.848.086 1.318 0 1.3-.242 2.764-.975 4.594l-3.916 11.324C26.26 24.86 28.822 20.73 28.822 16c0-2.23-.568-4.326-1.57-6.152z"/><path d="M16 1.052C7.757 1.052 1.052 7.757 1.052 16c0 8.242 6.705 14.948 14.948 14.948 8.242 0 14.948-6.706 14.948-14.95 0-8.24-6.706-14.946-14.948-14.946zm0 29.212c-7.865 0-14.264-6.4-14.264-14.265S8.136 1.734 16 1.734c7.863 0 14.264 6.398 14.264 14.263 0 7.863-6.4 14.264-14.264 14.264z"/></svg></span></a>';
|
300 |
|
301 |
return $this->sharing_networks;
|
302 |
|
includes/class-sassy-social-share-shortcodes.php
CHANGED
@@ -222,7 +222,7 @@ class Sassy_Social_Share_Shortcodes {
|
|
222 |
$html .= $this->public_class_object->prepare_sharing_html( $short_url ? $short_url : $target_url, $type == 'standard' ? 'horizontal' : 'vertical', $count, $total_shares == 'ON' ? 1 : 0 );
|
223 |
$html .= '</div>';
|
224 |
if ( ( $count || $total_shares == 'ON' ) && $cached_share_count === false ) {
|
225 |
-
$html .= '<script>heateorSssLoadEvent(function(){
|
226 |
}
|
227 |
return $html;
|
228 |
}
|
222 |
$html .= $this->public_class_object->prepare_sharing_html( $short_url ? $short_url : $target_url, $type == 'standard' ? 'horizontal' : 'vertical', $count, $total_shares == 'ON' ? 1 : 0 );
|
223 |
$html .= '</div>';
|
224 |
if ( ( $count || $total_shares == 'ON' ) && $cached_share_count === false ) {
|
225 |
+
$html .= '<script>heateorSssLoadEvent(function(){heateorSssGetSharingCounts();});</script>';
|
226 |
}
|
227 |
return $html;
|
228 |
}
|
includes/class-sassy-social-share-widgets.php
CHANGED
@@ -138,7 +138,7 @@ class Sassy_Social_Share_Standard_Widget extends WP_Widget {
|
|
138 |
$sharing_divs = $this->public_class_object->prepare_sharing_html( $short_url ? $short_url : $sharing_url, 'horizontal', isset( $instance['show_counts'] ), isset( $instance['total_shares'] ), ! is_singular() ? true : false );
|
139 |
$sharing_divs = explode( '%instance%', $sharing_divs );
|
140 |
if ( ! empty( $instance['before_widget_content'] ) ) {
|
141 |
-
echo '<div>' . $instance['before_widget_content'] . '</div>';
|
142 |
}
|
143 |
|
144 |
foreach ( $sharing_divs as $sharing_div ) {
|
@@ -154,18 +154,11 @@ class Sassy_Social_Share_Standard_Widget extends WP_Widget {
|
|
154 |
}
|
155 |
|
156 |
if ( ! empty( $instance['after_widget_content'] ) ) {
|
157 |
-
echo '<div>' . $instance['after_widget_content'] . '</div>';
|
158 |
}
|
159 |
|
160 |
if ( ( isset( $instance['show_counts'] ) || isset( $instance['total_shares'] ) ) && $cached_share_count === false ) {
|
161 |
-
echo '<script>heateorSssLoadEvent(
|
162 |
-
function() {
|
163 |
-
// sharing counts
|
164 |
-
heateorSssCallAjax(function() {
|
165 |
-
heateorSssGetSharingCounts();
|
166 |
-
});
|
167 |
-
}
|
168 |
-
);</script>';
|
169 |
}
|
170 |
echo $after_widget;
|
171 |
}
|
@@ -233,26 +226,26 @@ class Sassy_Social_Share_Standard_Widget extends WP_Widget {
|
|
233 |
</script>
|
234 |
<p>
|
235 |
<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>
|
236 |
-
<label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e( 'Title:', 'sassy-social-share' ); ?></label>
|
237 |
-
<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/>
|
238 |
-
<label for="<?php echo $this->get_field_id( 'show_counts' ); ?>"><?php _e( 'Show individual share counts:', 'sassy-social-share' ); ?></label>
|
239 |
-
<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/>
|
240 |
-
<label for="<?php echo $this->get_field_id( 'total_shares' ); ?>"><?php _e( 'Show total shares:', 'sassy-social-share' ); ?></label>
|
241 |
-
<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/>
|
242 |
-
<label for="<?php echo $this->get_field_id( 'target_url' ); ?>"><?php _e( 'Target Url:', 'sassy-social-share' ); ?></label>
|
243 |
-
<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' ); ?>">
|
244 |
<option value="">--<?php _e( 'Select', 'sassy-social-share' ) ?>--</option>
|
245 |
<option value="default" <?php echo isset( $instance['target_url'] ) && $instance['target_url'] == 'default' ? 'selected' : '' ; ?>><?php _e( 'Url of the webpage where icons are located (default)', 'sassy-social-share' ) ?></option>
|
246 |
<option value="homepage" <?php echo isset( $instance['target_url'] ) && $instance['target_url'] == 'homepage' ? 'selected' : '' ; ?>><?php _e( 'Url of the homepage of your website', 'sassy-social-share' ) ?></option>
|
247 |
<option value="custom" <?php echo isset( $instance['target_url'] ) && $instance['target_url'] == 'custom' ? 'selected' : '' ; ?>><?php _e( 'Custom Url', 'sassy-social-share' ) ?></option>
|
248 |
</select>
|
249 |
-
<input placeholder="Custom
|
250 |
-
<label for="<?php echo $this->get_field_id( 'before_widget_content' ); ?>"><?php _e( 'Before widget content:', 'sassy-social-share' ); ?></label>
|
251 |
-
<input class="widefat" id="<?php echo $this->get_field_id( 'before_widget_content' ); ?>" name="<?php echo $this->get_field_name( 'before_widget_content' ); ?>" type="text" value="<?php echo $instance['before_widget_content']; ?>" />
|
252 |
-
<label for="<?php echo $this->get_field_id( 'after_widget_content' ); ?>"><?php _e( 'After widget content:', 'sassy-social-share' ); ?></label>
|
253 |
-
<input class="widefat" id="<?php echo $this->get_field_id( 'after_widget_content' ); ?>" name="<?php echo $this->get_field_name( 'after_widget_content' ); ?>" type="text" value="<?php echo $instance['after_widget_content']; ?>" />
|
254 |
-
<br /><br /><label for="<?php echo $this->get_field_id( 'hide_for_logged_in' ); ?>"><?php _e( 'Hide for logged in users:', 'sassy-social-share' ); ?></label>
|
255 |
-
<input type="checkbox" id="<?php echo $this->get_field_id( 'hide_for_logged_in' ); ?>" name="<?php echo $this->get_field_name( 'hide_for_logged_in' ); ?>" type="text" value="1" <?php if ( isset( $instance['hide_for_logged_in'] ) && $instance['hide_for_logged_in'] == 1 ) echo 'checked="checked"'; ?> />
|
256 |
</p>
|
257 |
<?php
|
258 |
}
|
@@ -402,10 +395,7 @@ class Sassy_Social_Share_Floating_Widget extends WP_Widget {
|
|
402 |
if ( ( isset( $instance['show_counts'] ) || isset( $instance['total_shares'] ) ) && $cached_share_count === false ) {
|
403 |
echo '<script>heateorSssLoadEvent(
|
404 |
function() {
|
405 |
-
|
406 |
-
heateorSssCallAjax(function() {
|
407 |
-
heateorSssGetSharingCounts();
|
408 |
-
});
|
409 |
}
|
410 |
);</script>';
|
411 |
}
|
@@ -474,42 +464,40 @@ class Sassy_Social_Share_Floating_Widget extends WP_Widget {
|
|
474 |
}
|
475 |
</script>
|
476 |
<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>
|
477 |
-
<label for="<?php echo $this->get_field_id( 'show_counts' ); ?>"><?php _e( 'Show individual share counts:', 'sassy-social-share' ); ?></label>
|
478 |
-
<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/>
|
479 |
-
<label for="<?php echo $this->get_field_id( 'total_shares' ); ?>"><?php _e( 'Show total shares:', 'sassy-social-share' ); ?></label>
|
480 |
-
<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/>
|
481 |
-
<label for="<?php echo $this->get_field_id( 'target_url' ); ?>"><?php _e( 'Target Url:', 'sassy-social-share' ); ?></label>
|
482 |
-
<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' ); ?>">
|
483 |
<option value="">--<?php _e( 'Select', 'sassy-social-share' ) ?>--</option>
|
484 |
<option value="default" <?php echo isset( $instance['target_url'] ) && $instance['target_url'] == 'default' ? 'selected' : '' ; ?>><?php _e( 'Url of the webpage where icons are located (default)', 'sassy-social-share' ) ?></option>
|
485 |
<option value="homepage" <?php echo isset( $instance['target_url'] ) && $instance['target_url'] == 'homepage' ? 'selected' : '' ; ?>><?php _e( 'Url of the homepage of your website', 'sassy-social-share' ) ?></option>
|
486 |
<option value="custom" <?php echo isset( $instance['target_url'] ) && $instance['target_url'] == 'custom' ? 'selected' : '' ; ?>><?php _e( 'Custom Url', 'sassy-social-share' ) ?></option>
|
487 |
</select>
|
488 |
-
<input placeholder="Custom url" style="width:95%; margin-top: 5px; <?php echo ! isset( $instance['target_url'] ) || $instance['target_url'] != 'custom' ? 'display: none' : '' ; ?>" class="widefat heateorSssVerticalSharingTargetUrl" id="<?php echo $this->get_field_id( 'target_url_custom' ); ?>" name="<?php echo $this->get_field_name( 'target_url_custom' ); ?>" type="text" value="<?php echo isset( $instance['target_url_custom'] ) ? $instance['target_url_custom'] : ''; ?>" />
|
489 |
-
<label for="<?php echo $this->get_field_id( 'alignment' ); ?>"><?php _e( 'Alignment', 'sassy-social-share' ); ?></label>
|
490 |
-
<select onchange="heateorSssToggleSharingOffset(this.value)" style="width: 95%" class="widefat" id="<?php echo $this->get_field_id( 'alignment' ); ?>" name="<?php echo $this->get_field_name( 'alignment' ); ?>">
|
491 |
<option value="left" <?php echo $instance['alignment'] == 'left' ? 'selected' : ''; ?>><?php _e( 'Left', 'sassy-social-share' ) ?></option>
|
492 |
<option value="right" <?php echo $instance['alignment'] == 'right' ? 'selected' : ''; ?>><?php _e( 'Right', 'sassy-social-share' ) ?></option>
|
493 |
</select>
|
494 |
<div class="heateorSssSharingLeftOffset" <?php echo $instance['alignment'] == 'right' ? 'style="display: none"' : ''; ?>>
|
495 |
-
<label for="<?php echo $this->get_field_id( 'left_offset' ); ?>"><?php _e( 'Left Offset', 'sassy-social-share' ); ?></label>
|
496 |
-
<input style="width: 95%" class="widefat" id="<?php echo $this->get_field_id( 'left_offset' ); ?>" name="<?php echo $this->get_field_name( 'left_offset' ); ?>" type="text" value="<?php echo $instance['left_offset']; ?>" />px<br/>
|
497 |
</div>
|
498 |
<div class="heateorSssSharingRightOffset" <?php echo $instance['alignment'] == 'left' ? 'style="display: none"' : ''; ?>>
|
499 |
-
<label for="<?php echo $this->get_field_id( 'right_offset' ); ?>"><?php _e( 'Right Offset', 'sassy-social-share' ); ?></label>
|
500 |
-
<input style="width: 95%" class="widefat" id="<?php echo $this->get_field_id( 'right_offset' ); ?>" name="<?php echo $this->get_field_name( 'right_offset' ); ?>" type="text" value="<?php echo $instance['right_offset']; ?>" />px<br/>
|
501 |
</div>
|
502 |
-
<label for="<?php echo $this->get_field_id( 'top_offset' ); ?>"><?php _e( 'Top Offset', 'sassy-social-share' ); ?></label>
|
503 |
-
<input style="width: 95%" class="widefat" id="<?php echo $this->get_field_id( 'top_offset' ); ?>" name="<?php echo $this->get_field_name( 'top_offset' ); ?>" type="text" value="<?php echo $instance['top_offset']; ?>" />px<br/>
|
504 |
-
|
505 |
-
<
|
506 |
-
<
|
507 |
-
|
508 |
-
<br /><br /><label for="<?php echo $this->get_field_id( 'hide_for_logged_in' ); ?>"><?php _e( 'Hide for logged in users:', 'sassy-social-share' ); ?></label>
|
509 |
-
<input type="checkbox" id="<?php echo $this->get_field_id( 'hide_for_logged_in' ); ?>" name="<?php echo $this->get_field_name( 'hide_for_logged_in' ); ?>" type="text" value="1" <?php if ( isset( $instance['hide_for_logged_in'] ) && $instance['hide_for_logged_in'] == 1 ) echo 'checked="checked"'; ?> />
|
510 |
</p>
|
511 |
<?php
|
512 |
-
}
|
513 |
}
|
514 |
|
515 |
/**
|
@@ -705,13 +693,13 @@ class Sassy_Social_Share_Follow_Widget extends WP_Widget {
|
|
705 |
$logo_color = $this->options['horizontal_font_color_default'];
|
706 |
}
|
707 |
if ( $this->options['horizontal_font_color_hover'] ) {
|
708 |
-
$html .= "<style>.widget_heateor_sss_follow span.heateor_sss_svg svg:hover path:not(.
|
709 |
fill: ". $this->options['horizontal_font_color_hover'] .";
|
710 |
}
|
711 |
.widget_heateor_sss_follow span.heateor_sss_svg svg:hover span.heateor_sss_s_digg path{
|
712 |
stroke: ". $this->options['horizontal_font_color_hover'] .";
|
713 |
}
|
714 |
-
.widget_heateor_sss_follow span.heateor_sss_svg svg:hover span.heateor_sss_s_whatsapp path.
|
715 |
fill: ". $this->options['horizontal_font_color_hover'] ."!important;
|
716 |
}
|
717 |
.widget_heateor_sss_follow span.heateor_sss_svg svg:hover path{
|
@@ -727,13 +715,13 @@ class Sassy_Social_Share_Follow_Widget extends WP_Widget {
|
|
727 |
$logo_color = $this->options['vertical_font_color_default'];
|
728 |
}
|
729 |
if ( $this->options['vertical_font_color_hover'] ) {
|
730 |
-
$html .= "<style>.widget_heateor_sss_follow span.heateor_sss_svg svg:hover path:not(.
|
731 |
fill:". $this->options['vertical_font_color_hover'] .";
|
732 |
}
|
733 |
.widget_heateor_sss_follow span.heateor_sss_svg svg:hover span.heateor_sss_s_digg path{
|
734 |
stroke:" . $this->options['vertical_font_color_hover'] . ";
|
735 |
}
|
736 |
-
.widget_heateor_sss_follow span.heateor_sss_svg svg:hover span.heateor_sss_s_whatsapp path.
|
737 |
fill:" . $this->options['vertical_font_color_hover'] . "!important;
|
738 |
}</style>";
|
739 |
}
|
@@ -913,73 +901,73 @@ class Sassy_Social_Share_Follow_Widget extends WP_Widget {
|
|
913 |
$instance = wp_parse_args( ( array ) $instance, $defaults );
|
914 |
?>
|
915 |
<p>
|
916 |
-
<label for="<?php echo $this->get_field_id( 'before_widget_content' ); ?>"><?php _e( 'Before widget content:', 'sassy-social-share' ); ?></label>
|
917 |
-
<input class="widefat" id="<?php echo $this->get_field_id( 'before_widget_content' ); ?>" name="<?php echo $this->get_field_name( 'before_widget_content' ); ?>" type="text" value="<?php echo $instance['before_widget_content']; ?>" /><br/><br/>
|
918 |
-
<label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e( 'Title', 'sassy-social-share' ); ?></label>
|
919 |
-
<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/>
|
920 |
-
<label for="<?php echo $this->get_field_id( 'mode_standard' ); ?>"><?php _e( 'Type:', 'sassy-social-share' ) ?></label><br>
|
921 |
-
<input id="<?php echo $this->get_field_id( 'mode_standard' ); ?>" type="radio" onclick="jQuery( '.heateorSssFloatingAlignment' ).css( 'display', 'none' );" name="<?php echo $this->get_field_name( 'type' ); ?>" value="standard" <?php if( $instance['type'] == 'standard' ) {
|
922 |
echo "checked";
|
923 |
-
} ?>><label for="<?php echo $this->get_field_id( 'mode_standard' ); ?>"> <?php _e( 'Standard', 'sassy-social-share' ) ?></label><br>
|
924 |
-
<input id="<?php echo $this->get_field_id( 'mode_floating' ); ?>" type="radio" name="<?php echo $this->get_field_name( 'type' ); ?>" onclick="jQuery( '.heateorSssFloatingAlignment' ).css( 'display', 'block' );" value="floating" <?php if( $instance['type'] == 'floating' ) {
|
925 |
echo "checked";
|
926 |
-
}?>><label for="<?php echo $this->get_field_id( 'mode_floating' ); ?>"> <?php _e( 'Floating', 'sassy-social-share' ) ?></label><br><br>
|
927 |
|
928 |
<div class="heateorSssFloatingAlignment"
|
929 |
<?php echo $instance['type'] == 'standard' ? "style='display:none'" : "style='display:block'" ?>>
|
930 |
-
<label for="<?php echo $this->get_field_id( 'top_offset' ); ?>">
|
931 |
<?php _e( 'Top offset:', 'sassy-social-share' ) ?>
|
932 |
</label>
|
933 |
-
<input id="<?php echo $this->get_field_id('top_offset' ); ?>" type="text" name="<?php echo $this->get_field_name( 'top_offset' ); ?>" value="<?php echo $instance['top_offset']; ?>"/>px<br><br>
|
934 |
-
<label for="<?php echo $this->get_field_id( 'floating_left' ); ?>">
|
935 |
<?php _e( 'Alignment:', 'sassy-social-share' ) ?>
|
936 |
</label>
|
937 |
-
<input id="<?php echo $this->get_field_id( 'floating_left' ); ?>" type="radio" name="<?php echo $this->get_field_name( 'alignment' ); ?>" value="left"
|
938 |
<?php if ( $instance['alignment'] == 'left' ) {
|
939 |
echo 'checked';
|
940 |
} ?>>
|
941 |
-
<label for="<?php echo $this->get_field_id( 'floating_left' ); ?>">
|
942 |
<?php _e( 'Left', 'sassy-social-share' ) ?>
|
943 |
</label>
|
944 |
-
<input id="<?php echo $this->get_field_id( 'floating_right' ); ?>" type="radio" name="<?php echo $this->get_field_name( 'alignment' ); ?>" value="right"
|
945 |
<?php if ( $instance['alignment'] == 'right' ) {
|
946 |
echo 'checked';
|
947 |
} ?> />
|
948 |
-
<label for="<?php echo $this->get_field_id( 'floating_right' ); ?>" >
|
949 |
<?php _e( 'Right', 'sassy-social-share' ) ?>
|
950 |
</label>
|
951 |
<br>
|
952 |
<br>
|
953 |
-
<label id="<?php echo $this->get_field_id( 'alignment_value_label' ); ?>" for="<?php echo $this->get_field_id( 'alignment_value' ); ?>"><?php _e( 'Offset', 'sassy-social-share' ); ?></label>
|
954 |
<br>
|
955 |
-
<input id='<?php echo $this->get_field_id( 'alignment_value' ); ?>' type="text" name="<?php echo $this->get_field_name( 'alignment_value' ); ?>" value="<?php echo $instance['alignment_value']; ?>" />px<br><br>
|
956 |
-
<input id="<?php echo $this->get_field_id('mobile_sharing')
|
957 |
|
958 |
-
<label><?php echo sprintf( __( 'Display vertical interface only when screen is wider than %s pixels', 'sassy-social-share' ), '<input style="width:46px" name="'. $this->get_field_name( 'vertical_screen_width' ).'" type="text" value="' . ( isset( $instance['vertical_screen_width'] ) ? $instance['vertical_screen_width'] : '' ) . '" />' ) ?></label>
|
959 |
|
960 |
<br><br>
|
961 |
|
962 |
-
<input id="<?php echo $this->get_field_id('mobile_sharing_bottom')
|
963 |
|
964 |
-
<label><?php echo sprintf( __( 'Stick vertical floating interface horizontally at bottom only when screen is narrower than %s pixels', 'sassy-social-share' ), '<input style="width:46px" name="'
|
965 |
|
966 |
<br><br>
|
967 |
|
968 |
-
<input type="radio" id="<?php echo $this->get_field_id('bottom_sharing_position_radio_nonresponsive')
|
969 |
|
970 |
-
<label for="<?php echo $this->get_field_id( 'bottom_sharing_position_radio_nonresponsive' )
|
971 |
|
972 |
<br/>
|
973 |
|
974 |
-
<input type="radio" id="<?php echo $this->get_field_id('bottom_sharing_position_radio_responsive')
|
975 |
<br>
|
976 |
<br>
|
977 |
</div>
|
978 |
|
979 |
-
<label for="<?php echo $this->get_field_id( 'size' ); ?>"><?php _e( 'Size of icons', 'sassy-social-share' ); ?></label>
|
980 |
-
<input style="width: 82%" class="widefat" id="<?php echo $this->get_field_id( 'size' ); ?>" name="<?php echo $this->get_field_name( 'size' ); ?>" type="text" value="<?php echo $instance['size']; ?>" />px<br/><br/>
|
981 |
-
<label for="<?php echo $this->get_field_id( 'icon_shape' ); ?>"><?php _e( 'Icon Shape', 'sassy-social-share' ); ?></label>
|
982 |
-
<select style="width: 95%" class="widefat" id="<?php echo $this->get_field_id( 'icon_shape' ); ?>" name="<?php echo $this->get_field_name( 'icon_shape' ); ?>">
|
983 |
<option value="round" <?php echo ! isset( $instance['icon_shape'] ) || $instance['icon_shape'] == 'round' ? 'selected' : '' ; ?>><?php _e( 'Round', 'sassy-social-share' ); ?></option>
|
984 |
<option value="square" <?php echo isset( $instance['icon_shape'] ) && $instance['icon_shape'] == 'square' ? 'selected' : '' ; ?>><?php _e( 'Square', 'sassy-social-share' ); ?></option>
|
985 |
</select><br/><br/>
|
@@ -989,86 +977,86 @@ class Sassy_Social_Share_Follow_Widget extends WP_Widget {
|
|
989 |
heateorSssAlignmentOffsetLabel('<?php echo $instance['alignment'] ?>');
|
990 |
});
|
991 |
</script>
|
992 |
-
<label for="<?php echo $this->get_field_id( 'custom_color' ); ?>"><?php _e( 'Apply icon color and background color from Theme Selection section:', 'sassy-social-share' ); ?></label>
|
993 |
-
<select style="width: 95%" class="widefat" id="<?php echo $this->get_field_id( 'custom_color' ); ?>" name="<?php echo $this->get_field_name( 'custom_color' ); ?>">
|
994 |
<option value="" <?php echo ! isset( $instance['custom_color'] ) || $instance['custom_color'] == '' ? 'selected' : '' ; ?>><?php _e( 'No', 'sassy-social-share' ); ?></option>
|
995 |
<option value="standard" <?php echo isset( $instance['custom_color'] ) && $instance['custom_color'] == 'standard' ? 'selected' : '' ; ?>><?php _e( 'Yes, Standard Interface Theme', 'sassy-social-share' ); ?></option>
|
996 |
<option value="floating" <?php echo isset( $instance['custom_color'] ) && $instance['custom_color'] == 'floating' ? 'selected' : '' ; ?>><?php _e( 'Yes, Floating Interface Theme', 'sassy-social-share' ); ?></option>
|
997 |
</select><br/><br/>
|
998 |
-
<label for="<?php echo $this->get_field_id( 'facebook' ); ?>"><?php _e( 'Facebook URL:', 'sassy-social-share' ); ?></label>
|
999 |
-
<input style="width: 95%" class="widefat" id="<?php echo $this->get_field_id( 'facebook' ); ?>" name="<?php echo $this->get_field_name( 'facebook' ); ?>" type="text" value="<?php echo $instance['facebook']; ?>" /><br/>
|
1000 |
<span>https://www.facebook.com/ID</span><br/><br/>
|
1001 |
-
<label for="<?php echo $this->get_field_id( 'twitter' ); ?>"><?php _e( 'Twitter URL:', 'sassy-social-share' ); ?></label>
|
1002 |
-
<input style="width: 95%" class="widefat" id="<?php echo $this->get_field_id( 'twitter' ); ?>" name="<?php echo $this->get_field_name( 'twitter' ); ?>" type="text" value="<?php echo $instance['twitter']; ?>" /><br/>
|
1003 |
<span>https://twitter.com/ID</span><br/><br/>
|
1004 |
-
<label for="<?php echo $this->get_field_id( 'instagram' ); ?>"><?php _e( 'Instagram URL:', 'sassy-social-share' ); ?></label>
|
1005 |
-
<input style="width: 95%" class="widefat" id="<?php echo $this->get_field_id( 'instagram' ); ?>" name="<?php echo $this->get_field_name( 'instagram' ); ?>" type="text" value="<?php echo $instance['instagram']; ?>" /><br/>
|
1006 |
<span>https://www.instagram.com/ID</span><br/><br/>
|
1007 |
-
<label for="<?php echo $this->get_field_id( 'parler' ); ?>"><?php _e( 'Parler URL:', 'sassy-social-share' ); ?></label>
|
1008 |
-
<input style="width: 95%" class="widefat" id="<?php echo $this->get_field_id( 'parler' ); ?>" name="<?php echo $this->get_field_name( 'parler' ); ?>" type="text" value="<?php echo $instance['parler']; ?>" /><br/>
|
1009 |
<span>https://parler.com/profile/ID</span><br/><br/>
|
1010 |
-
<label for="<?php echo $this->get_field_id( 'pinterest' ); ?>"><?php _e( 'Pinterest URL:', 'sassy-social-share' ); ?></label>
|
1011 |
-
<input style="width: 95%" class="widefat" id="<?php echo $this->get_field_id( 'pinterest' ); ?>" name="<?php echo $this->get_field_name( 'pinterest' ); ?>" type="text" value="<?php echo $instance['pinterest']; ?>" /><br/>
|
1012 |
<span>https://www.pinterest.com/ID</span><br/><br/>
|
1013 |
-
<label for="<?php echo $this->get_field_id( 'behance' ); ?>"><?php _e( 'Behance URL:', 'sassy-social-share' ); ?></label>
|
1014 |
-
<input style="width: 95%" class="widefat" id="<?php echo $this->get_field_id( 'behance' ); ?>" name="<?php echo $this->get_field_name( 'behance' ); ?>" type="text" value="<?php echo $instance['behance']; ?>" /><br/>
|
1015 |
<span>https://www.behance.net/ID</span><br/><br/>
|
1016 |
-
<label for="<?php echo $this->get_field_id( 'flickr' ); ?>"><?php _e( 'Flickr URL:', 'sassy-social-share' ); ?></label>
|
1017 |
-
<input style="width: 95%" class="widefat" id="<?php echo $this->get_field_id( 'flickr' ); ?>" name="<?php echo $this->get_field_name( 'flickr' ); ?>" type="text" value="<?php echo $instance['flickr']; ?>" /><br/>
|
1018 |
<span>https://www.flickr.com/photos/ID</span><br/><br/>
|
1019 |
-
<label for="<?php echo $this->get_field_id( 'foursquare' ); ?>"><?php _e( 'Foursquare URL:', 'sassy-social-share' ); ?></label>
|
1020 |
-
<input style="width: 95%" class="widefat" id="<?php echo $this->get_field_id( 'foursquare' ); ?>" name="<?php echo $this->get_field_name( 'foursquare' ); ?>" type="text" value="<?php echo $instance['foursquare']; ?>" /><br/>
|
1021 |
<span>https://foursquare.com/ID</span><br/><br/>
|
1022 |
-
<label for="<?php echo $this->get_field_id( 'github' ); ?>"><?php _e( 'Github URL:', 'sassy-social-share' ); ?></label>
|
1023 |
-
<input style="width: 95%" class="widefat" id="<?php echo $this->get_field_id( 'github' ); ?>" name="<?php echo $this->get_field_name( 'github' ); ?>" type="text" value="<?php echo $instance['github']; ?>" /><br/>
|
1024 |
<span>https://github.com/ID</span><br/><br/>
|
1025 |
<label for="<?php echo $this->get_field_id( 'linkedin' ); ?>"><?php _e( 'LinkedIn URL:', 'sassy-social-share' ); ?></label>
|
1026 |
-
<input style="width: 95%" class="widefat" id="<?php echo $this->get_field_id( 'linkedin' ); ?>" name="<?php echo $this->get_field_name( 'linkedin' ); ?>" type="text" value="<?php echo $instance['linkedin']; ?>" /><br/>
|
1027 |
<span>https://www.linkedin.com/in/ID</span><br/><br/>
|
1028 |
<label for="<?php echo $this->get_field_id( 'linkedin_company' ); ?>"><?php _e( 'LinkedIn Company URL:', 'sassy-social-share' ); ?></label>
|
1029 |
-
<input style="width: 95%" class="widefat" id="<?php echo $this->get_field_id( 'linkedin_company' ); ?>" name="<?php echo $this->get_field_name( 'linkedin_company' ); ?>" type="text" value="<?php echo $instance['linkedin_company']; ?>" /><br/>
|
1030 |
<span>https://www.linkedin.com/company/ID</span><br/><br/>
|
1031 |
<label for="<?php echo $this->get_field_id( 'medium' ); ?>"><?php _e( 'Medium URL:', 'sassy-social-share' ); ?></label>
|
1032 |
-
<input style="width: 95%" class="widefat" id="<?php echo $this->get_field_id( 'medium' ); ?>" name="<?php echo $this->get_field_name( 'medium' ); ?>" type="text" value="<?php echo $instance['medium']; ?>" /><br/>
|
1033 |
<span>https://medium.com/@ID</span><br/><br/>
|
1034 |
<label for="<?php echo $this->get_field_id( 'mewe' ); ?>"><?php _e( 'MeWe URL:', 'sassy-social-share' ); ?></label>
|
1035 |
-
<input style="width: 95%" class="widefat" id="<?php echo $this->get_field_id( 'mewe' ); ?>" name="<?php echo $this->get_field_name( 'mewe' ); ?>" type="text" value="<?php echo $instance['mewe']; ?>" /><br/>
|
1036 |
<span>https://mewe.com/profile/ID</span><br/><br/>
|
1037 |
<label for="<?php echo $this->get_field_id( 'odnoklassniki' ); ?>"><?php _e( 'Odnoklassniki URL:', 'sassy-social-share' ); ?></label>
|
1038 |
-
<input style="width: 95%" class="widefat" id="<?php echo $this->get_field_id( 'odnoklassniki' ); ?>" name="<?php echo $this->get_field_name( 'odnoklassniki' ); ?>" type="text" value="<?php echo $instance['odnoklassniki']; ?>" /><br/>
|
1039 |
<span>https://ok.ru/profile/ID</span><br/><br/>
|
1040 |
<label for="<?php echo $this->get_field_id( 'telegram' ); ?>"><?php _e( 'Telegram URL:', 'sassy-social-share' ); ?></label>
|
1041 |
-
<input style="width: 95%" class="widefat" id="<?php echo $this->get_field_id( 'telegram' ); ?>" name="<?php echo $this->get_field_name( 'telegram' ); ?>" type="text" value="<?php echo $instance['telegram']; ?>" /><br/>
|
1042 |
<span>https://t.me/username</span><br/><br/>
|
1043 |
<label for="<?php echo $this->get_field_id( 'tumblr' ); ?>"><?php _e( 'Tumblr URL:', 'sassy-social-share' ); ?></label>
|
1044 |
-
<input style="width: 95%" class="widefat" id="<?php echo $this->get_field_id( 'tumblr' ); ?>" name="<?php echo $this->get_field_name( 'tumblr' ); ?>" type="text" value="<?php echo $instance['tumblr']; ?>" /><br/>
|
1045 |
<span>https://ID.tumblr.com</span><br/><br/>
|
1046 |
-
<label for="<?php echo $this->get_field_id( 'vimeo' ); ?>"><?php _e( 'Vimeo URL:', 'sassy-social-share' ); ?></label>
|
1047 |
-
<input style="width: 95%" class="widefat" id="<?php echo $this->get_field_id( 'vimeo' ); ?>" name="<?php echo $this->get_field_name( 'vimeo' ); ?>" type="text" value="<?php echo $instance['vimeo']; ?>" /><br/>
|
1048 |
<span>https://vimeo.com/ID</span><br/><br/>
|
1049 |
-
<label for="<?php echo $this->get_field_id( 'vkontakte' ); ?>"><?php _e( 'Vkontakte URL:', 'sassy-social-share' ); ?></label>
|
1050 |
-
<input style="width: 95%" class="widefat" id="<?php echo $this->get_field_id( 'vkontakte' ); ?>" name="<?php echo $this->get_field_name( 'vkontakte' ); ?>" type="text" value="<?php echo $instance['vkontakte']; ?>" /><br/>
|
1051 |
<span>https://vk.com/ID</span><br/><br/>
|
1052 |
-
<label for="<?php echo $this->get_field_id( 'whatsapp' ); ?>"><?php _e( 'Whatsapp URL:', 'sassy-social-share' ); ?></label>
|
1053 |
-
<input style="width: 95%" class="widefat" id="<?php echo $this->get_field_id( 'whatsapp' ); ?>" name="<?php echo $this->get_field_name( 'whatsapp' ); ?>" type="text" value="<?php echo $instance['whatsapp']; ?>" /><br/>
|
1054 |
<span>https://wa.me/PHONE_NUMBER</span><br/><br/>
|
1055 |
-
<label for="<?php echo $this->get_field_id( 'xing' ); ?>"><?php _e( 'Xing URL:', 'sassy-social-share' ); ?></label>
|
1056 |
-
<input style="width: 95%" class="widefat" id="<?php echo $this->get_field_id( 'xing' ); ?>" name="<?php echo $this->get_field_name( 'xing' ); ?>" type="text" value="<?php echo $instance['xing']; ?>" /><br/>
|
1057 |
<span>https://www.xing.com/profile/ID</span><br/><br/>
|
1058 |
-
<label for="<?php echo $this->get_field_id( 'youtube' ); ?>"><?php _e( 'Youtube URL:', 'sassy-social-share' ); ?></label>
|
1059 |
-
<input style="width: 95%" class="widefat" id="<?php echo $this->get_field_id( 'youtube' ); ?>" name="<?php echo $this->get_field_name( 'youtube' ); ?>" type="text" value="<?php echo $instance['youtube']; ?>" /><br/>
|
1060 |
<span>https://www.youtube.com/user/ID</span><br/><br/>
|
1061 |
-
<label for="<?php echo $this->get_field_id( 'youtube_channel' ); ?>"><?php _e( 'Youtube Channel URL:', 'sassy-social-share' ); ?></label>
|
1062 |
-
<input style="width: 95%" class="widefat" id="<?php echo $this->get_field_id( 'youtube_channel' ); ?>" name="<?php echo $this->get_field_name( 'youtube_channel' ); ?>" type="text" value="<?php echo $instance['youtube_channel']; ?>" /><br/>
|
1063 |
<span>https://www.youtube.com/channel/ID</span><br/><br/>
|
1064 |
-
<label for="<?php echo $this->get_field_id( 'rss_feed' ); ?>"><?php _e( 'RSS Feed URL:', 'sassy-social-share' ); ?></label>
|
1065 |
-
<input style="width: 95%" class="widefat" id="<?php echo $this->get_field_id( 'rss_feed' ); ?>" name="<?php echo $this->get_field_name( 'rss_feed' ); ?>" type="text" value="<?php echo $instance['rss_feed']; ?>" /><br/>
|
1066 |
<span>http://www.example.com/feed/</span><br/><br/>
|
1067 |
-
<label for="<?php echo $this->get_field_id( 'gab' ); ?>"><?php _e( 'Gab.com URL:', 'sassy-social-share' ); ?></label>
|
1068 |
-
<input style="width: 95%" class="widefat" id="<?php echo $this->get_field_id( 'gab' ); ?>" name="<?php echo $this->get_field_name( 'gab' ); ?>" type="text" value="<?php echo $instance['gab']; ?>" /><br/>
|
1069 |
<span>https://gab.com/ID</span><br/><br/>
|
1070 |
-
<label for="<?php echo $this->get_field_id( 'after_widget_content' ); ?>"><?php _e( 'After widget content:', 'sassy-social-share' ); ?></label>
|
1071 |
-
<input class="widefat" id="<?php echo $this->get_field_id( 'after_widget_content' ); ?>" name="<?php echo $this->get_field_name( 'after_widget_content' ); ?>" type="text" value="<?php echo $instance['after_widget_content']; ?>" />
|
1072 |
</p>
|
1073 |
<?php
|
1074 |
}
|
138 |
$sharing_divs = $this->public_class_object->prepare_sharing_html( $short_url ? $short_url : $sharing_url, 'horizontal', isset( $instance['show_counts'] ), isset( $instance['total_shares'] ), ! is_singular() ? true : false );
|
139 |
$sharing_divs = explode( '%instance%', $sharing_divs );
|
140 |
if ( ! empty( $instance['before_widget_content'] ) ) {
|
141 |
+
echo '<div>' . esc_html( $instance['before_widget_content'] ) . '</div>';
|
142 |
}
|
143 |
|
144 |
foreach ( $sharing_divs as $sharing_div ) {
|
154 |
}
|
155 |
|
156 |
if ( ! empty( $instance['after_widget_content'] ) ) {
|
157 |
+
echo '<div>' . esc_html( $instance['after_widget_content'] ) . '</div>';
|
158 |
}
|
159 |
|
160 |
if ( ( isset( $instance['show_counts'] ) || isset( $instance['total_shares'] ) ) && $cached_share_count === false ) {
|
161 |
+
echo '<script>heateorSssLoadEvent(function(){heateorSssGetSharingCounts();});</script>';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
162 |
}
|
163 |
echo $after_widget;
|
164 |
}
|
226 |
</script>
|
227 |
<p>
|
228 |
<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>
|
229 |
+
<label for="<?php echo esc_attr( $this->get_field_id( 'title' ) ); ?>"><?php _e( 'Title:', 'sassy-social-share' ); ?></label>
|
230 |
+
<input style="width: 95%" class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'title' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'title' ) ); ?>" type="text" value="<?php echo esc_attr( $instance['title'] ); ?>" /> <br/><br/>
|
231 |
+
<label for="<?php echo esc_attr( $this->get_field_id( 'show_counts' ) ); ?>"><?php _e( 'Show individual share counts:', 'sassy-social-share' ); ?></label>
|
232 |
+
<input id="<?php echo esc_attr( $this->get_field_id( 'show_counts' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'show_counts' ) ); ?>" type="checkbox" value="1" <?php echo isset( $instance['show_counts'] ) && $instance['show_counts'] == 1 ? 'checked' : ''; ?> /><br/><br/>
|
233 |
+
<label for="<?php echo esc_attr( $this->get_field_id( 'total_shares' ) ); ?>"><?php _e( 'Show total shares:', 'sassy-social-share' ); ?></label>
|
234 |
+
<input id="<?php echo esc_attr( $this->get_field_id( 'total_shares' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'total_shares' ) ); ?>" type="checkbox" value="1" <?php echo isset( $instance['total_shares'] ) && $instance['total_shares'] == 1 ? 'checked' : ''; ?> /><br/> <br/>
|
235 |
+
<label for="<?php echo esc_attr( $this->get_field_id( 'target_url' ) ); ?>"><?php _e( 'Target Url:', 'sassy-social-share' ); ?></label>
|
236 |
+
<select style="width: 95%" onchange="heateorSssToggleHorSharingTargetUrl(this.value)" class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'target_url' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'target_url' ) ); ?>">
|
237 |
<option value="">--<?php _e( 'Select', 'sassy-social-share' ) ?>--</option>
|
238 |
<option value="default" <?php echo isset( $instance['target_url'] ) && $instance['target_url'] == 'default' ? 'selected' : '' ; ?>><?php _e( 'Url of the webpage where icons are located (default)', 'sassy-social-share' ) ?></option>
|
239 |
<option value="homepage" <?php echo isset( $instance['target_url'] ) && $instance['target_url'] == 'homepage' ? 'selected' : '' ; ?>><?php _e( 'Url of the homepage of your website', 'sassy-social-share' ) ?></option>
|
240 |
<option value="custom" <?php echo isset( $instance['target_url'] ) && $instance['target_url'] == 'custom' ? 'selected' : '' ; ?>><?php _e( 'Custom Url', 'sassy-social-share' ) ?></option>
|
241 |
</select>
|
242 |
+
<input placeholder="<?php _e( 'Custom Url', 'sassy-social-share' ) ?>" style="margin-top:5px; <?php echo ! isset( $instance['target_url'] ) || $instance['target_url'] != 'custom' ? 'display: none' : '' ; ?>" class="widefat heateorSssHorSharingTargetUrl" id="<?php echo esc_attr( $this->get_field_id( 'target_url_custom' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'target_url_custom' ) ); ?>" type="text" value="<?php echo isset( $instance['target_url_custom'] ) ? esc_url( $instance['target_url_custom'] ) : ''; ?>" />
|
243 |
+
<label for="<?php echo esc_attr( $this->get_field_id( 'before_widget_content' ) ); ?>"><?php _e( 'Before widget content:', 'sassy-social-share' ); ?></label>
|
244 |
+
<input class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'before_widget_content' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'before_widget_content' ) ); ?>" type="text" value="<?php echo esc_attr( $instance['before_widget_content'] ); ?>" />
|
245 |
+
<label for="<?php echo esc_attr( $this->get_field_id( 'after_widget_content' ) ); ?>"><?php _e( 'After widget content:', 'sassy-social-share' ); ?></label>
|
246 |
+
<input class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'after_widget_content' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'after_widget_content' ) ); ?>" type="text" value="<?php echo esc_attr( $instance['after_widget_content'] ); ?>" />
|
247 |
+
<br /><br /><label for="<?php echo esc_attr( $this->get_field_id( 'hide_for_logged_in' ) ); ?>"><?php _e( 'Hide for logged in users:', 'sassy-social-share' ); ?></label>
|
248 |
+
<input type="checkbox" id="<?php echo esc_attr( $this->get_field_id( 'hide_for_logged_in' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'hide_for_logged_in' ) ); ?>" type="text" value="1" <?php if ( isset( $instance['hide_for_logged_in'] ) && $instance['hide_for_logged_in'] == 1 ) echo 'checked="checked"'; ?> />
|
249 |
</p>
|
250 |
<?php
|
251 |
}
|
395 |
if ( ( isset( $instance['show_counts'] ) || isset( $instance['total_shares'] ) ) && $cached_share_count === false ) {
|
396 |
echo '<script>heateorSssLoadEvent(
|
397 |
function() {
|
398 |
+
heateorSssGetSharingCounts();
|
|
|
|
|
|
|
399 |
}
|
400 |
);</script>';
|
401 |
}
|
464 |
}
|
465 |
</script>
|
466 |
<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>
|
467 |
+
<label for="<?php echo esc_attr( $this->get_field_id( 'show_counts' ) ); ?>"><?php _e( 'Show individual share counts:', 'sassy-social-share' ); ?></label>
|
468 |
+
<input id="<?php echo esc_attr( $this->get_field_id( 'show_counts' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'show_counts' ) ); ?>" type="checkbox" value="1" <?php echo isset( $instance['show_counts'] ) && $instance['show_counts'] == 1 ? 'checked' : ''; ?> /><br/><br/>
|
469 |
+
<label for="<?php echo esc_attr( $this->get_field_id( 'total_shares' ) ); ?>"><?php _e( 'Show total shares:', 'sassy-social-share' ); ?></label>
|
470 |
+
<input id="<?php echo esc_attr( $this->get_field_id( 'total_shares' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'total_shares' ) ); ?>" type="checkbox" value="1" <?php echo isset( $instance['total_shares'] ) && $instance['total_shares'] == 1 ? 'checked' : ''; ?> /><br/> <br/>
|
471 |
+
<label for="<?php echo esc_attr( $this->get_field_id( 'target_url' ) ); ?>"><?php _e( 'Target Url:', 'sassy-social-share' ); ?></label>
|
472 |
+
<select style="width: 95%" onchange="heateorSssToggleVerticalSharingTargetUrl(this.value)" class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'target_url' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'target_url' ) ); ?>">
|
473 |
<option value="">--<?php _e( 'Select', 'sassy-social-share' ) ?>--</option>
|
474 |
<option value="default" <?php echo isset( $instance['target_url'] ) && $instance['target_url'] == 'default' ? 'selected' : '' ; ?>><?php _e( 'Url of the webpage where icons are located (default)', 'sassy-social-share' ) ?></option>
|
475 |
<option value="homepage" <?php echo isset( $instance['target_url'] ) && $instance['target_url'] == 'homepage' ? 'selected' : '' ; ?>><?php _e( 'Url of the homepage of your website', 'sassy-social-share' ) ?></option>
|
476 |
<option value="custom" <?php echo isset( $instance['target_url'] ) && $instance['target_url'] == 'custom' ? 'selected' : '' ; ?>><?php _e( 'Custom Url', 'sassy-social-share' ) ?></option>
|
477 |
</select>
|
478 |
+
<input placeholder="Custom url" style="width:95%; margin-top: 5px; <?php echo ! isset( $instance['target_url'] ) || $instance['target_url'] != 'custom' ? 'display: none' : '' ; ?>" class="widefat heateorSssVerticalSharingTargetUrl" id="<?php echo esc_attr( $this->get_field_id( 'target_url_custom' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'target_url_custom' ) ); ?>" type="text" value="<?php echo isset( $instance['target_url_custom'] ) ? $instance['target_url_custom'] : ''; ?>" />
|
479 |
+
<label for="<?php echo esc_attr( $this->get_field_id( 'alignment' ) ); ?>"><?php _e( 'Alignment', 'sassy-social-share' ); ?></label>
|
480 |
+
<select onchange="heateorSssToggleSharingOffset(this.value)" style="width: 95%" class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'alignment' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'alignment' ) ); ?>">
|
481 |
<option value="left" <?php echo $instance['alignment'] == 'left' ? 'selected' : ''; ?>><?php _e( 'Left', 'sassy-social-share' ) ?></option>
|
482 |
<option value="right" <?php echo $instance['alignment'] == 'right' ? 'selected' : ''; ?>><?php _e( 'Right', 'sassy-social-share' ) ?></option>
|
483 |
</select>
|
484 |
<div class="heateorSssSharingLeftOffset" <?php echo $instance['alignment'] == 'right' ? 'style="display: none"' : ''; ?>>
|
485 |
+
<label for="<?php echo esc_attr( $this->get_field_id( 'left_offset' ) ); ?>"><?php _e( 'Left Offset', 'sassy-social-share' ); ?></label>
|
486 |
+
<input style="width: 95%" class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'left_offset' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'left_offset' ) ); ?>" type="text" value="<?php echo esc_attr( $instance['left_offset'] ); ?>" />px<br/>
|
487 |
</div>
|
488 |
<div class="heateorSssSharingRightOffset" <?php echo $instance['alignment'] == 'left' ? 'style="display: none"' : ''; ?>>
|
489 |
+
<label for="<?php echo esc_attr( $this->get_field_id( 'right_offset' ) ); ?>"><?php _e( 'Right Offset', 'sassy-social-share' ); ?></label>
|
490 |
+
<input style="width: 95%" class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'right_offset' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'right_offset' ) ); ?>" type="text" value="<?php echo esc_attr( $instance['right_offset'] ); ?>" />px<br/>
|
491 |
</div>
|
492 |
+
<label for="<?php echo esc_attr( $this->get_field_id( 'top_offset' ) ); ?>"><?php _e( 'Top Offset', 'sassy-social-share' ); ?></label>
|
493 |
+
<input style="width: 95%" class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'top_offset' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'top_offset' ) ); ?>" type="text" value="<?php echo esc_attr( $instance['top_offset'] ); ?>" />px<br/>
|
494 |
+
<label for="<?php echo esc_attr( $this->get_field_id( 'vertical_bg' ) ); ?>"><?php _e( 'Background Color', 'sassy-social-share' ); ?></label>
|
495 |
+
<input style="width: 95%" class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'vertical_bg' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'vertical_bg' ) ); ?>" type="text" value="<?php echo esc_attr( $instance['vertical_bg'] ); ?>" />
|
496 |
+
<br /><br /><label for="<?php echo esc_attr( $this->get_field_id( 'hide_for_logged_in' ) ); ?>"><?php _e( 'Hide for logged in users:', 'sassy-social-share' ); ?></label>
|
497 |
+
<input type="checkbox" id="<?php echo esc_attr( $this->get_field_id( 'hide_for_logged_in' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'hide_for_logged_in' ) ); ?>" type="text" value="1" <?php if ( isset( $instance['hide_for_logged_in'] ) && $instance['hide_for_logged_in'] == 1 ) echo 'checked="checked"'; ?> />
|
|
|
|
|
498 |
</p>
|
499 |
<?php
|
500 |
+
}
|
501 |
}
|
502 |
|
503 |
/**
|
693 |
$logo_color = $this->options['horizontal_font_color_default'];
|
694 |
}
|
695 |
if ( $this->options['horizontal_font_color_hover'] ) {
|
696 |
+
$html .= "<style>.widget_heateor_sss_follow span.heateor_sss_svg svg:hover path:not(.heateor_sss_no_fill),.widget_heateor_sss_follow span.heateor_sss_svg svg:hover ellipse, .widget_heateor_sss_follow span.heateor_sss_svg svg:hover circle,.widget_heateor_sss_follow span.heateor_sss_svg svg:hover polygon{
|
697 |
fill: ". $this->options['horizontal_font_color_hover'] .";
|
698 |
}
|
699 |
.widget_heateor_sss_follow span.heateor_sss_svg svg:hover span.heateor_sss_s_digg path{
|
700 |
stroke: ". $this->options['horizontal_font_color_hover'] .";
|
701 |
}
|
702 |
+
.widget_heateor_sss_follow span.heateor_sss_svg svg:hover span.heateor_sss_s_whatsapp path.heateor_sss_no_fill{
|
703 |
fill: ". $this->options['horizontal_font_color_hover'] ."!important;
|
704 |
}
|
705 |
.widget_heateor_sss_follow span.heateor_sss_svg svg:hover path{
|
715 |
$logo_color = $this->options['vertical_font_color_default'];
|
716 |
}
|
717 |
if ( $this->options['vertical_font_color_hover'] ) {
|
718 |
+
$html .= "<style>.widget_heateor_sss_follow span.heateor_sss_svg svg:hover path:not(.heateor_sss_no_fill),.widget_heateor_sss_follow span.heateor_sss_svg svg:hover ellipse, .widget_heateor_sss_follow span.heateor_sss_svg svg:hover circle,.widget_heateor_sss_follow span.heateor_sss_svg svg:hover polygon{
|
719 |
fill:". $this->options['vertical_font_color_hover'] .";
|
720 |
}
|
721 |
.widget_heateor_sss_follow span.heateor_sss_svg svg:hover span.heateor_sss_s_digg path{
|
722 |
stroke:" . $this->options['vertical_font_color_hover'] . ";
|
723 |
}
|
724 |
+
.widget_heateor_sss_follow span.heateor_sss_svg svg:hover span.heateor_sss_s_whatsapp path.heateor_sss_no_fill{
|
725 |
fill:" . $this->options['vertical_font_color_hover'] . "!important;
|
726 |
}</style>";
|
727 |
}
|
901 |
$instance = wp_parse_args( ( array ) $instance, $defaults );
|
902 |
?>
|
903 |
<p>
|
904 |
+
<label for="<?php echo esc_attr( $this->get_field_id( 'before_widget_content' ) ); ?>"><?php _e( 'Before widget content:', 'sassy-social-share' ); ?></label>
|
905 |
+
<input class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'before_widget_content' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'before_widget_content' ) ); ?>" type="text" value="<?php echo esc_attr( $instance['before_widget_content'] ); ?>" /><br/><br/>
|
906 |
+
<label for="<?php echo esc_attr( $this->get_field_id( 'title' ) ); ?>"><?php _e( 'Title', 'sassy-social-share' ); ?></label>
|
907 |
+
<input style="width: 95%" class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'title' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'title' ) ); ?>" type="text" value="<?php echo esc_attr( $instance['title'] ); ?>" /><br/><br/>
|
908 |
+
<label for="<?php echo esc_attr( $this->get_field_id( 'mode_standard' ) ); ?>"><?php _e( 'Type:', 'sassy-social-share' ) ?></label><br>
|
909 |
+
<input id="<?php echo esc_attr( $this->get_field_id( 'mode_standard' ) ); ?>" type="radio" onclick="jQuery( '.heateorSssFloatingAlignment' ).css( 'display', 'none' );" name="<?php echo esc_attr( $this->get_field_name( 'type' ) ); ?>" value="standard" <?php if ( $instance['type'] == 'standard' ) {
|
910 |
echo "checked";
|
911 |
+
} ?>><label for="<?php echo esc_attr( $this->get_field_id( 'mode_standard' ) ); ?>"> <?php _e( 'Standard', 'sassy-social-share' ) ?></label><br>
|
912 |
+
<input id="<?php echo esc_attr( $this->get_field_id( 'mode_floating' ) ); ?>" type="radio" name="<?php echo esc_attr( $this->get_field_name( 'type' ) ); ?>" onclick="jQuery( '.heateorSssFloatingAlignment' ).css( 'display', 'block' );" value="floating" <?php if( $instance['type'] == 'floating' ) {
|
913 |
echo "checked";
|
914 |
+
}?>><label for="<?php echo esc_attr( $this->get_field_id( 'mode_floating' ) ); ?>"> <?php _e( 'Floating', 'sassy-social-share' ) ?></label><br><br>
|
915 |
|
916 |
<div class="heateorSssFloatingAlignment"
|
917 |
<?php echo $instance['type'] == 'standard' ? "style='display:none'" : "style='display:block'" ?>>
|
918 |
+
<label for="<?php echo esc_attr( $this->get_field_id( 'top_offset' ) ); ?>">
|
919 |
<?php _e( 'Top offset:', 'sassy-social-share' ) ?>
|
920 |
</label>
|
921 |
+
<input id="<?php echo esc_attr( $this->get_field_id('top_offset' ) ); ?>" type="text" name="<?php echo esc_attr( $this->get_field_name( 'top_offset' ) ); ?>" value="<?php echo esc_attr( $instance['top_offset'] ); ?>"/>px<br><br>
|
922 |
+
<label for="<?php echo esc_attr( $this->get_field_id( 'floating_left' ) ); ?>">
|
923 |
<?php _e( 'Alignment:', 'sassy-social-share' ) ?>
|
924 |
</label>
|
925 |
+
<input id="<?php echo esc_attr( $this->get_field_id( 'floating_left' ) ); ?>" type="radio" name="<?php echo esc_attr( $this->get_field_name( 'alignment' ) ); ?>" value="left"
|
926 |
<?php if ( $instance['alignment'] == 'left' ) {
|
927 |
echo 'checked';
|
928 |
} ?>>
|
929 |
+
<label for="<?php echo esc_attr( $this->get_field_id( 'floating_left' ) ); ?>">
|
930 |
<?php _e( 'Left', 'sassy-social-share' ) ?>
|
931 |
</label>
|
932 |
+
<input id="<?php echo esc_attr( $this->get_field_id( 'floating_right' ) ); ?>" type="radio" name="<?php echo esc_attr( $this->get_field_name( 'alignment' ) ); ?>" value="right"
|
933 |
<?php if ( $instance['alignment'] == 'right' ) {
|
934 |
echo 'checked';
|
935 |
} ?> />
|
936 |
+
<label for="<?php echo esc_attr( $this->get_field_id( 'floating_right' ) ); ?>" >
|
937 |
<?php _e( 'Right', 'sassy-social-share' ) ?>
|
938 |
</label>
|
939 |
<br>
|
940 |
<br>
|
941 |
+
<label id="<?php echo esc_attr( $this->get_field_id( 'alignment_value_label' ) ); ?>" for="<?php echo esc_attr( $this->get_field_id( 'alignment_value' ) ); ?>"><?php _e( 'Offset', 'sassy-social-share' ); ?></label>
|
942 |
<br>
|
943 |
+
<input id='<?php echo esc_attr( $this->get_field_id( 'alignment_value' ) ); ?>' type="text" name="<?php echo esc_attr( $this->get_field_name( 'alignment_value' ) ); ?>" value="<?php echo esc_attr( $instance['alignment_value'] ); ?>" />px<br><br>
|
944 |
+
<input id="<?php echo esc_attr( $this->get_field_id( 'mobile_sharing' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'mobile_sharing' ) ); ?>" type="checkbox" <?php echo isset( $instance['mobile_sharing'] ) ? 'checked = "checked"' : ''; ?> value="1" />
|
945 |
|
946 |
+
<label><?php echo sprintf( __( 'Display vertical interface only when screen is wider than %s pixels', 'sassy-social-share' ), '<input style="width:46px" name="' . esc_attr( $this->get_field_name( 'vertical_screen_width' ) ) . '" type="text" value="' . ( isset( $instance['vertical_screen_width'] ) ? esc_attr( $instance['vertical_screen_width'] ) : '' ) . '" />' ) ?></label>
|
947 |
|
948 |
<br><br>
|
949 |
|
950 |
+
<input id="<?php echo esc_attr( $this->get_field_id('mobile_sharing_bottom' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'bottom_mobile_sharing' ) ); ?>" type="checkbox" <?php echo isset( $instance['bottom_mobile_sharing'] ) ? 'checked = "checked"' : '';?> value="1" />
|
951 |
|
952 |
+
<label><?php echo sprintf( __( 'Stick vertical floating interface horizontally at bottom only when screen is narrower than %s pixels', 'sassy-social-share' ), '<input style="width:46px" name="' . esc_attr( $this->get_field_name( 'horizontal_screen_width' ) ) . '" type="text" value="' . ( isset( $instance['horizontal_screen_width'] ) ? $instance['horizontal_screen_width'] : '' ) . '" />' ) ?></label>
|
953 |
|
954 |
<br><br>
|
955 |
|
956 |
+
<input type="radio" id="<?php echo esc_attr( $this->get_field_id( 'bottom_sharing_position_radio_nonresponsive' ) ); ?>" <?php echo $instance['bottom_sharing_position_radio'] == 'nonresponsive' ? 'checked' : ''; ?> name="<?php echo esc_attr( $this->get_field_name( 'bottom_sharing_position_radio' ) ); ?>" value="nonresponsive" />
|
957 |
|
958 |
+
<label for="<?php echo esc_attr( $this->get_field_id( 'bottom_sharing_position_radio_nonresponsive' ) ); ?>"><?php echo sprintf( __( '%s pixels from %s', 'sassy-social-share' ), '<input id="'. esc_attr( $this->get_field_id('mobile_sharing_position' ) ) . '" style="width:46px" name="'.$this->get_field_name( 'bottom_sharing_position' ).'" type="text" value="' . ( isset( $instance['bottom_sharing_position'] ) ? $instance['bottom_sharing_position'] : '' ) . '" />', '<select style="width:63px" name="' . esc_attr( $this->get_field_name( 'bottom_sharing_alignment' ) ) . '"><option value="right" ' . ( ! isset( $instance['bottom_sharing_alignment'] ) || $instance['bottom_sharing_alignment'] == 'right' ? 'selected' : '' ) . '>right</option><option value="left" ' . ( isset( $instance['bottom_sharing_alignment'] ) && $instance['bottom_sharing_alignment'] == 'left' ? 'selected' : '' ) . '>left</option></select>' ) ?></label>
|
959 |
|
960 |
<br/>
|
961 |
|
962 |
+
<input type="radio" id="<?php echo esc_attr( $this->get_field_id( 'bottom_sharing_position_radio_responsive' ) ); ?>" <?php echo $instance['bottom_sharing_position_radio'] == 'responsive' ? 'checked' : ''; ?> name="<?php echo esc_attr( $this->get_field_name( 'bottom_sharing_position_radio' ) ); ?>" value="responsive" /><label for="<?php echo esc_attr( $this->get_field_id( 'bottom_sharing_position_radio_responsive' ) ); ?>"><?php _e( 'Auto-adjust according to screen width (responsive)', 'sassy-social-share' ); ?></label>
|
963 |
<br>
|
964 |
<br>
|
965 |
</div>
|
966 |
|
967 |
+
<label for="<?php echo esc_attr( $this->get_field_id( 'size' ) ); ?>"><?php _e( 'Size of icons', 'sassy-social-share' ); ?></label>
|
968 |
+
<input style="width: 82%" class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'size' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'size' ) ); ?>" type="text" value="<?php echo esc_attr( $instance['size'] ); ?>" />px<br/><br/>
|
969 |
+
<label for="<?php echo esc_attr( $this->get_field_id( 'icon_shape' ) ); ?>"><?php _e( 'Icon Shape', 'sassy-social-share' ); ?></label>
|
970 |
+
<select style="width: 95%" class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'icon_shape' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'icon_shape' ) ); ?>">
|
971 |
<option value="round" <?php echo ! isset( $instance['icon_shape'] ) || $instance['icon_shape'] == 'round' ? 'selected' : '' ; ?>><?php _e( 'Round', 'sassy-social-share' ); ?></option>
|
972 |
<option value="square" <?php echo isset( $instance['icon_shape'] ) && $instance['icon_shape'] == 'square' ? 'selected' : '' ; ?>><?php _e( 'Square', 'sassy-social-share' ); ?></option>
|
973 |
</select><br/><br/>
|
977 |
heateorSssAlignmentOffsetLabel('<?php echo $instance['alignment'] ?>');
|
978 |
});
|
979 |
</script>
|
980 |
+
<label for="<?php echo esc_attr( $this->get_field_id( 'custom_color' ) ); ?>"><?php _e( 'Apply icon color and background color from Theme Selection section:', 'sassy-social-share' ); ?></label>
|
981 |
+
<select style="width: 95%" class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'custom_color' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'custom_color' ) ); ?>">
|
982 |
<option value="" <?php echo ! isset( $instance['custom_color'] ) || $instance['custom_color'] == '' ? 'selected' : '' ; ?>><?php _e( 'No', 'sassy-social-share' ); ?></option>
|
983 |
<option value="standard" <?php echo isset( $instance['custom_color'] ) && $instance['custom_color'] == 'standard' ? 'selected' : '' ; ?>><?php _e( 'Yes, Standard Interface Theme', 'sassy-social-share' ); ?></option>
|
984 |
<option value="floating" <?php echo isset( $instance['custom_color'] ) && $instance['custom_color'] == 'floating' ? 'selected' : '' ; ?>><?php _e( 'Yes, Floating Interface Theme', 'sassy-social-share' ); ?></option>
|
985 |
</select><br/><br/>
|
986 |
+
<label for="<?php echo esc_attr( $this->get_field_id( 'facebook' ) ); ?>"><?php _e( 'Facebook URL:', 'sassy-social-share' ); ?></label>
|
987 |
+
<input style="width: 95%" class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'facebook' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'facebook' ) ); ?>" type="text" value="<?php echo esc_attr( $instance['facebook'] ); ?>" /><br/>
|
988 |
<span>https://www.facebook.com/ID</span><br/><br/>
|
989 |
+
<label for="<?php echo esc_attr( $this->get_field_id( 'twitter' ) ); ?>"><?php _e( 'Twitter URL:', 'sassy-social-share' ); ?></label>
|
990 |
+
<input style="width: 95%" class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'twitter' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'twitter' ) ); ?>" type="text" value="<?php echo esc_attr( $instance['twitter'] ); ?>" /><br/>
|
991 |
<span>https://twitter.com/ID</span><br/><br/>
|
992 |
+
<label for="<?php echo esc_attr( $this->get_field_id( 'instagram' ) ); ?>"><?php _e( 'Instagram URL:', 'sassy-social-share' ); ?></label>
|
993 |
+
<input style="width: 95%" class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'instagram' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'instagram' ) ); ?>" type="text" value="<?php echo esc_attr( $instance['instagram'] ); ?>" /><br/>
|
994 |
<span>https://www.instagram.com/ID</span><br/><br/>
|
995 |
+
<label for="<?php echo esc_attr( $this->get_field_id( 'parler' ) ); ?>"><?php _e( 'Parler URL:', 'sassy-social-share' ); ?></label>
|
996 |
+
<input style="width: 95%" class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'parler' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'parler' ) ); ?>" type="text" value="<?php echo esc_attr( $instance['parler'] ); ?>" /><br/>
|
997 |
<span>https://parler.com/profile/ID</span><br/><br/>
|
998 |
+
<label for="<?php echo esc_attr( $this->get_field_id( 'pinterest' ) ); ?>"><?php _e( 'Pinterest URL:', 'sassy-social-share' ); ?></label>
|
999 |
+
<input style="width: 95%" class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'pinterest' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'pinterest' ) ); ?>" type="text" value="<?php echo esc_attr( $instance['pinterest'] ); ?>" /><br/>
|
1000 |
<span>https://www.pinterest.com/ID</span><br/><br/>
|
1001 |
+
<label for="<?php echo esc_attr( $this->get_field_id( 'behance' ) ); ?>"><?php _e( 'Behance URL:', 'sassy-social-share' ); ?></label>
|
1002 |
+
<input style="width: 95%" class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'behance' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'behance' ) ); ?>" type="text" value="<?php echo esc_attr( $instance['behance'] ); ?>" /><br/>
|
1003 |
<span>https://www.behance.net/ID</span><br/><br/>
|
1004 |
+
<label for="<?php echo esc_attr( $this->get_field_id( 'flickr' ) ); ?>"><?php _e( 'Flickr URL:', 'sassy-social-share' ); ?></label>
|
1005 |
+
<input style="width: 95%" class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'flickr' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'flickr' ) ); ?>" type="text" value="<?php echo esc_attr( $instance['flickr'] ); ?>" /><br/>
|
1006 |
<span>https://www.flickr.com/photos/ID</span><br/><br/>
|
1007 |
+
<label for="<?php echo esc_attr( $this->get_field_id( 'foursquare' ) ); ?>"><?php _e( 'Foursquare URL:', 'sassy-social-share' ); ?></label>
|
1008 |
+
<input style="width: 95%" class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'foursquare' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'foursquare' ) ); ?>" type="text" value="<?php echo esc_attr( $instance['foursquare'] ); ?>" /><br/>
|
1009 |
<span>https://foursquare.com/ID</span><br/><br/>
|
1010 |
+
<label for="<?php echo esc_attr( $this->get_field_id( 'github' ) ); ?>"><?php _e( 'Github URL:', 'sassy-social-share' ); ?></label>
|
1011 |
+
<input style="width: 95%" class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'github' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'github' ) ); ?>" type="text" value="<?php echo esc_attr( $instance['github'] ); ?>" /><br/>
|
1012 |
<span>https://github.com/ID</span><br/><br/>
|
1013 |
<label for="<?php echo $this->get_field_id( 'linkedin' ); ?>"><?php _e( 'LinkedIn URL:', 'sassy-social-share' ); ?></label>
|
1014 |
+
<input style="width: 95%" class="widefat" id="<?php echo $this->get_field_id( 'linkedin' ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'linkedin' ) ); ?>" type="text" value="<?php echo esc_attr( $instance['linkedin'] ); ?>" /><br/>
|
1015 |
<span>https://www.linkedin.com/in/ID</span><br/><br/>
|
1016 |
<label for="<?php echo $this->get_field_id( 'linkedin_company' ); ?>"><?php _e( 'LinkedIn Company URL:', 'sassy-social-share' ); ?></label>
|
1017 |
+
<input style="width: 95%" class="widefat" id="<?php echo $this->get_field_id( 'linkedin_company' ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'linkedin_company' ) ); ?>" type="text" value="<?php echo esc_attr( $instance['linkedin_company'] ); ?>" /><br/>
|
1018 |
<span>https://www.linkedin.com/company/ID</span><br/><br/>
|
1019 |
<label for="<?php echo $this->get_field_id( 'medium' ); ?>"><?php _e( 'Medium URL:', 'sassy-social-share' ); ?></label>
|
1020 |
+
<input style="width: 95%" class="widefat" id="<?php echo $this->get_field_id( 'medium' ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'medium' ) ); ?>" type="text" value="<?php echo esc_attr( $instance['medium'] ); ?>" /><br/>
|
1021 |
<span>https://medium.com/@ID</span><br/><br/>
|
1022 |
<label for="<?php echo $this->get_field_id( 'mewe' ); ?>"><?php _e( 'MeWe URL:', 'sassy-social-share' ); ?></label>
|
1023 |
+
<input style="width: 95%" class="widefat" id="<?php echo $this->get_field_id( 'mewe' ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'mewe' ) ); ?>" type="text" value="<?php echo esc_attr( $instance['mewe'] ); ?>" /><br/>
|
1024 |
<span>https://mewe.com/profile/ID</span><br/><br/>
|
1025 |
<label for="<?php echo $this->get_field_id( 'odnoklassniki' ); ?>"><?php _e( 'Odnoklassniki URL:', 'sassy-social-share' ); ?></label>
|
1026 |
+
<input style="width: 95%" class="widefat" id="<?php echo $this->get_field_id( 'odnoklassniki' ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'odnoklassniki' ) ); ?>" type="text" value="<?php echo esc_attr( $instance['odnoklassniki'] ); ?>" /><br/>
|
1027 |
<span>https://ok.ru/profile/ID</span><br/><br/>
|
1028 |
<label for="<?php echo $this->get_field_id( 'telegram' ); ?>"><?php _e( 'Telegram URL:', 'sassy-social-share' ); ?></label>
|
1029 |
+
<input style="width: 95%" class="widefat" id="<?php echo $this->get_field_id( 'telegram' ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'telegram' ) ); ?>" type="text" value="<?php echo esc_attr( $instance['telegram'] ); ?>" /><br/>
|
1030 |
<span>https://t.me/username</span><br/><br/>
|
1031 |
<label for="<?php echo $this->get_field_id( 'tumblr' ); ?>"><?php _e( 'Tumblr URL:', 'sassy-social-share' ); ?></label>
|
1032 |
+
<input style="width: 95%" class="widefat" id="<?php echo $this->get_field_id( 'tumblr' ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'tumblr' ) ); ?>" type="text" value="<?php echo esc_attr( $instance['tumblr'] ); ?>" /><br/>
|
1033 |
<span>https://ID.tumblr.com</span><br/><br/>
|
1034 |
+
<label for="<?php echo esc_attr( $this->get_field_id( 'vimeo' ) ); ?>"><?php _e( 'Vimeo URL:', 'sassy-social-share' ); ?></label>
|
1035 |
+
<input style="width: 95%" class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'vimeo' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'vimeo' ) ); ?>" type="text" value="<?php echo esc_attr( $instance['vimeo'] ); ?>" /><br/>
|
1036 |
<span>https://vimeo.com/ID</span><br/><br/>
|
1037 |
+
<label for="<?php echo esc_attr( $this->get_field_id( 'vkontakte' ) ); ?>"><?php _e( 'Vkontakte URL:', 'sassy-social-share' ); ?></label>
|
1038 |
+
<input style="width: 95%" class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'vkontakte' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'vkontakte' ) ); ?>" type="text" value="<?php echo esc_attr( $instance['vkontakte'] ); ?>" /><br/>
|
1039 |
<span>https://vk.com/ID</span><br/><br/>
|
1040 |
+
<label for="<?php echo esc_attr( $this->get_field_id( 'whatsapp' ) ); ?>"><?php _e( 'Whatsapp URL:', 'sassy-social-share' ); ?></label>
|
1041 |
+
<input style="width: 95%" class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'whatsapp' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'whatsapp' ) ); ?>" type="text" value="<?php echo esc_attr( $instance['whatsapp'] ); ?>" /><br/>
|
1042 |
<span>https://wa.me/PHONE_NUMBER</span><br/><br/>
|
1043 |
+
<label for="<?php echo esc_attr( $this->get_field_id( 'xing' ) ); ?>"><?php _e( 'Xing URL:', 'sassy-social-share' ); ?></label>
|
1044 |
+
<input style="width: 95%" class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'xing' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'xing' ) ); ?>" type="text" value="<?php echo esc_attr( $instance['xing'] ); ?>" /><br/>
|
1045 |
<span>https://www.xing.com/profile/ID</span><br/><br/>
|
1046 |
+
<label for="<?php echo esc_attr( $this->get_field_id( 'youtube' ) ); ?>"><?php _e( 'Youtube URL:', 'sassy-social-share' ); ?></label>
|
1047 |
+
<input style="width: 95%" class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'youtube' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'youtube' ) ); ?>" type="text" value="<?php echo esc_attr( $instance['youtube'] ); ?>" /><br/>
|
1048 |
<span>https://www.youtube.com/user/ID</span><br/><br/>
|
1049 |
+
<label for="<?php echo esc_attr( $this->get_field_id( 'youtube_channel' ) ); ?>"><?php _e( 'Youtube Channel URL:', 'sassy-social-share' ); ?></label>
|
1050 |
+
<input style="width: 95%" class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'youtube_channel' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'youtube_channel' ) ); ?>" type="text" value="<?php echo esc_attr( $instance['youtube_channel'] ); ?>" /><br/>
|
1051 |
<span>https://www.youtube.com/channel/ID</span><br/><br/>
|
1052 |
+
<label for="<?php echo esc_attr( $this->get_field_id( 'rss_feed' ) ); ?>"><?php _e( 'RSS Feed URL:', 'sassy-social-share' ); ?></label>
|
1053 |
+
<input style="width: 95%" class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'rss_feed' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'rss_feed' ) ); ?>" type="text" value="<?php echo esc_attr( $instance['rss_feed'] ); ?>" /><br/>
|
1054 |
<span>http://www.example.com/feed/</span><br/><br/>
|
1055 |
+
<label for="<?php echo esc_attr( $this->get_field_id( 'gab' ) ); ?>"><?php _e( 'Gab.com URL:', 'sassy-social-share' ); ?></label>
|
1056 |
+
<input style="width: 95%" class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'gab' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'gab' ) ); ?>" type="text" value="<?php echo esc_attr( $instance['gab'] ); ?>" /><br/>
|
1057 |
<span>https://gab.com/ID</span><br/><br/>
|
1058 |
+
<label for="<?php echo esc_attr( $this->get_field_id( 'after_widget_content' ) ); ?>"><?php _e( 'After widget content:', 'sassy-social-share' ); ?></label>
|
1059 |
+
<input class="widefat" id="<?php echo $this->get_field_id( 'after_widget_content' ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'after_widget_content' ) ); ?>" type="text" value="<?php echo esc_attr( $instance['after_widget_content'] ); ?>" />
|
1060 |
</p>
|
1061 |
<?php
|
1062 |
}
|
public/class-sassy-social-share-public.php
CHANGED
@@ -194,25 +194,27 @@ class Sassy_Social_Share_Public {
|
|
194 |
$bitlyUrl = get_post_meta( $post_id, '_heateor_sss_bitly_url', true );
|
195 |
if ( $bitlyUrl ) {
|
196 |
return $bitlyUrl;
|
197 |
-
}
|
198 |
$generic_access_token = $this->options['bitly_access_token'];
|
199 |
-
//generate the URL
|
200 |
$bitly_api = 'https://api-ssl.bitly.com/v4/bitlinks';
|
201 |
-
$payload =
|
202 |
-
|
203 |
-
$
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
|
|
|
|
213 |
|
214 |
if ( ! is_wp_error( $response ) ) {
|
215 |
-
$short_url_object = json_decode(
|
216 |
if ( isset( $short_url_object->link ) ) {
|
217 |
$short_url = esc_url( $short_url_object->link );
|
218 |
update_post_meta( $post_id, '_heateor_sss_bitly_url', $short_url );
|
@@ -546,7 +548,7 @@ class Sassy_Social_Share_Public {
|
|
546 |
if ( $this->is_amp_page() ) {
|
547 |
$li_items .= '<i title="More" class="heateorSssSharing heateorSssMoreBackground"><i class="heateorSssSharingSvg heateorSssMoreSvg"></i></i></li>';
|
548 |
} else {
|
549 |
-
$li_items .= '<svg xmlns="http://www.w3.org/2000/svg" style="' . $inner_style . '" width="100%" height="100%" viewBox="-4 -4 38 38"><circle cx="10" cy="15" r="3" fill="' . $this->logo_color . '"></circle><circle cx="20" cy="10" r="3" fill="' . $this->logo_color . '"></circle><circle cx="20" cy="20" r="3" fill="' . $this->logo_color . '"></circle><path d="M 10 15 L 20 10 m 0 10 L 10 15" class="heateor_sss_svg_stroke
|
550 |
}
|
551 |
}
|
552 |
|
@@ -899,7 +901,7 @@ class Sassy_Social_Share_Public {
|
|
899 |
if ( isset( $_GET['urls'] ) && count( $_GET['urls'] ) > 0 ) {
|
900 |
$target_urls = array_unique( $_GET['urls'] );
|
901 |
foreach ( $target_urls as $k => $v ) {
|
902 |
-
$target_urls[esc_attr( $k )] =
|
903 |
}
|
904 |
} else {
|
905 |
$this->ajax_response( array( 'status' => 0, 'message' => __( 'Invalid request' ) ) );
|
@@ -1130,7 +1132,7 @@ class Sassy_Social_Share_Public {
|
|
1130 |
if ( isset( $_GET['share_counts'] ) && is_array( $_GET['share_counts'] ) && count( $_GET['share_counts'] ) > 0 ) {
|
1131 |
$target_urls = $_GET['share_counts'];
|
1132 |
foreach ( $target_urls as $k => $v ) {
|
1133 |
-
$target_urls[$k] =
|
1134 |
}
|
1135 |
} else {
|
1136 |
$this->ajax_response( array( 'status' => 0, 'message' => __( 'Invalid request' ) ) );
|
@@ -1201,7 +1203,9 @@ class Sassy_Social_Share_Public {
|
|
1201 |
* @since 2.5.1
|
1202 |
*/
|
1203 |
private function is_plugin_active( $plugin_file ) {
|
|
|
1204 |
return in_array( $plugin_file, apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) );
|
|
|
1205 |
}
|
1206 |
|
1207 |
/**
|
@@ -1211,19 +1215,16 @@ class Sassy_Social_Share_Public {
|
|
1211 |
*/
|
1212 |
public function frontend_inline_style() {
|
1213 |
|
1214 |
-
|
1215 |
-
|
1216 |
-
|
1217 |
-
} else {
|
1218 |
-
$important = '!important';
|
1219 |
-
}
|
1220 |
if ( isset( $this->options['plain_instagram_bg'] ) ) {
|
1221 |
?>
|
1222 |
.heateor_sss_button_instagram span.heateor_sss_svg{background-color:#527fa4}
|
1223 |
<?php
|
1224 |
} else {
|
1225 |
?>
|
1226 |
-
.heateor_sss_button_instagram span.heateor_sss_svg{background:radial-gradient(circle at 30% 107%,#fdf497 0,#fdf497 5%,#fd5949 45%,#d6249f 60%,#285aeb 90%)}
|
1227 |
<?php
|
1228 |
}
|
1229 |
if ( $this->options['horizontal_bg_color_default'] != '' ) { ?>
|
@@ -1251,9 +1252,9 @@ class Sassy_Social_Share_Public {
|
|
1251 |
$border_width = $this->options['horizontal_border_width_hover'];
|
1252 |
}
|
1253 |
?>
|
1254 |
-
border-width: <?php echo $border_width . 'px'
|
1255 |
-
border-style: solid
|
1256 |
-
border-color: <?php echo $this->options['horizontal_border_color_default'] != '' ? $this->options['horizontal_border_color_default'] : 'transparent';
|
1257 |
}
|
1258 |
<?php if ( $this->options['horizontal_font_color_default'] == '' ) {
|
1259 |
?>
|
@@ -1263,7 +1264,7 @@ class Sassy_Social_Share_Public {
|
|
1263 |
<?php
|
1264 |
}
|
1265 |
if ( $this->options['horizontal_font_color_hover'] != '' ) { ?>
|
1266 |
-
div.heateor_sss_horizontal_sharing span.heateor_sss_svg svg:hover path:not(.
|
1267 |
fill: <?php echo $this->options['horizontal_font_color_hover'] ?>;
|
1268 |
}
|
1269 |
div.heateor_sss_horizontal_sharing span.heateor_sss_svg svg:hover path.heateor_sss_svg_stroke{
|
@@ -1277,7 +1278,7 @@ class Sassy_Social_Share_Public {
|
|
1277 |
if ( $this->options['horizontal_font_color_hover'] != '' ) { ?>
|
1278 |
color: <?php echo $this->options['horizontal_font_color_hover'] ?>;
|
1279 |
<?php } ?>
|
1280 |
-
border-color: <?php echo $this->options['horizontal_border_color_hover'] != '' ? $this->options['horizontal_border_color_hover'] : 'transparent';
|
1281 |
}
|
1282 |
.heateor_sss_vertical_sharing span.heateor_sss_svg,.heateor_sss_floating_follow_icons_container span.heateor_sss_svg{
|
1283 |
<?php if ( $this->options['vertical_bg_color_default'] != '' ) { ?>
|
@@ -1292,9 +1293,9 @@ class Sassy_Social_Share_Public {
|
|
1292 |
$vertical_border_width = $this->options['vertical_border_width_hover'];
|
1293 |
}
|
1294 |
?>
|
1295 |
-
border-width: <?php echo $vertical_border_width ?>px
|
1296 |
-
border-style: solid
|
1297 |
-
border-color: <?php echo $this->options['vertical_border_color_default'] != '' ? $this->options['vertical_border_color_default'] : 'transparent';
|
1298 |
}
|
1299 |
<?php if ( $this->options['horizontal_font_color_default'] == '' ) { ?>
|
1300 |
.heateor_sss_vertical_sharing .heateorSssTCBackground{
|
@@ -1302,7 +1303,7 @@ class Sassy_Social_Share_Public {
|
|
1302 |
}
|
1303 |
<?php } ?>
|
1304 |
<?php if ( $this->options['vertical_font_color_hover'] != '' ) { ?>
|
1305 |
-
div.heateor_sss_vertical_sharing span.heateor_sss_svg svg:hover path:not(.
|
1306 |
fill:<?php echo $this->options['vertical_font_color_hover'] ?>;
|
1307 |
}
|
1308 |
div.heateor_sss_vertical_sharing span.heateor_sss_svg svg:hover path.heateor_sss_svg_stroke{
|
@@ -1316,7 +1317,7 @@ class Sassy_Social_Share_Public {
|
|
1316 |
if ( $this->options['vertical_font_color_hover'] != '' ) { ?>
|
1317 |
color: <?php echo $this->options['vertical_font_color_hover'] ?>;
|
1318 |
<?php } ?>
|
1319 |
-
border-color: <?php echo $this->options['vertical_border_color_hover'] != '' ? $this->options['vertical_border_color_hover'] : 'transparent';
|
1320 |
}
|
1321 |
<?php
|
1322 |
if ( isset( $this->options['horizontal_counts'] ) ) {
|
@@ -1375,9 +1376,10 @@ class Sassy_Social_Share_Public {
|
|
1375 |
if ( isset( $this->options['hor_enable'] ) && $this->options['hor_sharing_alignment'] == "center" ) {
|
1376 |
echo 'div.heateor_sss_sharing_title{text-align:center}div.heateor_sss_sharing_ul{width:100%;text-align:center;}div.heateor_sss_horizontal_sharing div.heateor_sss_sharing_ul a{float:none!important;display:inline-block;}';
|
1377 |
}
|
1378 |
-
|
1379 |
-
|
1380 |
-
|
|
|
1381 |
}
|
1382 |
|
1383 |
/**
|
@@ -1425,7 +1427,7 @@ class Sassy_Social_Share_Public {
|
|
1425 |
$css = '';
|
1426 |
|
1427 |
if ( current_action() == 'wp_print_styles' ) {
|
1428 |
-
|
1429 |
}
|
1430 |
// background color of amp icons
|
1431 |
$css .= 'a.heateor_sss_amp{padding:0 4px;}div.heateor_sss_horizontal_sharing a amp-img{display:inline-block;}.heateor_sss_amp_gab img{background-color:#25CC80}.heateor_sss_amp_parler img{background-color:#C63240}.heateor_sss_amp_gettr img{background-color:#E50000}.heateor_sss_amp_instagram img{background-color:#624E47}.heateor_sss_amp_yummly img{background-color:#E16120}.heateor_sss_amp_youtube img{background-color:#ff0000}.heateor_sss_amp_buffer img{background-color:#000}.heateor_sss_amp_delicious img{background-color:#53BEEE}.heateor_sss_amp_facebook img{background-color:#3C589A}.heateor_sss_amp_digg img{background-color:#006094}.heateor_sss_amp_email img{background-color:#649A3F}.heateor_sss_amp_float_it img{background-color:#53BEEE}.heateor_sss_amp_linkedin img{background-color:#0077B5}.heateor_sss_amp_pinterest img{background-color:#CC2329}.heateor_sss_amp_print img{background-color:#FD6500}.heateor_sss_amp_reddit img{background-color:#FF5700}.heateor_sss_amp_stocktwits img{background-color: #40576F}.heateor_sss_amp_mewe img{background-color:#007da1}.heateor_sss_amp_mix img{background-color:#ff8226}.heateor_sss_amp_tumblr img{background-color:#29435D}.heateor_sss_amp_twitter img{background-color:#55acee}.heateor_sss_amp_vkontakte img{background-color:#5E84AC}.heateor_sss_amp_yahoo img{background-color:#8F03CC}.heateor_sss_amp_xing img{background-color:#00797D}.heateor_sss_amp_instagram img{background-color:#527FA4}.heateor_sss_amp_whatsapp img{background-color:#55EB4C}.heateor_sss_amp_aim img{background-color: #10ff00}.heateor_sss_amp_amazon_wish_list img{background-color: #ffe000}.heateor_sss_amp_aol_mail img{background-color: #2A2A2A}.heateor_sss_amp_app_net img{background-color: #5D5D5D}.heateor_sss_amp_balatarin img{background-color: #fff}.heateor_sss_amp_bibsonomy img{background-color: #000}.heateor_sss_amp_bitty_browser img{background-color: #EFEFEF}.heateor_sss_amp_blinklist img{background-color: #3D3C3B}.heateor_sss_amp_blogger_post img{background-color: #FDA352}.heateor_sss_amp_blogmarks img{background-color: #535353}.heateor_sss_amp_bookmarks_fr img{background-color: #E8EAD4}.heateor_sss_amp_box_net img{background-color: #1A74B0}.heateor_sss_amp_buddymarks img{background-color: #ffd400}.heateor_sss_amp_care2_news img{background-color: #6EB43F}.heateor_sss_amp_comment img{background-color: #444}.heateor_sss_amp_diary_ru img{background-color: #E8D8C6}.heateor_sss_amp_diaspora img{background-color: #2E3436}.heateor_sss_amp_dihitt img{background-color: #FF6300}.heateor_sss_amp_diigo img{background-color: #4A8BCA}.heateor_sss_amp_douban img{background-color: #497700}.heateor_sss_amp_draugiem img{background-color: #ffad66}.heateor_sss_amp_evernote img{background-color: #8BE056}.heateor_sss_amp_facebook_messenger img{background-color: #0084FF}.heateor_sss_amp_fark img{background-color: #555}.heateor_sss_amp_fintel img{background-color: #087515}.heateor_sss_amp_flipboard img{background-color: #CC0000}.heateor_sss_amp_folkd img{background-color: #0F70B2}.heateor_sss_amp_google_classroom img{background-color: #FFC112}.heateor_sss_amp_google_bookmarks img{background-color: #CB0909}.heateor_sss_amp_google_gmail img{background-color: #E5E5E5}.heateor_sss_amp_hacker_news img{background-color: #F60}.heateor_sss_amp_hatena img{background-color: #00A6DB}.heateor_sss_amp_instapaper img{background-color: #EDEDED}.heateor_sss_amp_jamespot img{background-color: #FF9E2C}.heateor_sss_amp_kakao img{background-color: #FCB700}.heateor_sss_amp_kik img{background-color: #2A2A2A}.heateor_sss_amp_kindle_it img{background-color: #2A2A2A}.heateor_sss_amp_known img{background-color: #fff101}.heateor_sss_amp_line img{background-color: #00C300}.heateor_sss_amp_livejournal img{background-color: #EDEDED}.heateor_sss_amp_mail_ru img{background-color: #356FAC}.heateor_sss_amp_mendeley img{background-color: #A70805}.heateor_sss_amp_meneame img{background-color: #FF7D12}.heateor_sss_amp_mixi img{background-color: #EDEDED}.heateor_sss_amp_myspace img{background-color: #2A2A2A}.heateor_sss_amp_netlog img{background-color: #2A2A2A}.heateor_sss_amp_netvouz img{background-color: #c0ff00}.heateor_sss_amp_newsvine img{background-color: #055D00}.heateor_sss_amp_nujij img{background-color: #D40000}.heateor_sss_amp_odnoklassniki img{background-color: #F2720C}.heateor_sss_amp_oknotizie img{background-color: #fdff88}.heateor_sss_amp_outlook_com img{background-color: #0072C6}.heateor_sss_amp_papaly img{background-color: #3AC0F6}.heateor_sss_amp_pinboard img{background-color: #1341DE}.heateor_sss_amp_plurk img{background-color: #CF682F}.heateor_sss_amp_pocket img{background-color: #f0f0f0}.heateor_sss_amp_polyvore img{background-color: #2A2A2A}.heateor_sss_amp_printfriendly img{background-color: #61D1D5}.heateor_sss_amp_protopage_bookmarks img{background-color: #413FFF}.heateor_sss_amp_pusha img{background-color: #0072B8}.heateor_sss_amp_qzone img{background-color: #2B82D9}.heateor_sss_amp_refind img{background-color: #1492ef}.heateor_sss_amp_rediff_mypage img{background-color: #D20000}.heateor_sss_amp_renren img{background-color: #005EAC}.heateor_sss_amp_segnalo img{background-color: #fdff88}.heateor_sss_amp_sina_weibo img{background-color: #ff0}.heateor_sss_amp_sitejot img{background-color: #ffc800}.heateor_sss_amp_skype img{background-color: #00AFF0}.heateor_sss_amp_sms img{background-color: #6ebe45}.heateor_sss_amp_slashdot img{background-color: #004242}.heateor_sss_amp_stumpedia img{background-color: #EDEDED}.heateor_sss_amp_svejo img{background-color: #fa7aa3}.heateor_sss_amp_symbaloo_feeds img{background-color: #6DA8F7}.heateor_sss_amp_telegram img{background-color: #3DA5f1}.heateor_sss_amp_trello img{background-color: #1189CE}.heateor_sss_amp_tuenti img{background-color: #0075C9}.heateor_sss_amp_twiddla img{background-color: #EDEDED}.heateor_sss_amp_typepad_post img{background-color: #2A2A2A}.heateor_sss_amp_viadeo img{background-color: #2A2A2A}.heateor_sss_amp_viber img{background-color: #8B628F}.heateor_sss_amp_webnews img{background-color: #CC2512}.heateor_sss_amp_wordpress img{background-color: #464646}.heateor_sss_amp_wykop img{background-color: #367DA9}.heateor_sss_amp_yahoo_mail img{background-color: #400090}.heateor_sss_amp_yahoo_messenger img{background-color: #400090}.heateor_sss_amp_yoolink img{background-color: #A2C538}.heateor_sss_amp_youmob img{background-color: #3B599D}.heateor_sss_amp_gentlereader img{background-color: #46aecf}.heateor_sss_amp_threema img{background-color: #2A2A2A}';
|
@@ -1437,11 +1439,11 @@ class Sassy_Social_Share_Public {
|
|
1437 |
$css .= '.heateor_sss_amp amp-img{border-radius:' . $this->options['horizontal_border_radius'] . 'px;}';
|
1438 |
}
|
1439 |
|
|
|
|
|
1440 |
if ( current_action() == 'wp_print_styles' ) {
|
1441 |
-
|
1442 |
}
|
1443 |
-
|
1444 |
-
echo $css;
|
1445 |
|
1446 |
}
|
1447 |
|
194 |
$bitlyUrl = get_post_meta( $post_id, '_heateor_sss_bitly_url', true );
|
195 |
if ( $bitlyUrl ) {
|
196 |
return $bitlyUrl;
|
197 |
+
} else {
|
198 |
$generic_access_token = $this->options['bitly_access_token'];
|
199 |
+
// generate the bit.ly URL
|
200 |
$bitly_api = 'https://api-ssl.bitly.com/v4/bitlinks';
|
201 |
+
$payload = wp_json_encode( array( 'long_url' => $url ) );
|
202 |
+
|
203 |
+
$response = wp_remote_post( $bitly_api, array(
|
204 |
+
'body' => $payload,
|
205 |
+
'headers' => array(
|
206 |
+
'Authorization' => 'Bearer ' . $generic_access_token,
|
207 |
+
'Content-Type' => 'application/json',
|
208 |
+
'Content-Length' => strlen( $payload )
|
209 |
+
),
|
210 |
+
'timeout' => 60,
|
211 |
+
'httpversion' => '1.0',
|
212 |
+
'sslverify' => false,
|
213 |
+
'data_format' => 'body'
|
214 |
+
) );
|
215 |
|
216 |
if ( ! is_wp_error( $response ) ) {
|
217 |
+
$short_url_object = json_decode( wp_remote_retrieve_body( $response ) );
|
218 |
if ( isset( $short_url_object->link ) ) {
|
219 |
$short_url = esc_url( $short_url_object->link );
|
220 |
update_post_meta( $post_id, '_heateor_sss_bitly_url', $short_url );
|
548 |
if ( $this->is_amp_page() ) {
|
549 |
$li_items .= '<i title="More" class="heateorSssSharing heateorSssMoreBackground"><i class="heateorSssSharingSvg heateorSssMoreSvg"></i></i></li>';
|
550 |
} else {
|
551 |
+
$li_items .= '<svg xmlns="http://www.w3.org/2000/svg" style="' . $inner_style . '" width="100%" height="100%" viewBox="-4 -4 38 38"><circle cx="10" cy="15" r="3" fill="' . $this->logo_color . '"></circle><circle cx="20" cy="10" r="3" fill="' . $this->logo_color . '"></circle><circle cx="20" cy="20" r="3" fill="' . $this->logo_color . '"></circle><path d="M 10 15 L 20 10 m 0 10 L 10 15" class="heateor_sss_svg_stroke heateor_sss_no_fill" stroke-width="2" stroke="' . $this->logo_color . '"></path></svg><span class="heateor_sss_label" style="height: 32px;line-height: 32px!important;width: 32px;display: inline-block!important;opacity: 1;float: none;font-size: 32px;display: inline-block;border: 0;box-shadow: none;display: inline-block;font-size: 16px;padding: 0 4px;vertical-align: middle;display: inline;display: inline;line-height: 16px;position: absolute;clip: rect(1px,1px,1px,1px);-webkit-clip-path: polygon(0 0,0 0,0 0);overflow: hidden;">more</span></span></a>';
|
552 |
}
|
553 |
}
|
554 |
|
901 |
if ( isset( $_GET['urls'] ) && count( $_GET['urls'] ) > 0 ) {
|
902 |
$target_urls = array_unique( $_GET['urls'] );
|
903 |
foreach ( $target_urls as $k => $v ) {
|
904 |
+
$target_urls[esc_attr( $k )] = esc_url( $v );
|
905 |
}
|
906 |
} else {
|
907 |
$this->ajax_response( array( 'status' => 0, 'message' => __( 'Invalid request' ) ) );
|
1132 |
if ( isset( $_GET['share_counts'] ) && is_array( $_GET['share_counts'] ) && count( $_GET['share_counts'] ) > 0 ) {
|
1133 |
$target_urls = $_GET['share_counts'];
|
1134 |
foreach ( $target_urls as $k => $v ) {
|
1135 |
+
$target_urls[$k] = intval( sanitize_text_field( $v ) );
|
1136 |
}
|
1137 |
} else {
|
1138 |
$this->ajax_response( array( 'status' => 0, 'message' => __( 'Invalid request' ) ) );
|
1203 |
* @since 2.5.1
|
1204 |
*/
|
1205 |
private function is_plugin_active( $plugin_file ) {
|
1206 |
+
|
1207 |
return in_array( $plugin_file, apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) );
|
1208 |
+
|
1209 |
}
|
1210 |
|
1211 |
/**
|
1215 |
*/
|
1216 |
public function frontend_inline_style() {
|
1217 |
|
1218 |
+
?>
|
1219 |
+
<style type="text/css">
|
1220 |
+
<?php
|
|
|
|
|
|
|
1221 |
if ( isset( $this->options['plain_instagram_bg'] ) ) {
|
1222 |
?>
|
1223 |
.heateor_sss_button_instagram span.heateor_sss_svg{background-color:#527fa4}
|
1224 |
<?php
|
1225 |
} else {
|
1226 |
?>
|
1227 |
+
.heateor_sss_button_instagram span.heateor_sss_svg,a.heateor_sss_instagram span{background:radial-gradient(circle at 30% 107%,#fdf497 0,#fdf497 5%,#fd5949 45%,#d6249f 60%,#285aeb 90%)}
|
1228 |
<?php
|
1229 |
}
|
1230 |
if ( $this->options['horizontal_bg_color_default'] != '' ) { ?>
|
1252 |
$border_width = $this->options['horizontal_border_width_hover'];
|
1253 |
}
|
1254 |
?>
|
1255 |
+
border-width: <?php echo $border_width . 'px' ?>;
|
1256 |
+
border-style: solid;
|
1257 |
+
border-color: <?php echo $this->options['horizontal_border_color_default'] != '' ? $this->options['horizontal_border_color_default'] : 'transparent'; ?>;
|
1258 |
}
|
1259 |
<?php if ( $this->options['horizontal_font_color_default'] == '' ) {
|
1260 |
?>
|
1264 |
<?php
|
1265 |
}
|
1266 |
if ( $this->options['horizontal_font_color_hover'] != '' ) { ?>
|
1267 |
+
div.heateor_sss_horizontal_sharing span.heateor_sss_svg svg:hover path:not(.heateor_sss_no_fill),div.heateor_sss_horizontal_sharing span.heateor_sss_svg svg:hover ellipse, div.heateor_sss_horizontal_sharing span.heateor_sss_svg svg:hover circle, div.heateor_sss_horizontal_sharing span.heateor_sss_svg svg:hover polygon{
|
1268 |
fill: <?php echo $this->options['horizontal_font_color_hover'] ?>;
|
1269 |
}
|
1270 |
div.heateor_sss_horizontal_sharing span.heateor_sss_svg svg:hover path.heateor_sss_svg_stroke{
|
1278 |
if ( $this->options['horizontal_font_color_hover'] != '' ) { ?>
|
1279 |
color: <?php echo $this->options['horizontal_font_color_hover'] ?>;
|
1280 |
<?php } ?>
|
1281 |
+
border-color: <?php echo $this->options['horizontal_border_color_hover'] != '' ? $this->options['horizontal_border_color_hover'] : 'transparent'; ?>;
|
1282 |
}
|
1283 |
.heateor_sss_vertical_sharing span.heateor_sss_svg,.heateor_sss_floating_follow_icons_container span.heateor_sss_svg{
|
1284 |
<?php if ( $this->options['vertical_bg_color_default'] != '' ) { ?>
|
1293 |
$vertical_border_width = $this->options['vertical_border_width_hover'];
|
1294 |
}
|
1295 |
?>
|
1296 |
+
border-width: <?php echo $vertical_border_width ?>px;
|
1297 |
+
border-style: solid;
|
1298 |
+
border-color: <?php echo $this->options['vertical_border_color_default'] != '' ? $this->options['vertical_border_color_default'] : 'transparent'; ?>;
|
1299 |
}
|
1300 |
<?php if ( $this->options['horizontal_font_color_default'] == '' ) { ?>
|
1301 |
.heateor_sss_vertical_sharing .heateorSssTCBackground{
|
1303 |
}
|
1304 |
<?php } ?>
|
1305 |
<?php if ( $this->options['vertical_font_color_hover'] != '' ) { ?>
|
1306 |
+
div.heateor_sss_vertical_sharing span.heateor_sss_svg svg:hover path:not(.heateor_sss_no_fill),div.heateor_sss_vertical_sharing span.heateor_sss_svg svg:hover ellipse, div.heateor_sss_vertical_sharing span.heateor_sss_svg svg:hover circle, div.heateor_sss_vertical_sharing span.heateor_sss_svg svg:hover polygon{
|
1307 |
fill:<?php echo $this->options['vertical_font_color_hover'] ?>;
|
1308 |
}
|
1309 |
div.heateor_sss_vertical_sharing span.heateor_sss_svg svg:hover path.heateor_sss_svg_stroke{
|
1317 |
if ( $this->options['vertical_font_color_hover'] != '' ) { ?>
|
1318 |
color: <?php echo $this->options['vertical_font_color_hover'] ?>;
|
1319 |
<?php } ?>
|
1320 |
+
border-color: <?php echo $this->options['vertical_border_color_hover'] != '' ? $this->options['vertical_border_color_hover'] : 'transparent'; ?>;
|
1321 |
}
|
1322 |
<?php
|
1323 |
if ( isset( $this->options['horizontal_counts'] ) ) {
|
1376 |
if ( isset( $this->options['hor_enable'] ) && $this->options['hor_sharing_alignment'] == "center" ) {
|
1377 |
echo 'div.heateor_sss_sharing_title{text-align:center}div.heateor_sss_sharing_ul{width:100%;text-align:center;}div.heateor_sss_horizontal_sharing div.heateor_sss_sharing_ul a{float:none!important;display:inline-block;}';
|
1378 |
}
|
1379 |
+
?>
|
1380 |
+
</style>
|
1381 |
+
<?php
|
1382 |
+
|
1383 |
}
|
1384 |
|
1385 |
/**
|
1427 |
$css = '';
|
1428 |
|
1429 |
if ( current_action() == 'wp_print_styles' ) {
|
1430 |
+
echo '<style type="text/css">';
|
1431 |
}
|
1432 |
// background color of amp icons
|
1433 |
$css .= 'a.heateor_sss_amp{padding:0 4px;}div.heateor_sss_horizontal_sharing a amp-img{display:inline-block;}.heateor_sss_amp_gab img{background-color:#25CC80}.heateor_sss_amp_parler img{background-color:#C63240}.heateor_sss_amp_gettr img{background-color:#E50000}.heateor_sss_amp_instagram img{background-color:#624E47}.heateor_sss_amp_yummly img{background-color:#E16120}.heateor_sss_amp_youtube img{background-color:#ff0000}.heateor_sss_amp_buffer img{background-color:#000}.heateor_sss_amp_delicious img{background-color:#53BEEE}.heateor_sss_amp_facebook img{background-color:#3C589A}.heateor_sss_amp_digg img{background-color:#006094}.heateor_sss_amp_email img{background-color:#649A3F}.heateor_sss_amp_float_it img{background-color:#53BEEE}.heateor_sss_amp_linkedin img{background-color:#0077B5}.heateor_sss_amp_pinterest img{background-color:#CC2329}.heateor_sss_amp_print img{background-color:#FD6500}.heateor_sss_amp_reddit img{background-color:#FF5700}.heateor_sss_amp_stocktwits img{background-color: #40576F}.heateor_sss_amp_mewe img{background-color:#007da1}.heateor_sss_amp_mix img{background-color:#ff8226}.heateor_sss_amp_tumblr img{background-color:#29435D}.heateor_sss_amp_twitter img{background-color:#55acee}.heateor_sss_amp_vkontakte img{background-color:#5E84AC}.heateor_sss_amp_yahoo img{background-color:#8F03CC}.heateor_sss_amp_xing img{background-color:#00797D}.heateor_sss_amp_instagram img{background-color:#527FA4}.heateor_sss_amp_whatsapp img{background-color:#55EB4C}.heateor_sss_amp_aim img{background-color: #10ff00}.heateor_sss_amp_amazon_wish_list img{background-color: #ffe000}.heateor_sss_amp_aol_mail img{background-color: #2A2A2A}.heateor_sss_amp_app_net img{background-color: #5D5D5D}.heateor_sss_amp_balatarin img{background-color: #fff}.heateor_sss_amp_bibsonomy img{background-color: #000}.heateor_sss_amp_bitty_browser img{background-color: #EFEFEF}.heateor_sss_amp_blinklist img{background-color: #3D3C3B}.heateor_sss_amp_blogger_post img{background-color: #FDA352}.heateor_sss_amp_blogmarks img{background-color: #535353}.heateor_sss_amp_bookmarks_fr img{background-color: #E8EAD4}.heateor_sss_amp_box_net img{background-color: #1A74B0}.heateor_sss_amp_buddymarks img{background-color: #ffd400}.heateor_sss_amp_care2_news img{background-color: #6EB43F}.heateor_sss_amp_comment img{background-color: #444}.heateor_sss_amp_diary_ru img{background-color: #E8D8C6}.heateor_sss_amp_diaspora img{background-color: #2E3436}.heateor_sss_amp_dihitt img{background-color: #FF6300}.heateor_sss_amp_diigo img{background-color: #4A8BCA}.heateor_sss_amp_douban img{background-color: #497700}.heateor_sss_amp_draugiem img{background-color: #ffad66}.heateor_sss_amp_evernote img{background-color: #8BE056}.heateor_sss_amp_facebook_messenger img{background-color: #0084FF}.heateor_sss_amp_fark img{background-color: #555}.heateor_sss_amp_fintel img{background-color: #087515}.heateor_sss_amp_flipboard img{background-color: #CC0000}.heateor_sss_amp_folkd img{background-color: #0F70B2}.heateor_sss_amp_google_classroom img{background-color: #FFC112}.heateor_sss_amp_google_bookmarks img{background-color: #CB0909}.heateor_sss_amp_google_gmail img{background-color: #E5E5E5}.heateor_sss_amp_hacker_news img{background-color: #F60}.heateor_sss_amp_hatena img{background-color: #00A6DB}.heateor_sss_amp_instapaper img{background-color: #EDEDED}.heateor_sss_amp_jamespot img{background-color: #FF9E2C}.heateor_sss_amp_kakao img{background-color: #FCB700}.heateor_sss_amp_kik img{background-color: #2A2A2A}.heateor_sss_amp_kindle_it img{background-color: #2A2A2A}.heateor_sss_amp_known img{background-color: #fff101}.heateor_sss_amp_line img{background-color: #00C300}.heateor_sss_amp_livejournal img{background-color: #EDEDED}.heateor_sss_amp_mail_ru img{background-color: #356FAC}.heateor_sss_amp_mendeley img{background-color: #A70805}.heateor_sss_amp_meneame img{background-color: #FF7D12}.heateor_sss_amp_mixi img{background-color: #EDEDED}.heateor_sss_amp_myspace img{background-color: #2A2A2A}.heateor_sss_amp_netlog img{background-color: #2A2A2A}.heateor_sss_amp_netvouz img{background-color: #c0ff00}.heateor_sss_amp_newsvine img{background-color: #055D00}.heateor_sss_amp_nujij img{background-color: #D40000}.heateor_sss_amp_odnoklassniki img{background-color: #F2720C}.heateor_sss_amp_oknotizie img{background-color: #fdff88}.heateor_sss_amp_outlook_com img{background-color: #0072C6}.heateor_sss_amp_papaly img{background-color: #3AC0F6}.heateor_sss_amp_pinboard img{background-color: #1341DE}.heateor_sss_amp_plurk img{background-color: #CF682F}.heateor_sss_amp_pocket img{background-color: #f0f0f0}.heateor_sss_amp_polyvore img{background-color: #2A2A2A}.heateor_sss_amp_printfriendly img{background-color: #61D1D5}.heateor_sss_amp_protopage_bookmarks img{background-color: #413FFF}.heateor_sss_amp_pusha img{background-color: #0072B8}.heateor_sss_amp_qzone img{background-color: #2B82D9}.heateor_sss_amp_refind img{background-color: #1492ef}.heateor_sss_amp_rediff_mypage img{background-color: #D20000}.heateor_sss_amp_renren img{background-color: #005EAC}.heateor_sss_amp_segnalo img{background-color: #fdff88}.heateor_sss_amp_sina_weibo img{background-color: #ff0}.heateor_sss_amp_sitejot img{background-color: #ffc800}.heateor_sss_amp_skype img{background-color: #00AFF0}.heateor_sss_amp_sms img{background-color: #6ebe45}.heateor_sss_amp_slashdot img{background-color: #004242}.heateor_sss_amp_stumpedia img{background-color: #EDEDED}.heateor_sss_amp_svejo img{background-color: #fa7aa3}.heateor_sss_amp_symbaloo_feeds img{background-color: #6DA8F7}.heateor_sss_amp_telegram img{background-color: #3DA5f1}.heateor_sss_amp_trello img{background-color: #1189CE}.heateor_sss_amp_tuenti img{background-color: #0075C9}.heateor_sss_amp_twiddla img{background-color: #EDEDED}.heateor_sss_amp_typepad_post img{background-color: #2A2A2A}.heateor_sss_amp_viadeo img{background-color: #2A2A2A}.heateor_sss_amp_viber img{background-color: #8B628F}.heateor_sss_amp_webnews img{background-color: #CC2512}.heateor_sss_amp_wordpress img{background-color: #464646}.heateor_sss_amp_wykop img{background-color: #367DA9}.heateor_sss_amp_yahoo_mail img{background-color: #400090}.heateor_sss_amp_yahoo_messenger img{background-color: #400090}.heateor_sss_amp_yoolink img{background-color: #A2C538}.heateor_sss_amp_youmob img{background-color: #3B599D}.heateor_sss_amp_gentlereader img{background-color: #46aecf}.heateor_sss_amp_threema img{background-color: #2A2A2A}';
|
1439 |
$css .= '.heateor_sss_amp amp-img{border-radius:' . $this->options['horizontal_border_radius'] . 'px;}';
|
1440 |
}
|
1441 |
|
1442 |
+
echo esc_html( $css );
|
1443 |
+
|
1444 |
if ( current_action() == 'wp_print_styles' ) {
|
1445 |
+
echo '</style>';
|
1446 |
}
|
|
|
|
|
1447 |
|
1448 |
}
|
1449 |
|
public/js/sassy-social-share-public.js
CHANGED
@@ -1,5 +1,3 @@
|
|
1 |
-
function heateorSssCallAjax(e){if(typeof jQuery!="undefined"){e()}else{heateorSssGetScript("https://code.jquery.com/jquery-latest.min.js",e)}}
|
2 |
-
function heateorSssGetScript(e,t){var n=document.createElement("script");n.src=e;var r=document.getElementsByTagName("head")[0],i=false;n.onload=n.onreadystatechange=function(){if(!i&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){i=true;t();n.onload=n.onreadystatechange=null;r.removeChild(n)}};r.appendChild(n)}
|
3 |
function heateorSssDetermineWhatsappShareAPI(a){if(a)return-1!=navigator.userAgent.indexOf("Mobi")?"api.whatsapp.com":"web.whatsapp.com";var p=jQuery("i.heateorSssWhatsappBackground a").attr("href");return void 0!==p?-1!=navigator.userAgent.indexOf("Mobi")?(jQuery("i.heateorSssWhatsappBackground a").attr("href",p.replace("web.whatsapp.com","api.whatsapp.com")),"api.whatsapp.com"):(jQuery("i.heateorSssWhatsappBackground a").attr("href",p.replace("api.whatsapp.com","web.whatsapp.com")),"web.whatsapp.com"):""}
|
4 |
/**
|
5 |
* Show more sharing services popup
|
@@ -634,10 +632,7 @@ if(heateorSssHorizontalSharingCountEnable || heateorSssVerticalSharingCountEnabl
|
|
634 |
// get sharing counts on window load
|
635 |
heateorSssLoadEvent(
|
636 |
function(){
|
637 |
-
|
638 |
-
heateorSssCallAjax(function(){
|
639 |
-
heateorSssGetSharingCounts();
|
640 |
-
});
|
641 |
}
|
642 |
);
|
643 |
}
|
|
|
|
|
1 |
function heateorSssDetermineWhatsappShareAPI(a){if(a)return-1!=navigator.userAgent.indexOf("Mobi")?"api.whatsapp.com":"web.whatsapp.com";var p=jQuery("i.heateorSssWhatsappBackground a").attr("href");return void 0!==p?-1!=navigator.userAgent.indexOf("Mobi")?(jQuery("i.heateorSssWhatsappBackground a").attr("href",p.replace("web.whatsapp.com","api.whatsapp.com")),"api.whatsapp.com"):(jQuery("i.heateorSssWhatsappBackground a").attr("href",p.replace("api.whatsapp.com","web.whatsapp.com")),"web.whatsapp.com"):""}
|
2 |
/**
|
3 |
* Show more sharing services popup
|
632 |
// get sharing counts on window load
|
633 |
heateorSssLoadEvent(
|
634 |
function(){
|
635 |
+
heateorSssGetSharingCounts();
|
|
|
|
|
|
|
636 |
}
|
637 |
);
|
638 |
}
|
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 media share, share facebook, facebook social share, wordpress social share, share buttons, social share buttons, facebook like, twitter tweet, whatsapp share, line share, gab share, gab, parler share, gettr, gettr share, mewe share, mewe
|
5 |
Requires at least: 2.5.0
|
6 |
Tested up to: 5.8.2
|
7 |
-
Stable tag: 3.3.
|
8 |
License: GPLv2 or later
|
9 |
|
10 |
Slickest, Simplest and Optimized Share buttons. Facebook, Twitter, Reddit, Pinterest, Whatsapp, Parler, Gab, Gettr and over 100 more.
|
@@ -123,6 +123,12 @@ Yes, we can help you with it. Just drop an email at support[at]heateor[dot]com
|
|
123 |
4. **Universal Sharing Popup**: Universal Sharing popup having all the supported sharing and bookmarking services
|
124 |
|
125 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
126 |
= 3.3.28 [14 November 2021] =
|
127 |
* [Bugfix] Copy Link icon was not functioning
|
128 |
* [Bugfix] Print icon was not functioning
|
@@ -1081,4 +1087,10 @@ Yes, we can help you with it. Just drop an email at support[at]heateor[dot]com
|
|
1081 |
* [Bugfix] Print icon was not functioning
|
1082 |
* [Bugfix] Gettr share icon was not sharing properly
|
1083 |
* [Bugfix] Mewe, Gettr and Outlook share icons were not working in the More social share popup
|
1084 |
-
* [Improvement] Minor CSS improvements in the More social share popup
|
|
|
|
|
|
|
|
|
|
|
|
4 |
Tags: social share, social sharing, social media share, share facebook, facebook social share, wordpress social share, share buttons, social share buttons, facebook like, twitter tweet, whatsapp share, line share, gab share, gab, parler share, gettr, gettr share, mewe share, mewe
|
5 |
Requires at least: 2.5.0
|
6 |
Tested up to: 5.8.2
|
7 |
+
Stable tag: 3.3.29
|
8 |
License: GPLv2 or later
|
9 |
|
10 |
Slickest, Simplest and Optimized Share buttons. Facebook, Twitter, Reddit, Pinterest, Whatsapp, Parler, Gab, Gettr and over 100 more.
|
123 |
4. **Universal Sharing Popup**: Universal Sharing popup having all the supported sharing and bookmarking services
|
124 |
|
125 |
== Changelog ==
|
126 |
+
= 3.3.29 [16 November 2021] =
|
127 |
+
* [Bugfix] Fixed Gmail social share icon
|
128 |
+
* [Bugfix] Background color of Instagram in the social media follow widget was not changing to multi-colored after changing from the Miscellaneous section
|
129 |
+
* [Improvement] Improved logo of WordPress social share icon
|
130 |
+
* [Improvement] Performance improvement
|
131 |
+
|
132 |
= 3.3.28 [14 November 2021] =
|
133 |
* [Bugfix] Copy Link icon was not functioning
|
134 |
* [Bugfix] Print icon was not functioning
|
1087 |
* [Bugfix] Print icon was not functioning
|
1088 |
* [Bugfix] Gettr share icon was not sharing properly
|
1089 |
* [Bugfix] Mewe, Gettr and Outlook share icons were not working in the More social share popup
|
1090 |
+
* [Improvement] Minor CSS improvements in the More social share popup
|
1091 |
+
|
1092 |
+
= 3.3.29 [16 November 2021] =
|
1093 |
+
* [Bugfix] Fixed Gmail social share icon
|
1094 |
+
* [Bugfix] Background color of Instagram in the social media follow widget was not changing to multi-colored after changing from the Miscellaneous section
|
1095 |
+
* [Improvement] Improved logo of WordPress social share icon
|
1096 |
+
* [Improvement] Performance improvement
|
sassy-social-share.php
CHANGED
@@ -6,7 +6,7 @@
|
|
6 |
* Plugin Name: Sassy Social Share
|
7 |
* Plugin URI: https://www.heateor.com
|
8 |
* Description: Slickest, Simplest and Optimized Share buttons. Facebook, Twitter, Reddit, Pinterest, WhatsApp and over 100 more
|
9 |
-
* Version: 3.3.
|
10 |
* Author: Team Heateor
|
11 |
* Author URI: https://www.heateor.com
|
12 |
* Text Domain: sassy-social-share
|
@@ -20,7 +20,7 @@ if ( ! defined( 'WPINC' ) ) {
|
|
20 |
die;
|
21 |
}
|
22 |
|
23 |
-
define( 'HEATEOR_SSS_VERSION', '3.3.
|
24 |
define( 'HEATEOR_SSS_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
|
25 |
|
26 |
// plugin core class object
|
6 |
* Plugin Name: Sassy Social Share
|
7 |
* Plugin URI: https://www.heateor.com
|
8 |
* Description: Slickest, Simplest and Optimized Share buttons. Facebook, Twitter, Reddit, Pinterest, WhatsApp and over 100 more
|
9 |
+
* Version: 3.3.29
|
10 |
* Author: Team Heateor
|
11 |
* Author URI: https://www.heateor.com
|
12 |
* Text Domain: sassy-social-share
|
20 |
die;
|
21 |
}
|
22 |
|
23 |
+
define( 'HEATEOR_SSS_VERSION', '3.3.29' );
|
24 |
define( 'HEATEOR_SSS_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
|
25 |
|
26 |
// plugin core class object
|