Version Description
- Fixed the instagram followers count issues.
Download this release
Release Info
Developer | Access Keys |
Plugin | Social Counter for WordPress – AccessPress Social Counter |
Version | 1.5.7 |
Comparing to | |
See all releases |
Code changes from version 1.5.6 to 1.5.7
- accesspress-social-counter.php +2 -2
- inc/backend/boards/social-profiles.php +1 -1
- inc/frontend/api.php +1 -1
- readme.txt +5 -2
accesspress-social-counter.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: AccessPress Social Counter
|
4 |
* Plugin URI: https://accesspressthemes.com/wordpress-plugins/accesspress-social-counter/
|
5 |
* Description: A plugin to display your social accounts fans, subscribers and followers number on your website with handful of backend settings and interface.
|
6 |
-
* Version: 1.5.
|
7 |
* Author: AccessPress Themes
|
8 |
* Author URI: http://accesspressthemes.com
|
9 |
* Text Domain: aps-counter
|
@@ -24,7 +24,7 @@ if (!defined('SC_CSS_DIR')) {
|
|
24 |
define('SC_CSS_DIR', plugin_dir_url(__FILE__) . 'css');
|
25 |
}
|
26 |
if (!defined('SC_VERSION')) {
|
27 |
-
define('SC_VERSION', '1.5.
|
28 |
}
|
29 |
/**
|
30 |
* Register of widgets
|
3 |
* Plugin Name: AccessPress Social Counter
|
4 |
* Plugin URI: https://accesspressthemes.com/wordpress-plugins/accesspress-social-counter/
|
5 |
* Description: A plugin to display your social accounts fans, subscribers and followers number on your website with handful of backend settings and interface.
|
6 |
+
* Version: 1.5.7
|
7 |
* Author: AccessPress Themes
|
8 |
* Author URI: http://accesspressthemes.com
|
9 |
* Text Domain: aps-counter
|
24 |
define('SC_CSS_DIR', plugin_dir_url(__FILE__) . 'css');
|
25 |
}
|
26 |
if (!defined('SC_VERSION')) {
|
27 |
+
define('SC_VERSION', '1.5.7');
|
28 |
}
|
29 |
/**
|
30 |
* Register of widgets
|
inc/backend/boards/social-profiles.php
CHANGED
@@ -161,7 +161,7 @@
|
|
161 |
<label><?php _e('Instagram Access Token', 'accesspress-social-counter'); ?></label>
|
162 |
<div class="apsc-option-field">
|
163 |
<input type="text" name="social_profile[instagram][access_token]" value="<?php echo esc_attr($apsc_settings['social_profile']['instagram']['access_token']);?>"/>
|
164 |
-
<div class="apsc-option-note"><?php _e('Please enter the instagram Access Token.You can get this information from <a href="http://
|
165 |
</div>
|
166 |
</div>
|
167 |
</div>
|
161 |
<label><?php _e('Instagram Access Token', 'accesspress-social-counter'); ?></label>
|
162 |
<div class="apsc-option-field">
|
163 |
<input type="text" name="social_profile[instagram][access_token]" value="<?php echo esc_attr($apsc_settings['social_profile']['instagram']['access_token']);?>"/>
|
164 |
+
<div class="apsc-option-note"><?php _e('Please enter the instagram Access Token.You can get this information from <a href="http://instagram.pixelunion.net/" target="_blank">http://instagram.pixelunion.net/</a>', 'accesspress-social-counter'); ?></div>
|
165 |
</div>
|
166 |
</div>
|
167 |
</div>
|
inc/frontend/api.php
CHANGED
@@ -80,7 +80,7 @@ $count = 0;
|
|
80 |
if (false === $instagram_count) {
|
81 |
$access_token = $apsc_settings['social_profile']['instagram']['access_token'];
|
82 |
|
83 |
-
$api_url = 'https://api.instagram.com/v1/users/
|
84 |
$params = array(
|
85 |
'sslverify' => false,
|
86 |
'timeout' => 60
|
80 |
if (false === $instagram_count) {
|
81 |
$access_token = $apsc_settings['social_profile']['instagram']['access_token'];
|
82 |
|
83 |
+
$api_url = 'https://api.instagram.com/v1/users/self/?access_token=' . $access_token;
|
84 |
$params = array(
|
85 |
'sslverify' => false,
|
86 |
'timeout' => 60
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: social count, social counter, social counters, social media counters, soci
|
|
4 |
Donate link: http://accesspressthemes.com/donation/
|
5 |
Requires at least: 3.8
|
6 |
Tested up to: 4.5
|
7 |
-
Stable tag: 1.5.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -25,8 +25,8 @@ Just get it done in a few minutes!
|
|
25 |
`For more social media integration, more design options, floating sidebar
|
26 |
options,social sharing options, pinterest sharing options and more
|
27 |
features please upgrade to Premium version.`
|
28 |
-
|
29 |
|
|
|
30 |
|
31 |
= Free Features: =
|
32 |
|
@@ -125,6 +125,9 @@ Once you install the plugin , you can check some general documentation about how
|
|
125 |
5. Backend Cache Settings Section
|
126 |
|
127 |
== Changelog ==
|
|
|
|
|
|
|
128 |
= 1.5.6 =
|
129 |
* Updated about section
|
130 |
|
4 |
Donate link: http://accesspressthemes.com/donation/
|
5 |
Requires at least: 3.8
|
6 |
Tested up to: 4.5
|
7 |
+
Stable tag: 1.5.7
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
25 |
`For more social media integration, more design options, floating sidebar
|
26 |
options,social sharing options, pinterest sharing options and more
|
27 |
features please upgrade to Premium version.`
|
|
|
28 |
|
29 |
+
Note: If Instagram followers count is returning 0, it is due to change in the instagram API. Please get the new access token again from the plugin's settings.
|
30 |
|
31 |
= Free Features: =
|
32 |
|
125 |
5. Backend Cache Settings Section
|
126 |
|
127 |
== Changelog ==
|
128 |
+
= 1.5.7 =
|
129 |
+
* Fixed the instagram followers count issues.
|
130 |
+
|
131 |
= 1.5.6 =
|
132 |
* Updated about section
|
133 |
|