Version Description
- Fixed small bug regarding youtube count
Download this release
Release Info
Developer | Access Keys |
Plugin | Social Counter for WordPress – AccessPress Social Counter |
Version | 1.3.3 |
Comparing to | |
See all releases |
Code changes from version 1.3.2 to 1.3.3
- accesspress-social-counter.php +2 -2
- inc/frontend/shortcode.php +1 -1
- readme.txt +4 -1
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.3.
|
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.3.
|
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.3.3
|
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.3.3');
|
28 |
}
|
29 |
/**
|
30 |
* Register of widgets
|
inc/frontend/shortcode.php
CHANGED
@@ -130,7 +130,7 @@ $format = isset($apsc_settings['counter_format'])?$apsc_settings['counter_format
|
|
130 |
<a class="apsc-youtube-icon clearfix" href="<?php echo $social_profile_url; ?>" target="_blank"><div class="apsc-inner-block"><span class="social-icon"><i class="apsc-youtube fa fa-youtube"></i><span class="media-name">Youtube</span></span>
|
131 |
<?php
|
132 |
$youtube_count = $apsc_settings['social_profile']['youtube']['subscribers_count'];
|
133 |
-
$count = ($
|
134 |
?><span class="apsc-count"><?php echo $count; ?></span><span class="apsc-media-type">Subscriber</span></div></a><?php
|
135 |
break;
|
136 |
case 'soundcloud':
|
130 |
<a class="apsc-youtube-icon clearfix" href="<?php echo $social_profile_url; ?>" target="_blank"><div class="apsc-inner-block"><span class="social-icon"><i class="apsc-youtube fa fa-youtube"></i><span class="media-name">Youtube</span></span>
|
131 |
<?php
|
132 |
$youtube_count = $apsc_settings['social_profile']['youtube']['subscribers_count'];
|
133 |
+
$count = ($youtube_count!='')?$this->get_formatted_count($youtube_count,$format):0;
|
134 |
?><span class="apsc-count"><?php echo $count; ?></span><span class="apsc-media-type">Subscriber</span></div></a><?php
|
135 |
break;
|
136 |
case 'soundcloud':
|
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.2
|
7 |
-
Stable tag: 1.3.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -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.3.2 =
|
129 |
* Updated youtube note for subscribers count
|
130 |
|
4 |
Donate link: http://accesspressthemes.com/donation/
|
5 |
Requires at least: 3.8
|
6 |
Tested up to: 4.2
|
7 |
+
Stable tag: 1.3.3
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
125 |
5. Backend Cache Settings Section
|
126 |
|
127 |
== Changelog ==
|
128 |
+
= 1.3.3 =
|
129 |
+
* Fixed small bug regarding youtube count
|
130 |
+
|
131 |
= 1.3.2 =
|
132 |
* Updated youtube note for subscribers count
|
133 |
|