Social Share WordPress Plugin – AccessPress Social Share - Version 4.0.2

Version Description

  • Addition of the new shortcodes to replace apss-share to apss_share and apss-count to apss_count. Both shortcodes can be used but in the future updates will remove the shortcodes with hyphen as it is not recommened.
Download this release

Release Info

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

Code changes from version 4.0.1 to 4.0.2

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: 4.0.1
8
  Author: AccessPress Themes
9
  Author URI: http://accesspressthemes.com
10
  Text Domain: accesspress-social-share
@@ -30,7 +30,7 @@ if ( !defined( 'APSS_LANG_DIR' ) ) {
30
  }
31
 
32
  if ( !defined( 'APSS_VERSION' ) ) {
33
- define( 'APSS_VERSION', '4.0.1' );
34
  }
35
 
36
  if ( !defined( 'APSS_TEXT_DOMAIN' ) ) {
@@ -73,7 +73,9 @@ if ( !class_exists( 'APSS_Class' ) ) {
73
  add_action( 'admin_post_apss_restore_default_settings', array( $this, 'apss_restore_default_settings' ) ); //restores default settings.
74
  add_action( 'admin_post_apss_clear_cache', array( $this, 'apss_clear_cache' ) ); //clear the cache of the social share counter.
75
  add_shortcode( 'apss-share', array( $this, 'apss_shortcode' ) ); //adds a shortcode
 
76
  add_shortcode( 'apss-count', array( $this, 'apss_count_shortcode' ) ); //adds a share count shortcode
 
77
  add_action( 'add_meta_boxes', array( $this, 'social_meta_box' ) ); //for providing the option to disable the social share option in each frontend page
78
  add_action( 'save_post', array( $this, 'save_meta_values' ) ); //function to save the post meta values of a plugin.
79
 
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: 4.0.2
8
  Author: AccessPress Themes
9
  Author URI: http://accesspressthemes.com
10
  Text Domain: accesspress-social-share
30
  }
31
 
32
  if ( !defined( 'APSS_VERSION' ) ) {
33
+ define( 'APSS_VERSION', '4.0.2' );
34
  }
35
 
36
  if ( !defined( 'APSS_TEXT_DOMAIN' ) ) {
73
  add_action( 'admin_post_apss_restore_default_settings', array( $this, 'apss_restore_default_settings' ) ); //restores default settings.
74
  add_action( 'admin_post_apss_clear_cache', array( $this, 'apss_clear_cache' ) ); //clear the cache of the social share counter.
75
  add_shortcode( 'apss-share', array( $this, 'apss_shortcode' ) ); //adds a shortcode
76
+ add_shortcode( 'apss_share', array( $this, 'apss_shortcode' ) ); //added a new shortcode to remove the shortcode with hyphen in future
77
  add_shortcode( 'apss-count', array( $this, 'apss_count_shortcode' ) ); //adds a share count shortcode
78
+ add_shortcode( 'apss_count', array( $this, 'apss_count_shortcode' ) ); //added a new shortcode to remove the shortcode with hyphen in future
79
  add_action( 'add_meta_boxes', array( $this, 'social_meta_box' ) ); //for providing the option to disable the social share option in each frontend page
80
  add_action( 'save_post', array( $this, 'save_meta_values' ) ); //function to save the post meta values of a plugin.
81
 
inc/backend/how-to-use.php CHANGED
@@ -23,7 +23,7 @@
23
  <dt><strong>Shortcode</strong></dt>
24
  <dd><p>You can use shortcode for the display of the social share in the contents. Optionally You can enter the name of the networks you want to display. The networks will be displayed in the order of entered networks.
25
  <ul class="how-list">
26
- <li><i class="fa fa-check"></i>Example 1: <code>[apss-share]</code></li>
27
  <li>Available shortcode parameters</li>
28
  <ul>
29
  <li><i class="fa fa-check"></i>networks : You can define which social medias to show in the shortcode. You need to enter the networks name in string in comma separated values. If you don't want to choose which social medias to appear in shortcode, you can discard this option. </li>
@@ -32,17 +32,21 @@
32
  <li><i class="fa fa-check"></i>counter : You can enable or disable the share counter. To enable the share count use counter='1' and to disable it simply don't use counter parameter or use parameter counter='0'.</li>
33
  <li><i class="fa fa-check"></i>total_counter : You can enable or disable the total share counter. To enable the total share count use total_counter='1' and to disable it simply don't use total_counter parameter or use parameter total_counter='0'.</li>
34
  </ul>
35
- <li><i class="fa fa-check"></i>Example 2: <code>[apss-share networks='facebook, twitter, pinterest' share_text='Share it' counter='1' total_counter='1']</code></li>
36
  </ul>
37
  </p></dd>
38
  <dd>
39
- <p>You can use shortcode [apss-count] for the display of the social share count only in the contents. You need to enter network name you want to display.
40
  <ul class="how-list">
41
- <li><i class="fa fa-check"></i>Example 1: <code>[apss-count network='facebook']</code>
42
- Please note that this shortcode takes only one network value at a time. So if you want to fetch the share count for facebook and twitter you need to use <code>[apss-count network='facebook']</code> and <code>[apss-count network='twitter']</code> respectively.
43
  </li>
44
  <li><i class="fa fa-check"></i>Available network parameters are: facebook, twitter, google-plus, pinterest, linkedin</li>
45
  </ul>
46
  </p>
47
  </dd>
 
 
 
 
48
  </dl>
23
  <dt><strong>Shortcode</strong></dt>
24
  <dd><p>You can use shortcode for the display of the social share in the contents. Optionally You can enter the name of the networks you want to display. The networks will be displayed in the order of entered networks.
25
  <ul class="how-list">
26
+ <li><i class="fa fa-check"></i>Example 1: <code>[apss_share]</code></li>
27
  <li>Available shortcode parameters</li>
28
  <ul>
29
  <li><i class="fa fa-check"></i>networks : You can define which social medias to show in the shortcode. You need to enter the networks name in string in comma separated values. If you don't want to choose which social medias to appear in shortcode, you can discard this option. </li>
32
  <li><i class="fa fa-check"></i>counter : You can enable or disable the share counter. To enable the share count use counter='1' and to disable it simply don't use counter parameter or use parameter counter='0'.</li>
33
  <li><i class="fa fa-check"></i>total_counter : You can enable or disable the total share counter. To enable the total share count use total_counter='1' and to disable it simply don't use total_counter parameter or use parameter total_counter='0'.</li>
34
  </ul>
35
+ <li><i class="fa fa-check"></i>Example 2: <code>[apss_share networks='facebook, twitter, pinterest' share_text='Share it' counter='1' total_counter='1']</code></li>
36
  </ul>
37
  </p></dd>
38
  <dd>
39
+ <p>You can use shortcode [apss_count] for the display of the social share count only in the contents. You need to enter network name you want to display.
40
  <ul class="how-list">
41
+ <li><i class="fa fa-check"></i>Example 1: <code>[apss_count network='facebook']</code>
42
+ Please note that this shortcode takes only one network value at a time. So if you want to fetch the share count for facebook and pinterest you need to use <code>[apss_count network='facebook']</code> and <code>[apss_count network='pinterest']</code> respectively.
43
  </li>
44
  <li><i class="fa fa-check"></i>Available network parameters are: facebook, twitter, google-plus, pinterest, linkedin</li>
45
  </ul>
46
  </p>
47
  </dd>
48
+
49
+ <dd>
50
+ <p><b>Also for now you can use shortcode [apss-share] and [apss-count] for the display of the social shares and counts only as well but in upcoming plugin updates this shortcode will be removed and use the new one.</b></p>
51
+ </dd>
52
  </dl>
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: Access Keys
3
  Tags: social share counter, social share, social media share, social network share, social media, social network, share counter, social share count, social url share, social icons
4
  Donate link: http://accesspressthemes.com/donation/
5
  Requires at least: 3.8
6
- Tested up to: 4.3
7
- Stable tag: 4.0.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -131,6 +131,9 @@ Yes. You can use the AccessPress social share by using shortcode anywhere you wa
131
  6. Backend Miscellaneous Settings Section
132
 
133
  == Changelog ==
 
 
 
134
  = 4.0.1 =
135
  * Removal of the twitter share count as twitter depreceate the url share count.
136
 
3
  Tags: social share counter, social share, social media share, social network share, social media, social network, share counter, social share count, social url share, social icons
4
  Donate link: http://accesspressthemes.com/donation/
5
  Requires at least: 3.8
6
+ Tested up to: 4.4
7
+ Stable tag: 4.0.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
131
  6. Backend Miscellaneous Settings Section
132
 
133
  == Changelog ==
134
+ = 4.0.2 =
135
+ * Addition of the new shortcodes to replace apss-share to apss_share and apss-count to apss_count. Both shortcodes can be used but in the future updates will remove the shortcodes with hyphen as it is not recommened.
136
+
137
  = 4.0.1 =
138
  * Removal of the twitter share count as twitter depreceate the url share count.
139