Social Share WordPress Plugin – AccessPress Social Share - Version 1.1.1

Version Description

  • excerpt filter removal.
  • Code sanitization for backend options.
Download this release

Release Info

Developer Access Keys
Plugin Icon 128x128 Social Share WordPress Plugin – AccessPress Social Share
Version 1.1.1
Comparing to
See all releases

Code changes from version 1.1.0 to 1.1.1

accesspress-social-share.php CHANGED
@@ -4,7 +4,7 @@ defined( 'ABSPATH' ) or die( "No script kiddies please!" );
4
  Plugin name: AccessPress Social Share
5
  Plugin URI: https://accesspressthemes.com/wordpress-plugins/accesspress-social-share/
6
  Description: A plugin to add various social media shares to a site with dynamic configuration options.
7
- Version: 1.1.0
8
  Author: AccessPress Themes
9
  Author URI: http://accesspressthemes.com
10
  Text Domain:apss-share
@@ -31,7 +31,7 @@ if( !defined( 'APSS_LANG_DIR' ) ) {
31
  }
32
 
33
  if( !defined( 'APSS_VERSION' ) ) {
34
- define( 'APSS_VERSION', '1.1.0' );
35
  }
36
 
37
  if(!defined('APSS_TEXT_DOMAIN')){
@@ -59,7 +59,7 @@ if( !class_exists( 'APSS_Class' ) ){
59
  add_action('init',array( $this,'session_init')); //start the session if not started yet.
60
  add_action('admin_enqueue_scripts', array($this, 'register_admin_assets')); //registers all the assets required for wp-admin
61
  add_filter( 'the_content', array($this, 'apss_the_content_filter' )); // add the filter function for display of social share icons in frontend
62
- add_filter( 'the_excerpt', array($this, 'apss_the_content_filter' )); // add the filter function for display of social share icons in frontend
63
  add_action( 'wp_enqueue_scripts', array( $this, 'register_frontend_assets' ) ); // registers all the assets required for the frontend
64
  add_action( 'admin_menu', array( $this, 'add_apss_menu' ) ); //register the plugin menu in backend
65
  add_action('admin_post_apss_save_options', array( $this, 'apss_save_options')); //save the options in the wordpress options table.
4
  Plugin name: AccessPress Social Share
5
  Plugin URI: https://accesspressthemes.com/wordpress-plugins/accesspress-social-share/
6
  Description: A plugin to add various social media shares to a site with dynamic configuration options.
7
+ Version: 1.1.1
8
  Author: AccessPress Themes
9
  Author URI: http://accesspressthemes.com
10
  Text Domain:apss-share
31
  }
32
 
33
  if( !defined( 'APSS_VERSION' ) ) {
34
+ define( 'APSS_VERSION', '1.1.1' );
35
  }
36
 
37
  if(!defined('APSS_TEXT_DOMAIN')){
59
  add_action('init',array( $this,'session_init')); //start the session if not started yet.
60
  add_action('admin_enqueue_scripts', array($this, 'register_admin_assets')); //registers all the assets required for wp-admin
61
  add_filter( 'the_content', array($this, 'apss_the_content_filter' )); // add the filter function for display of social share icons in frontend
62
+ //add_filter( 'the_excerpt', array($this, 'apss_the_content_filter' )); // add the filter function for display of social share icons in frontend
63
  add_action( 'wp_enqueue_scripts', array( $this, 'register_frontend_assets' ) ); // registers all the assets required for the frontend
64
  add_action( 'admin_menu', array( $this, 'add_apss_menu' ) ); //register the plugin menu in backend
65
  add_action('admin_post_apss_save_options', array( $this, 'apss_save_options')); //save the options in the wordpress options table.
images/Thumbs.db CHANGED
Binary file
inc/frontend/content-filter.php CHANGED
@@ -68,7 +68,7 @@ foreach( $options['social_networks'] as $key=>$value ){
68
  </div>
69
  <?php
70
  break;
71
-
72
  //counter available for pinterest
73
  case 'pinterest':
74
  ?>
@@ -87,14 +87,13 @@ foreach( $options['social_networks'] as $key=>$value ){
87
  </a>
88
  </div>
89
  <?php
90
- //}
91
  break;
92
 
93
  //couter available for linkedin
94
  case 'linkedin':
95
  $link = "http://www.linkedin.com/shareArticle?mini=true&amp;title=".$title."&amp;url=".$url."&amp;summary=".$excerpt;
96
-
97
  ?>
 
98
  <div class='apss-linkedin apss-single-icon'>
99
  <a title='Share on LinkedIn' target='<?php echo $apss_link_open_option; ?>' href='<?php echo $link; ?>'>
100
  <div class='apss-icon-block clearfix'><i class='fa fa-linkedin'></i>
@@ -158,7 +157,7 @@ foreach( $options['social_networks'] as $key=>$value ){
158
  </div>
159
  </a>
160
  </div>
161
- <?php
162
  break;
163
 
164
  }
68
  </div>
69
  <?php
70
  break;
71
+
72
  //counter available for pinterest
73
  case 'pinterest':
74
  ?>
87
  </a>
88
  </div>
89
  <?php
 
90
  break;
91
 
92
  //couter available for linkedin
93
  case 'linkedin':
94
  $link = "http://www.linkedin.com/shareArticle?mini=true&amp;title=".$title."&amp;url=".$url."&amp;summary=".$excerpt;
 
95
  ?>
96
+
97
  <div class='apss-linkedin apss-single-icon'>
98
  <a title='Share on LinkedIn' target='<?php echo $apss_link_open_option; ?>' href='<?php echo $link; ?>'>
99
  <div class='apss-icon-block clearfix'><i class='fa fa-linkedin'></i>
157
  </div>
158
  </a>
159
  </div>
160
+ <?php
161
  break;
162
 
163
  }
js/frontend.js CHANGED
@@ -1,4 +1,5 @@
1
- //https://halgatewood.com/how-to-customize-the-pin-it-button-for-pinterest
 
2
  function pinIt()
3
  {
4
  var e = document.createElement('script');
@@ -18,7 +19,7 @@ jQuery(document).ready(function ($) {
18
  }
19
  });
20
 
21
- // ajax call for social counter
22
  if (shortcode_profile_array.length > 0)
23
  {
24
  $.ajax({
1
+
2
+ //function from https://halgatewood.com/how-to-customize-the-pin-it-button-for-pinterest
3
  function pinIt()
4
  {
5
  var e = document.createElement('script');
19
  }
20
  });
21
 
22
+ // ajax call for social counter
23
  if (shortcode_profile_array.length > 0)
24
  {
25
  $.ajax({
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: social share counter, social share, social media share, social network sha
4
  Donate link: http://accesspressthemes.com/donation/
5
  Requires at least: 3.8
6
  Tested up to: 4.1
7
- Stable tag: 1.1.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -47,18 +47,30 @@ it button for each images. Please upgrade to Premium version.`
47
 
48
  = Premium Features: =
49
 
50
- * <strong>Beautifully designed 10 themes to select from.</strong>
51
- * <strong>Major 14 social media included </strong>
52
- - (Facebook, Twitter, Google+, Pinterest, LinkedIn, Digg, Delicious, Stumbleupon, Tumblr, Vkontakte, Reddit, Xing, Weibo and Buffer).
53
- * <strong>Popup sharing </strong>
54
- * <strong>Pinterest image pin options</strong>
55
- * <strong>Buddypress and woocommerce compactible</strong>
56
- * <strong>Shortcode</strong> - more parameters available for shortcodes.
57
- * <strong>Widgets</strong> - Add the AccessPress Social Share in widgets.
58
- * <strong>Floating Sidebar</strong> - Beautifully designed 4 themes to display in the floating sidebar with various display position options.
59
- * <strong>Social media fans/followers count display options</strong>
60
- * <strong>Beautiful 20 themes</strong> for social counts
61
- * <strong>18 major social media </strong> for social count display
 
 
 
 
 
 
 
 
 
 
 
 
62
 
63
  = Premium upgrade =
64
 
@@ -119,6 +131,10 @@ Yes. You can use the AccessPress social share by using shortcode anywhere you wa
119
  6. Backend Miscellaneous Settings Section
120
 
121
  == Changelog ==
 
 
 
 
122
  = 1.1.0 =
123
  * Code modification for the pinterest share.
124
 
4
  Donate link: http://accesspressthemes.com/donation/
5
  Requires at least: 3.8
6
  Tested up to: 4.1
7
+ Stable tag: 1.1.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
47
 
48
  = Premium Features: =
49
 
50
+ Beautifully designed 10 themes to select from.
51
+
52
+ Major 14 social media included(Facebook, Twitter, Google+, Pinterest,
53
+ LinkedIn, Digg, Delicious, Stumbleupon, Tumblr, Vkontakte, Reddit, Xing,
54
+ Weibo and Buffer).
55
+
56
+ Popup sharing.
57
+
58
+ Pinterest image pin options.
59
+
60
+ Buddypress and woocommerce compactible.
61
+
62
+ ★ Shortcode - more parameters available for shortcodes.
63
+
64
+ ★ Widgets - Add the AccessPress Social Share in widgets.
65
+
66
+ ★ Floating Sidebar - Beautifully designed 4 themes to display in the
67
+ floating sidebar with various display position options.
68
+
69
+ ★ Social media fans/followers count display options.
70
+
71
+ ★ Beautiful 20 themes for social counts.
72
+
73
+ ★ 18 major social media for social count display.
74
 
75
  = Premium upgrade =
76
 
131
  6. Backend Miscellaneous Settings Section
132
 
133
  == Changelog ==
134
+ = 1.1.1 =
135
+ * excerpt filter removal.
136
+ * Code sanitization for backend options.
137
+
138
  = 1.1.0 =
139
  * Code modification for the pinterest share.
140