Version Description
- Added count="coma/short/default" parameter for count only shortcode
Download this release
Release Info
Developer | Access Keys |
Plugin | Social Counter for WordPress – AccessPress Social Counter |
Version | 1.3.4 |
Comparing to | |
See all releases |
Code changes from version 1.3.3 to 1.3.4
- accesspress-social-counter.php +5 -2
- inc/backend/boards/how-to-use.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
|
@@ -568,6 +568,9 @@ if (!class_exists('SC_Class')) {
|
|
568 |
function apsc_count_shortcode($atts){
|
569 |
if(isset($atts['social_media'])){
|
570 |
$count = $this->get_count($atts['social_media']);
|
|
|
|
|
|
|
571 |
return $count;
|
572 |
}
|
573 |
}
|
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.4
|
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.4');
|
28 |
}
|
29 |
/**
|
30 |
* Register of widgets
|
568 |
function apsc_count_shortcode($atts){
|
569 |
if(isset($atts['social_media'])){
|
570 |
$count = $this->get_count($atts['social_media']);
|
571 |
+
if(isset($atts['count_format']) && $count!=''){
|
572 |
+
$count = $this->get_formatted_count($count,$atts['count_format']);
|
573 |
+
}
|
574 |
return $count;
|
575 |
}
|
576 |
}
|
inc/backend/boards/how-to-use.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
<p>To display the social profiles with counter, you can either use [aps-counter] <strong>Shortcode</strong> or you can use <strong>AccessPress Social Counter Widget</strong> from Appearance's widget section.</p>
|
4 |
<p>For the complete documentation please visit:<br/> <a href="https://accesspressthemes.com/documentation/documentation-plugin-instruction-accesspress-social-counter/" target="_blank">https://accesspressthemes.com/documentation/documentation-plugin-instruction-accesspress-social-counter/</a></p>
|
5 |
<p>To get the individual count, please use below shortcode</p>
|
6 |
-
[aps-get-count social_media="facebook/twitter/googlePlus/instagram/youtube/soundcloud/dribbble/posts/comments"]
|
7 |
|
8 |
</div>
|
9 |
</div>
|
3 |
<p>To display the social profiles with counter, you can either use [aps-counter] <strong>Shortcode</strong> or you can use <strong>AccessPress Social Counter Widget</strong> from Appearance's widget section.</p>
|
4 |
<p>For the complete documentation please visit:<br/> <a href="https://accesspressthemes.com/documentation/documentation-plugin-instruction-accesspress-social-counter/" target="_blank">https://accesspressthemes.com/documentation/documentation-plugin-instruction-accesspress-social-counter/</a></p>
|
5 |
<p>To get the individual count, please use below shortcode</p>
|
6 |
+
[aps-get-count social_media="facebook/twitter/googlePlus/instagram/youtube/soundcloud/dribbble/posts/comments" count_format="default/comma/short"]
|
7 |
|
8 |
</div>
|
9 |
</div>
|
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.3 =
|
129 |
* Fixed small bug regarding youtube 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.4
|
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.4 =
|
129 |
+
* Added count="coma/short/default" parameter for count only shortcode
|
130 |
+
|
131 |
= 1.3.3 =
|
132 |
* Fixed small bug regarding youtube count
|
133 |
|