Version Description
- Fixed: W3C HTML Validation.
- Fixed: RTL issue.
Download this release
Release Info
Developer | oceanwp |
Plugin | Ocean Social Sharing |
Version | 1.0.13 |
Comparing to | |
See all releases |
Code changes from version 1.0.12 to 1.0.13
- assets/css/rtl.css +1 -1
- assets/js/social.js +0 -1
- ocean-social-sharing.php +2 -2
- readme.txt +7 -2
- template/social-share.php +14 -14
assets/css/rtl.css
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
/* Social share */
|
2 |
.entry-share ul li { margin-left: 8px; margin-right: 0; }
|
3 |
.entry-share ul li:last-child { margin-left: 0; }
|
4 |
-
.entry-share.side ul { float:
|
5 |
.entry-share.side ul li { float: right; }
|
6 |
.entry-share.side .theme-heading { float: right; }
|
7 |
.entry-share.has-name .oss-icon-wrap { right: 0; left: auto; }
|
1 |
/* Social share */
|
2 |
.entry-share ul li { margin-left: 8px; margin-right: 0; }
|
3 |
.entry-share ul li:last-child { margin-left: 0; }
|
4 |
+
.entry-share.side ul { float: left; }
|
5 |
.entry-share.side ul li { float: right; }
|
6 |
.entry-share.side .theme-heading { float: right; }
|
7 |
.entry-share.has-name .oss-icon-wrap { right: 0; left: auto; }
|
assets/js/social.js
CHANGED
@@ -1,4 +1,3 @@
|
|
1 |
-
// Sticky header
|
2 |
var $j = jQuery.noConflict();
|
3 |
|
4 |
/* ==============================================
|
|
|
1 |
var $j = jQuery.noConflict();
|
2 |
|
3 |
/* ==============================================
|
ocean-social-sharing.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Ocean Social Sharing
|
4 |
* Plugin URI: https://oceanwp.org/extension/ocean-social-sharing/
|
5 |
* Description: A simple plugin to add social share buttons to your posts.
|
6 |
-
* Version: 1.0.
|
7 |
* Author: OceanWP
|
8 |
* Author URI: https://oceanwp.org/
|
9 |
* Requires at least: 4.5.0
|
@@ -86,7 +86,7 @@ final class Ocean_Social_Sharing {
|
|
86 |
$this->token = 'ocean-social-sharing';
|
87 |
$this->plugin_url = plugin_dir_url( __FILE__ );
|
88 |
$this->plugin_path = plugin_dir_path( __FILE__ );
|
89 |
-
$this->version = '1.0.
|
90 |
|
91 |
register_activation_hook( __FILE__, array( $this, 'install' ) );
|
92 |
|
3 |
* Plugin Name: Ocean Social Sharing
|
4 |
* Plugin URI: https://oceanwp.org/extension/ocean-social-sharing/
|
5 |
* Description: A simple plugin to add social share buttons to your posts.
|
6 |
+
* Version: 1.0.13
|
7 |
* Author: OceanWP
|
8 |
* Author URI: https://oceanwp.org/
|
9 |
* Requires at least: 4.5.0
|
86 |
$this->token = 'ocean-social-sharing';
|
87 |
$this->plugin_url = plugin_dir_url( __FILE__ );
|
88 |
$this->plugin_path = plugin_dir_path( __FILE__ );
|
89 |
+
$this->version = '1.0.13';
|
90 |
|
91 |
register_activation_hook( __FILE__, array( $this, 'install' ) );
|
92 |
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: oceanwp
|
|
3 |
Tags: social, social sharing, social share, share, oceanwp
|
4 |
Requires at least: 4.5
|
5 |
Tested up to: 4.9.7
|
6 |
-
Stable tag: 1.0.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -25,7 +25,8 @@ This plugin requires the [OceanWP](https://oceanwp.org/) theme to be installed.
|
|
25 |
|
26 |
1. Upload `ocean-social-sharing` to the `/wp-content/plugins/` directory
|
27 |
2. Activate the plugin through the 'Plugins' menu in WordPress
|
28 |
-
3.
|
|
|
29 |
|
30 |
== Frequently Asked Questions ==
|
31 |
|
@@ -47,6 +48,10 @@ This plugin will only work with the [OceanWP](https://oceanwp.org/) theme.
|
|
47 |
|
48 |
== Changelog ==
|
49 |
|
|
|
|
|
|
|
|
|
50 |
= 1.0.12 =
|
51 |
- Added: Polish translation, thanks to Fin Fafarafiel.
|
52 |
|
3 |
Tags: social, social sharing, social share, share, oceanwp
|
4 |
Requires at least: 4.5
|
5 |
Tested up to: 4.9.7
|
6 |
+
Stable tag: 1.0.13
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
25 |
|
26 |
1. Upload `ocean-social-sharing` to the `/wp-content/plugins/` directory
|
27 |
2. Activate the plugin through the 'Plugins' menu in WordPress
|
28 |
+
3. Configure it via the Social Sharing section of the customizer
|
29 |
+
4. Done!
|
30 |
|
31 |
== Frequently Asked Questions ==
|
32 |
|
48 |
|
49 |
== Changelog ==
|
50 |
|
51 |
+
= 1.0.13 =
|
52 |
+
- Fixed: W3C HTML Validation.
|
53 |
+
- Fixed: RTL issue.
|
54 |
+
|
55 |
= 1.0.12 =
|
56 |
- Added: Polish translation, thanks to Fin Fafarafiel.
|
57 |
|
template/social-share.php
CHANGED
@@ -96,9 +96,9 @@ $classes = implode( ' ', $classes ); ?>
|
|
96 |
$handle = str_replace( '@' , '' , trim( $handle ) ); ?>
|
97 |
|
98 |
<li class="twitter">
|
99 |
-
<a href="https://twitter.com/share?text=<?php echo
|
100 |
<span class="oss-icon-wrap">
|
101 |
-
<svg class="oss-icon"
|
102 |
<path d="M23.954 4.569c-.885.389-1.83.654-2.825.775 1.014-.611 1.794-1.574 2.163-2.723-.951.555-2.005.959-3.127 1.184-.896-.959-2.173-1.559-3.591-1.559-2.717 0-4.92 2.203-4.92 4.917 0 .39.045.765.127 1.124C7.691 8.094 4.066 6.13 1.64 3.161c-.427.722-.666 1.561-.666 2.475 0 1.71.87 3.213 2.188 4.096-.807-.026-1.566-.248-2.228-.616v.061c0 2.385 1.693 4.374 3.946 4.827-.413.111-.849.171-1.296.171-.314 0-.615-.03-.916-.086.631 1.953 2.445 3.377 4.604 3.417-1.68 1.319-3.809 2.105-6.102 2.105-.39 0-.779-.023-1.17-.067 2.189 1.394 4.768 2.209 7.557 2.209 9.054 0 13.999-7.496 13.999-13.986 0-.209 0-.42-.015-.63.961-.689 1.8-1.56 2.46-2.548l-.047-.02z"/>
|
103 |
</svg>
|
104 |
</span>
|
@@ -120,7 +120,7 @@ $classes = implode( ' ', $classes ); ?>
|
|
120 |
<li class="facebook">
|
121 |
<a href="https://www.facebook.com/sharer.php?u=<?php echo rawurlencode( esc_url( $url ) ); ?>" title="<?php esc_html_e( 'Share on Facebook', 'ocean-social-sharing' ); ?>" onclick="oss_onClick( this.href );return false;">
|
122 |
<span class="oss-icon-wrap">
|
123 |
-
<svg class="oss-icon"
|
124 |
<path d="M5.677,12.998V8.123h3.575V6.224C9.252,2.949,11.712,0,14.736,0h3.94v4.874h-3.94
|
125 |
c-0.432,0-0.934,0.524-0.934,1.308v1.942h4.874v4.874h-4.874V24H9.252V12.998H5.677z"/>
|
126 |
</svg>
|
@@ -143,7 +143,7 @@ $classes = implode( ' ', $classes ); ?>
|
|
143 |
<li class="googleplus">
|
144 |
<a href="https://plus.google.com/share?url=<?php echo rawurlencode( esc_url( $url ) ); ?>" title="<?php esc_html_e( 'Share on Google+', 'ocean-social-sharing' ); ?>" onclick="oss_onClick( this.href );return false;">
|
145 |
<span class="oss-icon-wrap">
|
146 |
-
<svg class="oss-icon"
|
147 |
<path d="M7.636,10.929V13.5h4.331c-0.175,1.104-1.309,3.236-4.331,3.236c-2.607,0-4.735-2.121-4.735-4.736
|
148 |
s2.127-4.736,4.735-4.736c1.484,0,2.476,0.621,3.044,1.157l2.073-1.961C11.422,5.239,9.698,4.5,7.636,4.5C3.415,4.5,0,7.854,0,12
|
149 |
s3.415,7.5,7.636,7.5c4.407,0,7.331-3.043,7.331-7.329c0-0.493-0.055-0.868-0.12-1.243H7.636z"/>
|
@@ -167,9 +167,9 @@ $classes = implode( ' ', $classes ); ?>
|
|
167 |
if ( 'pinterest' == $site ) { ?>
|
168 |
|
169 |
<li class="pinterest">
|
170 |
-
<a href="https://www.pinterest.com/pin/create/button/?url=<?php echo rawurlencode( esc_url( $url ) ); ?>&media=<?php echo wp_get_attachment_url( get_post_thumbnail_id( $post_id ) ); ?>&description=<?php echo wp_trim_words( strip_shortcodes( get_the_content( $post_id ) ), 40 ); ?>" title="<?php esc_html_e( 'Share on Pinterest', 'ocean-social-sharing' ); ?>" onclick="oss_onClick( this.href );return false;">
|
171 |
<span class="oss-icon-wrap">
|
172 |
-
<svg class="oss-icon"
|
173 |
<path d="M13.757,17.343c-1.487,0-2.886-0.804-3.365-1.717c0,0-0.8,3.173-0.969,3.785
|
174 |
c-0.596,2.165-2.35,4.331-2.487,4.508c-0.095,0.124-0.305,0.085-0.327-0.078c-0.038-0.276-0.485-3.007,0.041-5.235
|
175 |
c0.264-1.118,1.772-7.505,1.772-7.505s-0.44-0.879-0.44-2.179c0-2.041,1.183-3.565,2.657-3.565c1.252,0,1.857,0.94,1.857,2.068
|
@@ -196,9 +196,9 @@ $classes = implode( ' ', $classes ); ?>
|
|
196 |
if ( 'linkedin' == $site ) { ?>
|
197 |
|
198 |
<li class="linkedin">
|
199 |
-
<a href="https://www.linkedin.com/shareArticle?mini=true&url=<?php echo rawurlencode( esc_url( $url ) ); ?>&title=<?php echo
|
200 |
<span class="oss-icon-wrap">
|
201 |
-
<svg class="oss-icon"
|
202 |
<path d="M6.52,22h-4.13V8.667h4.13V22z M4.436,6.92
|
203 |
c-1.349,0-2.442-1.101-2.442-2.46C1.994,3.102,3.087,2,4.436,2s2.442,1.102,2.442,2.46C6.877,5.819,5.784,6.92,4.436,6.92z
|
204 |
M21.994,22h-4.109c0,0,0-5.079,0-6.999c0-1.919-0.73-2.991-2.249-2.991c-1.652,0-2.515,1.116-2.515,2.991c0,2.054,0,6.999,0,6.999
|
@@ -223,7 +223,7 @@ $classes = implode( ' ', $classes ); ?>
|
|
223 |
<li class="viber">
|
224 |
<a href="viber://forward?text=<?php echo rawurlencode( esc_url( $url ) ); ?>" title="<?php esc_html_e( 'Share on Viber', 'ocean-social-sharing' ); ?>" onclick="oss_onClick( this.href );return false;">
|
225 |
<span class="oss-icon-wrap">
|
226 |
-
<svg class="oss-icon"
|
227 |
<path d="M14.957,5.825c0.764,0.163,1.349,0.453,1.849,0.921c0.643,0.608,0.996,1.343,1.151,2.4
|
228 |
c0.105,0.689,0.062,0.96-0.182,1.184c-0.229,0.209-0.651,0.217-0.907,0.019c-0.186-0.139-0.244-0.286-0.287-0.685
|
229 |
c-0.05-0.53-0.143-0.902-0.302-1.246c-0.341-0.731-0.942-1.111-1.957-1.235c-0.477-0.058-0.62-0.112-0.775-0.294
|
@@ -266,7 +266,7 @@ $classes = implode( ' ', $classes ); ?>
|
|
266 |
<li class="vk">
|
267 |
<a href="https://vk.com/share.php?url=<?php echo rawurlencode( esc_url( $url ) ); ?>" title="<?php esc_html_e( 'Share on VK', 'ocean-social-sharing' ); ?>" onclick="oss_onClick( this.href );return false;">
|
268 |
<span class="oss-icon-wrap">
|
269 |
-
<svg class="oss-icon"
|
270 |
<path d="M11.701 18.771h1.437s.433-.047.654-.284c.21-.221.21-.63.21-.63s-.031-1.927.869-2.21c.887-.281 2.012 1.86 3.211 2.683.916.629 1.605.494 1.605.494l3.211-.044s1.682-.105.887-1.426c-.061-.105-.451-.975-2.371-2.76-2.012-1.861-1.742-1.561.676-4.787 1.469-1.965 2.07-3.166 1.875-3.676-.166-.48-1.26-.361-1.26-.361l-3.602.031s-.27-.031-.465.09c-.195.119-.314.391-.314.391s-.572 1.529-1.336 2.82c-1.623 2.729-2.268 2.879-2.523 2.699-.604-.391-.449-1.58-.449-2.432 0-2.641.404-3.75-.781-4.035-.39-.091-.681-.15-1.685-.166-1.29-.014-2.378.01-2.995.311-.405.203-.72.652-.539.675.24.03.779.146 1.064.537.375.506.359 1.636.359 1.636s.211 3.116-.494 3.503c-.495.262-1.155-.28-2.595-2.756-.735-1.26-1.291-2.67-1.291-2.67s-.105-.256-.299-.406c-.227-.165-.557-.225-.557-.225l-3.435.03s-.51.016-.689.24c-.166.195-.016.615-.016.615s2.686 6.287 5.732 9.453c2.79 2.902 5.956 2.715 5.956 2.715l-.05-.055z"/>
|
271 |
</svg>
|
272 |
</span>
|
@@ -286,9 +286,9 @@ $classes = implode( ' ', $classes ); ?>
|
|
286 |
if ( 'reddit' == $site ) { ?>
|
287 |
|
288 |
<li class="reddit">
|
289 |
-
<a href="
|
290 |
<span class="oss-icon-wrap">
|
291 |
-
<svg class="oss-icon"
|
292 |
<path d="M23.999,11.786c0-1.576-1.294-2.858-2.885-2.858c-0.689,0-1.321,0.241-1.817,0.641
|
293 |
c-1.759-1.095-3.991-1.755-6.383-1.895l1.248-3.91l3.43,0.8c0.09,1.237,1.134,2.217,2.405,2.217c1.33,0,2.412-1.072,2.412-2.391
|
294 |
c0-1.318-1.082-2.39-2.412-2.39c-0.93,0-1.739,0.525-2.141,1.291l-3.985-0.93c-0.334-0.078-0.671,0.112-0.775,0.436L11.547,7.65
|
@@ -323,7 +323,7 @@ $classes = implode( ' ', $classes ); ?>
|
|
323 |
<li class="tumblr">
|
324 |
<a href="https://www.tumblr.com/widgets/share/tool?canonicalUrl=<?php echo rawurlencode( esc_url( $url ) ); ?>" title="<?php esc_html_e( 'Share on Tumblr', 'ocean-social-sharing' ); ?>" onclick="oss_onClick( this.href );return false;">
|
325 |
<span class="oss-icon-wrap">
|
326 |
-
<svg class="oss-icon"
|
327 |
<path d="M19.44,22.887c-1.034,0.487-1.97,0.828-2.808,1.024
|
328 |
c-0.838,0.195-1.744,0.293-2.718,0.293c-1.106,0-2.083-0.14-2.933-0.418c-0.851-0.279-1.575-0.677-2.175-1.194
|
329 |
c-0.6-0.518-1.017-1.067-1.248-1.649c-0.231-0.581-0.347-1.425-0.347-2.53V9.93H4.56V6.482c0.947-0.309,1.759-0.751,2.434-1.327
|
@@ -350,7 +350,7 @@ $classes = implode( ' ', $classes ); ?>
|
|
350 |
<li class="viadeo">
|
351 |
<a href="https://partners.viadeo.com/share?url=<?php echo rawurlencode( esc_url( $url ) ); ?>" title="<?php esc_html_e( 'Share on Viadeo', 'ocean-social-sharing' ); ?>" onclick="oss_onClick( this.href );return false;">
|
352 |
<span class="oss-icon-wrap">
|
353 |
-
<svg class="oss-icon"
|
354 |
<path d="M21.046,0.546c-1.011,2.159-2.882,2.557-2.882,2.557c-1.87,0.476-2.525,1.202-2.525,1.202
|
355 |
c-1.871,1.889-0.396,4.181-0.396,4.181c4.039-0.922,5.514-4.259,5.514-4.259c-0.181,2.242-4.986,4.887-4.986,4.887
|
356 |
c1.592,1.565,3.111,1.374,4.112,0.775c1.328-0.795,1.968-2.537,1.968-2.537C23.142,3.484,21.046,0.546,21.046,0.546z
|
96 |
$handle = str_replace( '@' , '' , trim( $handle ) ); ?>
|
97 |
|
98 |
<li class="twitter">
|
99 |
+
<a href="https://twitter.com/share?text=<?php echo wp_strip_all_tags( $title ); ?>&url=<?php echo rawurlencode( esc_url( $url ) ); ?><?php if ( $handle ) echo '&via='. esc_attr( $handle ); ?>" title="<?php esc_html_e( 'Share on Twitter', 'ocean-social-sharing' ); ?>" onclick="oss_onClick( this.href );return false;">
|
100 |
<span class="oss-icon-wrap">
|
101 |
+
<svg class="oss-icon" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
102 |
<path d="M23.954 4.569c-.885.389-1.83.654-2.825.775 1.014-.611 1.794-1.574 2.163-2.723-.951.555-2.005.959-3.127 1.184-.896-.959-2.173-1.559-3.591-1.559-2.717 0-4.92 2.203-4.92 4.917 0 .39.045.765.127 1.124C7.691 8.094 4.066 6.13 1.64 3.161c-.427.722-.666 1.561-.666 2.475 0 1.71.87 3.213 2.188 4.096-.807-.026-1.566-.248-2.228-.616v.061c0 2.385 1.693 4.374 3.946 4.827-.413.111-.849.171-1.296.171-.314 0-.615-.03-.916-.086.631 1.953 2.445 3.377 4.604 3.417-1.68 1.319-3.809 2.105-6.102 2.105-.39 0-.779-.023-1.17-.067 2.189 1.394 4.768 2.209 7.557 2.209 9.054 0 13.999-7.496 13.999-13.986 0-.209 0-.42-.015-.63.961-.689 1.8-1.56 2.46-2.548l-.047-.02z"/>
|
103 |
</svg>
|
104 |
</span>
|
120 |
<li class="facebook">
|
121 |
<a href="https://www.facebook.com/sharer.php?u=<?php echo rawurlencode( esc_url( $url ) ); ?>" title="<?php esc_html_e( 'Share on Facebook', 'ocean-social-sharing' ); ?>" onclick="oss_onClick( this.href );return false;">
|
122 |
<span class="oss-icon-wrap">
|
123 |
+
<svg class="oss-icon" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
124 |
<path d="M5.677,12.998V8.123h3.575V6.224C9.252,2.949,11.712,0,14.736,0h3.94v4.874h-3.94
|
125 |
c-0.432,0-0.934,0.524-0.934,1.308v1.942h4.874v4.874h-4.874V24H9.252V12.998H5.677z"/>
|
126 |
</svg>
|
143 |
<li class="googleplus">
|
144 |
<a href="https://plus.google.com/share?url=<?php echo rawurlencode( esc_url( $url ) ); ?>" title="<?php esc_html_e( 'Share on Google+', 'ocean-social-sharing' ); ?>" onclick="oss_onClick( this.href );return false;">
|
145 |
<span class="oss-icon-wrap">
|
146 |
+
<svg class="oss-icon" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
147 |
<path d="M7.636,10.929V13.5h4.331c-0.175,1.104-1.309,3.236-4.331,3.236c-2.607,0-4.735-2.121-4.735-4.736
|
148 |
s2.127-4.736,4.735-4.736c1.484,0,2.476,0.621,3.044,1.157l2.073-1.961C11.422,5.239,9.698,4.5,7.636,4.5C3.415,4.5,0,7.854,0,12
|
149 |
s3.415,7.5,7.636,7.5c4.407,0,7.331-3.043,7.331-7.329c0-0.493-0.055-0.868-0.12-1.243H7.636z"/>
|
167 |
if ( 'pinterest' == $site ) { ?>
|
168 |
|
169 |
<li class="pinterest">
|
170 |
+
<a href="https://www.pinterest.com/pin/create/button/?url=<?php echo rawurlencode( esc_url( $url ) ); ?>&media=<?php echo wp_get_attachment_url( get_post_thumbnail_id( $post_id ) ); ?>&description=<?php echo urlencode( wp_trim_words( strip_shortcodes( get_the_content( $post_id ) ), 40 ) ); ?>" title="<?php esc_html_e( 'Share on Pinterest', 'ocean-social-sharing' ); ?>" onclick="oss_onClick( this.href );return false;">
|
171 |
<span class="oss-icon-wrap">
|
172 |
+
<svg class="oss-icon" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
173 |
<path d="M13.757,17.343c-1.487,0-2.886-0.804-3.365-1.717c0,0-0.8,3.173-0.969,3.785
|
174 |
c-0.596,2.165-2.35,4.331-2.487,4.508c-0.095,0.124-0.305,0.085-0.327-0.078c-0.038-0.276-0.485-3.007,0.041-5.235
|
175 |
c0.264-1.118,1.772-7.505,1.772-7.505s-0.44-0.879-0.44-2.179c0-2.041,1.183-3.565,2.657-3.565c1.252,0,1.857,0.94,1.857,2.068
|
196 |
if ( 'linkedin' == $site ) { ?>
|
197 |
|
198 |
<li class="linkedin">
|
199 |
+
<a href="https://www.linkedin.com/shareArticle?mini=true&url=<?php echo rawurlencode( esc_url( $url ) ); ?>&title=<?php echo wp_strip_all_tags( $title ); ?>&summary=<?php echo urlencode( wp_trim_words( strip_shortcodes( get_the_content( $post_id ) ), 40 ) ); ?>&source=<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php esc_html_e( 'Share on LinkedIn', 'ocean-social-sharing' ); ?>" onclick="oss_onClick( this.href );return false;">
|
200 |
<span class="oss-icon-wrap">
|
201 |
+
<svg class="oss-icon" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
202 |
<path d="M6.52,22h-4.13V8.667h4.13V22z M4.436,6.92
|
203 |
c-1.349,0-2.442-1.101-2.442-2.46C1.994,3.102,3.087,2,4.436,2s2.442,1.102,2.442,2.46C6.877,5.819,5.784,6.92,4.436,6.92z
|
204 |
M21.994,22h-4.109c0,0,0-5.079,0-6.999c0-1.919-0.73-2.991-2.249-2.991c-1.652,0-2.515,1.116-2.515,2.991c0,2.054,0,6.999,0,6.999
|
223 |
<li class="viber">
|
224 |
<a href="viber://forward?text=<?php echo rawurlencode( esc_url( $url ) ); ?>" title="<?php esc_html_e( 'Share on Viber', 'ocean-social-sharing' ); ?>" onclick="oss_onClick( this.href );return false;">
|
225 |
<span class="oss-icon-wrap">
|
226 |
+
<svg class="oss-icon" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
227 |
<path d="M14.957,5.825c0.764,0.163,1.349,0.453,1.849,0.921c0.643,0.608,0.996,1.343,1.151,2.4
|
228 |
c0.105,0.689,0.062,0.96-0.182,1.184c-0.229,0.209-0.651,0.217-0.907,0.019c-0.186-0.139-0.244-0.286-0.287-0.685
|
229 |
c-0.05-0.53-0.143-0.902-0.302-1.246c-0.341-0.731-0.942-1.111-1.957-1.235c-0.477-0.058-0.62-0.112-0.775-0.294
|
266 |
<li class="vk">
|
267 |
<a href="https://vk.com/share.php?url=<?php echo rawurlencode( esc_url( $url ) ); ?>" title="<?php esc_html_e( 'Share on VK', 'ocean-social-sharing' ); ?>" onclick="oss_onClick( this.href );return false;">
|
268 |
<span class="oss-icon-wrap">
|
269 |
+
<svg class="oss-icon" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
270 |
<path d="M11.701 18.771h1.437s.433-.047.654-.284c.21-.221.21-.63.21-.63s-.031-1.927.869-2.21c.887-.281 2.012 1.86 3.211 2.683.916.629 1.605.494 1.605.494l3.211-.044s1.682-.105.887-1.426c-.061-.105-.451-.975-2.371-2.76-2.012-1.861-1.742-1.561.676-4.787 1.469-1.965 2.07-3.166 1.875-3.676-.166-.48-1.26-.361-1.26-.361l-3.602.031s-.27-.031-.465.09c-.195.119-.314.391-.314.391s-.572 1.529-1.336 2.82c-1.623 2.729-2.268 2.879-2.523 2.699-.604-.391-.449-1.58-.449-2.432 0-2.641.404-3.75-.781-4.035-.39-.091-.681-.15-1.685-.166-1.29-.014-2.378.01-2.995.311-.405.203-.72.652-.539.675.24.03.779.146 1.064.537.375.506.359 1.636.359 1.636s.211 3.116-.494 3.503c-.495.262-1.155-.28-2.595-2.756-.735-1.26-1.291-2.67-1.291-2.67s-.105-.256-.299-.406c-.227-.165-.557-.225-.557-.225l-3.435.03s-.51.016-.689.24c-.166.195-.016.615-.016.615s2.686 6.287 5.732 9.453c2.79 2.902 5.956 2.715 5.956 2.715l-.05-.055z"/>
|
271 |
</svg>
|
272 |
</span>
|
286 |
if ( 'reddit' == $site ) { ?>
|
287 |
|
288 |
<li class="reddit">
|
289 |
+
<a href="https://www.reddit.com/submit?url=<?php echo rawurlencode( esc_url( $url ) ); ?>&title=<?php echo wp_strip_all_tags( $title ); ?>" title="<?php esc_html_e( 'Share on Reddit', 'ocean-social-sharing' ); ?>" onclick="oss_onClick( this.href );return false;">
|
290 |
<span class="oss-icon-wrap">
|
291 |
+
<svg class="oss-icon" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
292 |
<path d="M23.999,11.786c0-1.576-1.294-2.858-2.885-2.858c-0.689,0-1.321,0.241-1.817,0.641
|
293 |
c-1.759-1.095-3.991-1.755-6.383-1.895l1.248-3.91l3.43,0.8c0.09,1.237,1.134,2.217,2.405,2.217c1.33,0,2.412-1.072,2.412-2.391
|
294 |
c0-1.318-1.082-2.39-2.412-2.39c-0.93,0-1.739,0.525-2.141,1.291l-3.985-0.93c-0.334-0.078-0.671,0.112-0.775,0.436L11.547,7.65
|
323 |
<li class="tumblr">
|
324 |
<a href="https://www.tumblr.com/widgets/share/tool?canonicalUrl=<?php echo rawurlencode( esc_url( $url ) ); ?>" title="<?php esc_html_e( 'Share on Tumblr', 'ocean-social-sharing' ); ?>" onclick="oss_onClick( this.href );return false;">
|
325 |
<span class="oss-icon-wrap">
|
326 |
+
<svg class="oss-icon" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
327 |
<path d="M19.44,22.887c-1.034,0.487-1.97,0.828-2.808,1.024
|
328 |
c-0.838,0.195-1.744,0.293-2.718,0.293c-1.106,0-2.083-0.14-2.933-0.418c-0.851-0.279-1.575-0.677-2.175-1.194
|
329 |
c-0.6-0.518-1.017-1.067-1.248-1.649c-0.231-0.581-0.347-1.425-0.347-2.53V9.93H4.56V6.482c0.947-0.309,1.759-0.751,2.434-1.327
|
350 |
<li class="viadeo">
|
351 |
<a href="https://partners.viadeo.com/share?url=<?php echo rawurlencode( esc_url( $url ) ); ?>" title="<?php esc_html_e( 'Share on Viadeo', 'ocean-social-sharing' ); ?>" onclick="oss_onClick( this.href );return false;">
|
352 |
<span class="oss-icon-wrap">
|
353 |
+
<svg class="oss-icon" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
354 |
<path d="M21.046,0.546c-1.011,2.159-2.882,2.557-2.882,2.557c-1.87,0.476-2.525,1.202-2.525,1.202
|
355 |
c-1.871,1.889-0.396,4.181-0.396,4.181c4.039-0.922,5.514-4.259,5.514-4.259c-0.181,2.242-4.986,4.887-4.986,4.887
|
356 |
c1.592,1.565,3.111,1.374,4.112,0.775c1.328-0.795,1.968-2.537,1.968-2.537C23.142,3.484,21.046,0.546,21.046,0.546z
|