Version Description
Fixed problem excerpt before the social links.
Download this release
Release Info
Developer | oceanwp |
Plugin | Ocean Social Sharing |
Version | 1.0.1 |
Comparing to | |
See all releases |
Code changes from version 1.0.0 to 1.0.1
- ocean-social-sharing.php +3 -3
- readme.txt +6 -3
- template/social-share.php +1 -4
ocean-social-sharing.php
CHANGED
@@ -3,11 +3,11 @@
|
|
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.0.0
|
10 |
-
* Tested up to: 4.
|
11 |
*
|
12 |
* Text Domain: ocean-social-sharing
|
13 |
* Domain Path: /languages/
|
@@ -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 |
define( 'OSS_ROOT', dirname( __FILE__ ) );
|
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.1
|
7 |
* Author: OceanWP
|
8 |
* Author URI: https://oceanwp.org/
|
9 |
* Requires at least: 4.0.0
|
10 |
+
* Tested up to: 4.7
|
11 |
*
|
12 |
* Text Domain: ocean-social-sharing
|
13 |
* Domain Path: /languages/
|
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.1';
|
90 |
|
91 |
define( 'OSS_ROOT', dirname( __FILE__ ) );
|
92 |
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Contributors: oceanwp
|
3 |
Tags: social, social sharing, social share, share, ocean
|
4 |
Requires at least: 3.5
|
5 |
-
Tested up to: 4.
|
6 |
-
Stable tag: 1.0.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -27,9 +27,12 @@ This plugin will only work with the [Ocean](https://oceanwp.org/) theme.
|
|
27 |
|
28 |
== Screenshots ==
|
29 |
|
30 |
-
1. The social buttons.
|
31 |
|
32 |
== Changelog ==
|
33 |
|
|
|
|
|
|
|
34 |
= 1.0.0 =
|
35 |
Initial release.
|
2 |
Contributors: oceanwp
|
3 |
Tags: social, social sharing, social share, share, ocean
|
4 |
Requires at least: 3.5
|
5 |
+
Tested up to: 4.7
|
6 |
+
Stable tag: 1.0.1
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
27 |
|
28 |
== Screenshots ==
|
29 |
|
30 |
+
1. The social sharing buttons.
|
31 |
|
32 |
== Changelog ==
|
33 |
|
34 |
+
= 1.0.1 =
|
35 |
+
Fixed problem excerpt before the social links.
|
36 |
+
|
37 |
= 1.0.0 =
|
38 |
Initial release.
|
template/social-share.php
CHANGED
@@ -28,10 +28,7 @@ $heading = get_theme_mod( 'oss_social_share_heading' );
|
|
28 |
$heading = $heading ? $heading : esc_html__( 'Please Share This', 'ocean-social-sharing' );
|
29 |
$post_id = get_the_ID();
|
30 |
$url = apply_filters( 'oss_social_share_url', get_permalink( $post_id ) );
|
31 |
-
$title = get_the_title();
|
32 |
-
|
33 |
-
// Get and encode summary
|
34 |
-
$summary = ocean_excerpt( 40 ); ?>
|
35 |
|
36 |
<div class="entry-share clr">
|
37 |
|
28 |
$heading = $heading ? $heading : esc_html__( 'Please Share This', 'ocean-social-sharing' );
|
29 |
$post_id = get_the_ID();
|
30 |
$url = apply_filters( 'oss_social_share_url', get_permalink( $post_id ) );
|
31 |
+
$title = get_the_title(); ?>
|
|
|
|
|
|
|
32 |
|
33 |
<div class="entry-share clr">
|
34 |
|