Version Description
- Fixed the issue of opening the posts and comments links opening in new link for firefox and IE
Download this release
Release Info
Developer | Access Keys |
Plugin | Social Counter for WordPress – AccessPress Social Counter |
Version | 1.0.8 |
Comparing to | |
See all releases |
Code changes from version 1.0.7 to 1.0.8
- accesspress-social-counter.php +3 -5
- inc/backend/settings.php +1 -1
- inc/frontend/shortcode.php +2 -2
- readme.txt +4 -1
accesspress-social-counter.php
CHANGED
@@ -1,11 +1,9 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
defined('ABSPATH') or die("No script kiddies please!");
|
4 |
/**
|
5 |
* Plugin Name: AccessPress Social Counter
|
6 |
* Plugin URI: https://accesspressthemes.com/wordpress-plugins/accesspress-social-counter/
|
7 |
* Description: A plugin to display your social accounts fans, subscribers and followers number on your website with handful of backend settings and interface.
|
8 |
-
* Version: 1.0.
|
9 |
* Author: AccessPress Themes
|
10 |
* Author URI: http://accesspressthemes.com
|
11 |
* Text Domain: aps-counter
|
@@ -26,7 +24,7 @@ if (!defined('SC_CSS_DIR')) {
|
|
26 |
define('SC_CSS_DIR', plugin_dir_url(__FILE__) . 'css');
|
27 |
}
|
28 |
if (!defined('SC_VERSION')) {
|
29 |
-
define('SC_VERSION', '1.0.
|
30 |
}
|
31 |
/**
|
32 |
* Register of widgets
|
1 |
+
<?php defined('ABSPATH') or die("No script kiddies please!");
|
|
|
|
|
2 |
/**
|
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.0.8
|
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.0.8');
|
28 |
}
|
29 |
/**
|
30 |
* Register of widgets
|
inc/backend/settings.php
CHANGED
@@ -32,7 +32,7 @@ $apsc_settings = $this->apsc_settings;
|
|
32 |
</div>
|
33 |
</div>
|
34 |
|
35 |
-
<div class="apsc-title"><?php _e('AccessPress Social Counter', '
|
36 |
</div>
|
37 |
<?php if(isset($_SESSION['apsc_message'])){?><div class="apsc-success-message"><p><?php echo $_SESSION['apsc_message'];unset($_SESSION['apsc_message']);?></p></div><?php }?>
|
38 |
<div class="apsc-boards-wrapper">
|
32 |
</div>
|
33 |
</div>
|
34 |
|
35 |
+
<div class="apsc-title"><?php _e('AccessPress Social Counter', 'aps-counter'); ?></div>
|
36 |
</div>
|
37 |
<?php if(isset($_SESSION['apsc_message'])){?><div class="apsc-success-message"><p><?php echo $_SESSION['apsc_message'];unset($_SESSION['apsc_message']);?></p></div><?php }?>
|
38 |
<div class="apsc-boards-wrapper">
|
inc/frontend/shortcode.php
CHANGED
@@ -223,7 +223,7 @@ $format = isset($apsc_settings['counter_format'])?$apsc_settings['counter_format
|
|
223 |
break;
|
224 |
case 'posts':
|
225 |
?>
|
226 |
-
<a class="apsc-edit-icon clearfix" href="javascript:void(0);"
|
227 |
<?php
|
228 |
$posts_count = get_transient('apsc_posts');
|
229 |
if (false === $posts_count) {
|
@@ -238,7 +238,7 @@ $format = isset($apsc_settings['counter_format'])?$apsc_settings['counter_format
|
|
238 |
break;
|
239 |
case 'comments':
|
240 |
?>
|
241 |
-
<a class="apsc-comment-icon clearfix" href="javascript:void(0);"
|
242 |
<?php
|
243 |
$comments_count = get_transient('apsc_comments');
|
244 |
if (false === $comments_count) {
|
223 |
break;
|
224 |
case 'posts':
|
225 |
?>
|
226 |
+
<a class="apsc-edit-icon clearfix" href="javascript:void(0);"><div class="apsc-inner-block"><span class="social-icon"><i class="apsc-posts fa fa-edit"></i><span class="media-name">Post</span></span>
|
227 |
<?php
|
228 |
$posts_count = get_transient('apsc_posts');
|
229 |
if (false === $posts_count) {
|
238 |
break;
|
239 |
case 'comments':
|
240 |
?>
|
241 |
+
<a class="apsc-comment-icon clearfix" href="javascript:void(0);"><div class="apsc-inner-block"><span class="social-icon"><i class="apsc-comments fa fa-comments"></i><span class="media-name">Comment</span></span>
|
242 |
<?php
|
243 |
$comments_count = get_transient('apsc_comments');
|
244 |
if (false === $comments_count) {
|
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.1
|
7 |
-
Stable tag: 1.0.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -118,6 +118,9 @@ Once you install the plugin , you can check some general documentation about how
|
|
118 |
5. Backend Cache Settings Section
|
119 |
|
120 |
== Changelog ==
|
|
|
|
|
|
|
121 |
= 1.0.7 =
|
122 |
* Added Counter Format Option
|
123 |
|
4 |
Donate link: http://accesspressthemes.com/donation/
|
5 |
Requires at least: 3.8
|
6 |
Tested up to: 4.1
|
7 |
+
Stable tag: 1.0.8
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
118 |
5. Backend Cache Settings Section
|
119 |
|
120 |
== Changelog ==
|
121 |
+
= 1.0.8 =
|
122 |
+
* Fixed the issue of opening the posts and comments links opening in new link for firefox and IE
|
123 |
+
|
124 |
= 1.0.7 =
|
125 |
* Added Counter Format Option
|
126 |
|