Version Description
*Refinement in the JS script
Download this release
Release Info
Developer | Access Keys |
Plugin | Social Share WordPress Plugin – AccessPress Social Share |
Version | 4.4.1 |
Comparing to | |
See all releases |
Code changes from version 4.4.0 to 4.4.1
- accesspress-social-share.php +2 -4
- inc/frontend/content-filter.php +1 -0
- inc/frontend/count_shortcode.php +2 -4
- js/backend.js +18 -19
- js/frontend.js +2 -2
- readme.txt +6 -7
accesspress-social-share.php
CHANGED
@@ -4,7 +4,7 @@ defined( 'ABSPATH' ) or die( "No script kiddies please!" );
|
|
4 |
Plugin name: Social Share WordPress Plugin - 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.4.
|
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.4.
|
34 |
}
|
35 |
|
36 |
if ( ! defined( 'APSS_TEXT_DOMAIN' ) ) {
|
@@ -94,7 +94,6 @@ if ( ! class_exists( 'APSS_Class' ) ) {
|
|
94 |
if ( ! get_option( APSS_SETTING_NAME ) ) {
|
95 |
include( 'inc/backend/activation.php' );
|
96 |
}
|
97 |
-
|
98 |
if ( ! get_option( APSS_COUNT_TRANSIENTS ) ) {
|
99 |
$apss_social_counts_transients = array();
|
100 |
update_option( APSS_COUNT_TRANSIENTS, $apss_social_counts_transients );
|
@@ -104,7 +103,6 @@ if ( ! class_exists( 'APSS_Class' ) ) {
|
|
104 |
if ( ! get_option( APSS_SETTING_NAME ) ) {
|
105 |
include( 'inc/backend/activation.php' );
|
106 |
}
|
107 |
-
|
108 |
if ( ! get_option( APSS_COUNT_TRANSIENTS ) ) {
|
109 |
$apss_social_counts_transients = array();
|
110 |
update_option( APSS_COUNT_TRANSIENTS, $apss_social_counts_transients );
|
4 |
Plugin name: Social Share WordPress Plugin - 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.4.1
|
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.4.1' );
|
34 |
}
|
35 |
|
36 |
if ( ! defined( 'APSS_TEXT_DOMAIN' ) ) {
|
94 |
if ( ! get_option( APSS_SETTING_NAME ) ) {
|
95 |
include( 'inc/backend/activation.php' );
|
96 |
}
|
|
|
97 |
if ( ! get_option( APSS_COUNT_TRANSIENTS ) ) {
|
98 |
$apss_social_counts_transients = array();
|
99 |
update_option( APSS_COUNT_TRANSIENTS, $apss_social_counts_transients );
|
103 |
if ( ! get_option( APSS_SETTING_NAME ) ) {
|
104 |
include( 'inc/backend/activation.php' );
|
105 |
}
|
|
|
106 |
if ( ! get_option( APSS_COUNT_TRANSIENTS ) ) {
|
107 |
$apss_social_counts_transients = array();
|
108 |
update_option( APSS_COUNT_TRANSIENTS, $apss_social_counts_transients );
|
inc/frontend/content-filter.php
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
<?php defined( 'ABSPATH' ) or die( "No script kiddies please!" );
|
|
|
2 |
$apss_link_open_option = ($options['dialog_box_options'] == '1') ? "_blank" : "";
|
3 |
$apss_link_open_option_value = intval($options['dialog_box_options']);
|
4 |
$twitter_user = $options['twitter_username'];
|
1 |
<?php defined( 'ABSPATH' ) or die( "No script kiddies please!" );
|
2 |
+
|
3 |
$apss_link_open_option = ($options['dialog_box_options'] == '1') ? "_blank" : "";
|
4 |
$apss_link_open_option_value = intval($options['dialog_box_options']);
|
5 |
$twitter_user = $options['twitter_username'];
|
inc/frontend/count_shortcode.php
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
global $post;
|
4 |
$options = get_option( APSS_SETTING_NAME );
|
5 |
if(isset($attr['custom_url_link']) && $attr['custom_url_link'] !=''){
|
@@ -32,7 +32,6 @@ $count = 0;
|
|
32 |
foreach ( $options['social_networks'] as $key => $value ) {
|
33 |
if ( intval( $value ) == '1' ) {
|
34 |
$count = $this->get_count( $key, $url );
|
35 |
-
////////////////////////////////////////
|
36 |
if(isset($http_url_checked) && $http_url_checked=='1'){
|
37 |
$url_check = parse_url($url);
|
38 |
if($url_check['scheme'] == 'https'){
|
@@ -46,7 +45,6 @@ foreach ( $options['social_networks'] as $key => $value ) {
|
|
46 |
$count += APSS_Class:: get_count($key, $url1);
|
47 |
}
|
48 |
}
|
49 |
-
///////////////////////////////////////////
|
50 |
$total_count += $count;
|
51 |
}
|
52 |
}
|
1 |
+
<?php defined( 'ABSPATH' ) or die( "No script kiddies please!" );
|
2 |
+
|
3 |
global $post;
|
4 |
$options = get_option( APSS_SETTING_NAME );
|
5 |
if(isset($attr['custom_url_link']) && $attr['custom_url_link'] !=''){
|
32 |
foreach ( $options['social_networks'] as $key => $value ) {
|
33 |
if ( intval( $value ) == '1' ) {
|
34 |
$count = $this->get_count( $key, $url );
|
|
|
35 |
if(isset($http_url_checked) && $http_url_checked=='1'){
|
36 |
$url_check = parse_url($url);
|
37 |
if($url_check['scheme'] == 'https'){
|
45 |
$count += APSS_Class:: get_count($key, $url1);
|
46 |
}
|
47 |
}
|
|
|
48 |
$total_count += $count;
|
49 |
}
|
50 |
}
|
js/backend.js
CHANGED
@@ -1,7 +1,6 @@
|
|
1 |
function removeMe(args){
|
2 |
jQuery('.'+args).html('');
|
3 |
}
|
4 |
-
|
5 |
(function ($) {
|
6 |
$(function () {
|
7 |
//all backend js goes here
|
@@ -19,28 +18,28 @@ jQuery('.'+args).html('');
|
|
19 |
}
|
20 |
});
|
21 |
|
22 |
-
$( '.apss-tabs-trigger' ).click(function(){
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
|
40 |
-
$('#counter_enable_options_y').click(function(){
|
41 |
$('.apss-counter-api-options').show();
|
42 |
});
|
43 |
-
|
44 |
$('.apss-counter-api-options').hide();
|
45 |
});
|
46 |
|
1 |
function removeMe(args){
|
2 |
jQuery('.'+args).html('');
|
3 |
}
|
|
|
4 |
(function ($) {
|
5 |
$(function () {
|
6 |
//all backend js goes here
|
18 |
}
|
19 |
});
|
20 |
|
21 |
+
$( '.apss-tabs-trigger' ).click(function() {
|
22 |
+
$( '.apss-tabs-trigger' ).removeClass( 'apss-active-tab' );
|
23 |
+
$(this).addClass( 'apss-active-tab' );
|
24 |
+
var board_id = 'tab-'+$(this).attr('id');
|
25 |
+
$('.apss-tab-contents').hide();
|
26 |
+
$('#'+board_id).show();
|
27 |
+
});
|
28 |
|
29 |
+
$('#apss_submit_settings').click(function() {
|
30 |
+
var cache_period_val=$('#apss_cache_period').val();
|
31 |
+
if($.isNumeric(cache_period_val)===true){
|
32 |
+
}else{
|
33 |
+
$('.invalid_cache_period').html("Please enter the integer value only.");
|
34 |
+
$('.apss_cache_period').focus();
|
35 |
+
return false;
|
36 |
+
}
|
37 |
+
});
|
38 |
|
39 |
+
$('#counter_enable_options_y').click(function() {
|
40 |
$('.apss-counter-api-options').show();
|
41 |
});
|
42 |
+
$('#counter_enable_options_n').click(function() {
|
43 |
$('.apss-counter-api-options').hide();
|
44 |
});
|
45 |
|
js/frontend.js
CHANGED
@@ -1,4 +1,3 @@
|
|
1 |
-
|
2 |
// function from https://halgatewood.com/how-to-customize-the-pin-it-button-for-pinterest
|
3 |
function pinIt()
|
4 |
{
|
@@ -22,4 +21,5 @@ jQuery(document).ready(function ($) {
|
|
22 |
shortcode_profile_array.push(social_detail);
|
23 |
}
|
24 |
});
|
25 |
-
});
|
|
|
|
1 |
// function from https://halgatewood.com/how-to-customize-the-pin-it-button-for-pinterest
|
2 |
function pinIt()
|
3 |
{
|
21 |
shortcode_profile_array.push(social_detail);
|
22 |
}
|
23 |
});
|
24 |
+
});
|
25 |
+
|
readme.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
-
=== Social Share WordPress Plugin - AccessPress Social Share ===
|
2 |
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:
|
7 |
-
Stable tag: 4.4.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -141,13 +141,9 @@ No , because we have provided the caching option to store the share count in the
|
|
141 |
= Do I need to design the icons again? =
|
142 |
No , you won't need to get any trouble regarding design and layout of the icons since we have provided inbuilt 5 beautiful icon themes.You can choose any as per your requirement.
|
143 |
|
144 |
-
|
145 |
-
|
146 |
= Where can I find the documentation for the plugin? =
|
147 |
Once you install the plugin , you can check some general documentation about how to use the plugin in the "How to use" panel of the plugin's settings page. Complete documentation can be found [here](https://accesspressthemes.com/documentation/documentation-plugin-instruction-accesspress-social-share/).
|
148 |
|
149 |
-
|
150 |
-
|
151 |
= Can I use AccessPress social share where ever I want? =
|
152 |
Yes. You can use the AccessPress social share by using shortcode anywhere you want in your templates files or in posts and pages content.
|
153 |
|
@@ -161,6 +157,9 @@ Yes. You can use the AccessPress social share by using shortcode anywhere you wa
|
|
161 |
|
162 |
== Changelog ==
|
163 |
|
|
|
|
|
|
|
164 |
= 4.4.0 =
|
165 |
* updated informational details in the plugin.
|
166 |
|
1 |
+
=== Social Share WordPress Plugin - AccessPress Social Share ===
|
2 |
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: 5.0
|
7 |
+
Stable tag: 4.4.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
141 |
= Do I need to design the icons again? =
|
142 |
No , you won't need to get any trouble regarding design and layout of the icons since we have provided inbuilt 5 beautiful icon themes.You can choose any as per your requirement.
|
143 |
|
|
|
|
|
144 |
= Where can I find the documentation for the plugin? =
|
145 |
Once you install the plugin , you can check some general documentation about how to use the plugin in the "How to use" panel of the plugin's settings page. Complete documentation can be found [here](https://accesspressthemes.com/documentation/documentation-plugin-instruction-accesspress-social-share/).
|
146 |
|
|
|
|
|
147 |
= Can I use AccessPress social share where ever I want? =
|
148 |
Yes. You can use the AccessPress social share by using shortcode anywhere you want in your templates files or in posts and pages content.
|
149 |
|
157 |
|
158 |
== Changelog ==
|
159 |
|
160 |
+
= 4.4.1 =
|
161 |
+
*Refinement in the JS script
|
162 |
+
|
163 |
= 4.4.0 =
|
164 |
* updated informational details in the plugin.
|
165 |
|