Version Description
- Bug fix ralated to Facebook link
Download this release
Release Info
Developer | Access Keys |
Plugin | Social Counter for WordPress – AccessPress Social Counter |
Version | 1.8.1 |
Comparing to | |
See all releases |
Code changes from version 1.8.0 to 1.8.1
accesspress-social-counter.php
CHANGED
@@ -6,7 +6,7 @@ defined( 'ABSPATH' ) or die( "No script kiddies please!" );
|
|
6 |
* Plugin Name: AccessPress Social Counter
|
7 |
* Plugin URI: https://accesspressthemes.com/wordpress-plugins/accesspress-social-counter/
|
8 |
* Description: A plugin to display your social accounts fans, subscribers and followers number on your website with handful of backend settings and interface.
|
9 |
-
* Version: 1.8.
|
10 |
* Author: AccessPress Themes
|
11 |
* Author URI: http://accesspressthemes.com
|
12 |
* Text Domain: aps-counter
|
@@ -29,7 +29,7 @@ if ( ! defined( 'SC_CSS_DIR' ) ) {
|
|
29 |
define( 'SC_CSS_DIR', plugin_dir_url( __FILE__ ) . 'css' );
|
30 |
}
|
31 |
if ( ! defined( 'SC_VERSION' ) ) {
|
32 |
-
define( 'SC_VERSION', '1.8.
|
33 |
}
|
34 |
if ( ! defined( 'SC_PATH' ) ) {
|
35 |
define( 'SC_PATH', plugin_dir_path( __FILE__ ) );
|
6 |
* Plugin Name: AccessPress Social Counter
|
7 |
* Plugin URI: https://accesspressthemes.com/wordpress-plugins/accesspress-social-counter/
|
8 |
* Description: A plugin to display your social accounts fans, subscribers and followers number on your website with handful of backend settings and interface.
|
9 |
+
* Version: 1.8.1
|
10 |
* Author: AccessPress Themes
|
11 |
* Author URI: http://accesspressthemes.com
|
12 |
* Text Domain: aps-counter
|
29 |
define( 'SC_CSS_DIR', plugin_dir_url( __FILE__ ) . 'css' );
|
30 |
}
|
31 |
if ( ! defined( 'SC_VERSION' ) ) {
|
32 |
+
define( 'SC_VERSION', '1.8.1' );
|
33 |
}
|
34 |
if ( ! defined( 'SC_PATH' ) ) {
|
35 |
define( 'SC_PATH', plugin_dir_path( __FILE__ ) );
|
inc/frontend/social_network/div/facebook.php
CHANGED
@@ -1,9 +1,14 @@
|
|
1 |
<?php
|
2 |
defined( 'ABSPATH' ) or die( "No script kiddies please!" );
|
3 |
|
4 |
-
$
|
5 |
-
|
|
|
|
|
|
|
|
|
6 |
|
|
|
7 |
<a class="apsc-facebook-icon clearfix" href="<?php echo "https://facebook.com/" . $facebook_page_id; ?>" target="_blank" <?php do_action( 'apsc_facebook_link' ); ?>>
|
8 |
<div class="apsc-inner-block">
|
9 |
<span class="social-icon"><i class="fa fa-facebook apsc-facebook"></i><span class="media-name">Facebook</span></span>
|
1 |
<?php
|
2 |
defined( 'ABSPATH' ) or die( "No script kiddies please!" );
|
3 |
|
4 |
+
$facebook_method = ( isset( $apsc_settings[ 'social_profile' ][ 'facebook' ][ 'method' ] ) && $apsc_settings[ 'social_profile' ][ 'facebook' ][ 'method' ] != '' ) ? esc_attr( $apsc_settings[ 'social_profile' ][ 'facebook' ][ 'method' ] ) : '2';
|
5 |
+
if ( $facebook_method == '1' ) {
|
6 |
+
$facebook_page_id = isset($apsc_settings[ 'social_profile' ][ 'facebook' ][ 'page_id' ]) && $apsc_settings[ 'social_profile' ][ 'facebook' ][ 'page_id' ] != '' ? $apsc_settings[ 'social_profile' ][ 'facebook' ][ 'page_id' ] : '';
|
7 |
+
} else {
|
8 |
+
$facebook_page_id = isset($apsc_settings[ 'social_profile' ][ 'facebook' ][ 'fb_page_id' ]) && $apsc_settings[ 'social_profile' ][ 'facebook' ][ 'fb_page_id' ] != '' ? $apsc_settings[ 'social_profile' ][ 'facebook' ][ 'fb_page_id' ] : '';
|
9 |
+
}
|
10 |
|
11 |
+
?>
|
12 |
<a class="apsc-facebook-icon clearfix" href="<?php echo "https://facebook.com/" . $facebook_page_id; ?>" target="_blank" <?php do_action( 'apsc_facebook_link' ); ?>>
|
13 |
<div class="apsc-inner-block">
|
14 |
<span class="social-icon"><i class="fa fa-facebook apsc-facebook"></i><span class="media-name">Facebook</span></span>
|
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: 4.5
|
6 |
Tested up to: 5.2.1
|
7 |
-
Stable tag: 1.8.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -148,6 +148,8 @@ Once you install the plugin , you can check some general documentation about how
|
|
148 |
5. Backend Cache Settings Section
|
149 |
|
150 |
== Changelog ==
|
|
|
|
|
151 |
|
152 |
= 1.8.0 =
|
153 |
* Bug fix ralated to instagram count
|
4 |
Donate link: http://accesspressthemes.com/donation/
|
5 |
Requires at least: 4.5
|
6 |
Tested up to: 5.2.1
|
7 |
+
Stable tag: 1.8.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
148 |
5. Backend Cache Settings Section
|
149 |
|
150 |
== Changelog ==
|
151 |
+
= 1.8.1 =
|
152 |
+
* Bug fix ralated to Facebook link
|
153 |
|
154 |
= 1.8.0 =
|
155 |
* Bug fix ralated to instagram count
|