Version Description
- Done some fixes for mobile version
Download this release
Release Info
Developer | Access Keys |
Plugin | Social Counter for WordPress – AccessPress Social Counter |
Version | 1.0.1 |
Comparing to | |
See all releases |
Code changes from version 1.0.0 to 1.0.1
- accesspress-social-counter.php +2 -2
- css/frontend.css +35 -1
- images/Thumbs.db +0 -0
- inc/backend/boards/display-settings.php +14 -14
- inc/frontend/shortcode.php +1 -1
- readme.txt +4 -3
accesspress-social-counter.php
CHANGED
@@ -5,7 +5,7 @@ defined('ABSPATH') or die("No script kiddies please!");
|
|
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 +26,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
|
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.1
|
9 |
* Author: AccessPress Themes
|
10 |
* Author URI: http://accesspressthemes.com
|
11 |
* Text Domain: aps-counter
|
26 |
define('SC_CSS_DIR', plugin_dir_url(__FILE__) . 'css');
|
27 |
}
|
28 |
if (!defined('SC_VERSION')) {
|
29 |
+
define('SC_VERSION', '1.0.1');
|
30 |
}
|
31 |
/**
|
32 |
* Register of widgets
|
css/frontend.css
CHANGED
@@ -62,6 +62,11 @@
|
|
62 |
border:none;
|
63 |
}
|
64 |
|
|
|
|
|
|
|
|
|
|
|
65 |
.social-icon {
|
66 |
display: block;
|
67 |
}
|
@@ -92,7 +97,9 @@
|
|
92 |
position: absolute;
|
93 |
top: 100%;
|
94 |
transition-duration: 0.3s;
|
|
|
95 |
transition-property: transform, opacity;
|
|
|
96 |
width: 90%;
|
97 |
z-index: -1;
|
98 |
}
|
@@ -100,11 +107,14 @@
|
|
100 |
.apsc-theme-1 .apsc-each-profile a:hover:before {
|
101 |
opacity: 1;
|
102 |
transform: translateY(6px);
|
|
|
|
|
103 |
}
|
104 |
|
105 |
.apsc-theme-1 .apsc-each-profile a:hover {
|
106 |
transform: translateY(-6px);
|
107 |
-
|
|
|
108 |
}
|
109 |
|
110 |
.apsc-theme-1 .social-icon .fa {
|
@@ -170,6 +180,7 @@
|
|
170 |
|
171 |
transform: translateZ(0px);
|
172 |
-webkit-transform:translateZ(0px);
|
|
|
173 |
|
174 |
-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=2, Direction=135, Color=#b3b3b3)";/*IE 8*/
|
175 |
-moz-box-shadow: 1px 1px 2px #b3b3b3;/*FF 3.5+*/
|
@@ -200,6 +211,7 @@
|
|
200 |
.apsc-theme-2 .apsc-each-profile a:hover{
|
201 |
transform: scale(1.1) rotate(5deg);
|
202 |
-webkit-transform:scale(1.1) rotate(5deg);
|
|
|
203 |
}
|
204 |
|
205 |
.apsc-theme-2 .apsc-count {
|
@@ -442,6 +454,7 @@
|
|
442 |
.apsc-theme-4 .apsc-each-profile a .fa{
|
443 |
transform: translateZ(0px);
|
444 |
-webkit-transform: translateZ(0px);
|
|
|
445 |
|
446 |
transition: all 0.5s ease-in-out;
|
447 |
-webkit-transition:all 0.5s ease-in-out;
|
@@ -454,6 +467,7 @@
|
|
454 |
.apsc-theme-4 .apsc-each-profile a:hover .fa{
|
455 |
transform: scale(1.3) translateZ(0px);
|
456 |
-webkit-transform:scale(1.3) translateZ(0px);
|
|
|
457 |
}
|
458 |
|
459 |
.apsc-theme-4 .social-icon .fa {
|
@@ -506,6 +520,7 @@
|
|
506 |
border-radius: 5px;
|
507 |
transform: translateZ(0px);
|
508 |
-webkit-transform: translateZ(0px);
|
|
|
509 |
|
510 |
-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=2, Direction=135, Color=#b3b3b3)";/*IE 8*/
|
511 |
-moz-box-shadow: 1px 1px 2px #b3b3b3;/*FF 3.5+*/
|
@@ -555,4 +570,23 @@
|
|
555 |
.apsc-theme-5 .apsc-each-profile a:hover {
|
556 |
box-shadow: 0 10px 10px -10px rgba(0, 0, 0, 0.5);
|
557 |
transform: scale(0.8);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
558 |
}
|
62 |
border:none;
|
63 |
}
|
64 |
|
65 |
+
.site-footer .widget .apsc-each-profile a{
|
66 |
+
color: #fff;
|
67 |
+
text-decoration:none;
|
68 |
+
}
|
69 |
+
|
70 |
.social-icon {
|
71 |
display: block;
|
72 |
}
|
97 |
position: absolute;
|
98 |
top: 100%;
|
99 |
transition-duration: 0.3s;
|
100 |
+
-webkit-transition-duration: 0.3s;
|
101 |
transition-property: transform, opacity;
|
102 |
+
-webkit-transition-property: transform, opacity;
|
103 |
width: 90%;
|
104 |
z-index: -1;
|
105 |
}
|
107 |
.apsc-theme-1 .apsc-each-profile a:hover:before {
|
108 |
opacity: 1;
|
109 |
transform: translateY(6px);
|
110 |
+
-webkit-transform: translateY(6px);
|
111 |
+
-ms-transform: translateY(6px);
|
112 |
}
|
113 |
|
114 |
.apsc-theme-1 .apsc-each-profile a:hover {
|
115 |
transform: translateY(-6px);
|
116 |
+
-webkit-transform: translateY(-6px);
|
117 |
+
-ms-transform: translateY(-6px);
|
118 |
}
|
119 |
|
120 |
.apsc-theme-1 .social-icon .fa {
|
180 |
|
181 |
transform: translateZ(0px);
|
182 |
-webkit-transform:translateZ(0px);
|
183 |
+
-ms-transform: translateZ(0px);
|
184 |
|
185 |
-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=2, Direction=135, Color=#b3b3b3)";/*IE 8*/
|
186 |
-moz-box-shadow: 1px 1px 2px #b3b3b3;/*FF 3.5+*/
|
211 |
.apsc-theme-2 .apsc-each-profile a:hover{
|
212 |
transform: scale(1.1) rotate(5deg);
|
213 |
-webkit-transform:scale(1.1) rotate(5deg);
|
214 |
+
-ms-transform: scale(1.1) rotate(5deg);
|
215 |
}
|
216 |
|
217 |
.apsc-theme-2 .apsc-count {
|
454 |
.apsc-theme-4 .apsc-each-profile a .fa{
|
455 |
transform: translateZ(0px);
|
456 |
-webkit-transform: translateZ(0px);
|
457 |
+
-ms-transform: translateZ(0px);
|
458 |
|
459 |
transition: all 0.5s ease-in-out;
|
460 |
-webkit-transition:all 0.5s ease-in-out;
|
467 |
.apsc-theme-4 .apsc-each-profile a:hover .fa{
|
468 |
transform: scale(1.3) translateZ(0px);
|
469 |
-webkit-transform:scale(1.3) translateZ(0px);
|
470 |
+
-ms-transform: scale(1.3) translateZ(0px);
|
471 |
}
|
472 |
|
473 |
.apsc-theme-4 .social-icon .fa {
|
520 |
border-radius: 5px;
|
521 |
transform: translateZ(0px);
|
522 |
-webkit-transform: translateZ(0px);
|
523 |
+
-ms-transform: translateZ(0px);
|
524 |
|
525 |
-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=2, Direction=135, Color=#b3b3b3)";/*IE 8*/
|
526 |
-moz-box-shadow: 1px 1px 2px #b3b3b3;/*FF 3.5+*/
|
570 |
.apsc-theme-5 .apsc-each-profile a:hover {
|
571 |
box-shadow: 0 10px 10px -10px rgba(0, 0, 0, 0.5);
|
572 |
transform: scale(0.8);
|
573 |
+
-webkit-transform: scale(0.8);
|
574 |
+
-ms-transform: scale(0.8);
|
575 |
+
}
|
576 |
+
|
577 |
+
|
578 |
+
/************************************************responsive*************************************************************/
|
579 |
+
|
580 |
+
|
581 |
+
@media screen and (max-width:479px){
|
582 |
+
|
583 |
+
.apsc-theme-4 .apsc-each-profile a,.apsc-theme-3 .apsc-each-profile a {
|
584 |
+
display: inline-block;
|
585 |
+
}
|
586 |
+
|
587 |
+
|
588 |
+
.apsc-theme-4 .apsc-each-profile ,.apsc-theme-3 .apsc-each-profile{
|
589 |
+
float: none;
|
590 |
+
}
|
591 |
+
|
592 |
}
|
images/Thumbs.db
ADDED
Binary file
|
inc/backend/boards/display-settings.php
CHANGED
@@ -6,15 +6,15 @@
|
|
6 |
<ul class="apsc-sortable">
|
7 |
<?php
|
8 |
$social_profiles_ref = array('facebook' => 'Facebook',
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
//$social_profiles = array('facebook','twitter','googlePlus','instagram','soundcloud','dribbble','youtube','posts','comments');
|
19 |
$social_profiles = $apsc_settings['profile_order'];
|
20 |
foreach ($social_profiles as $social_profile) {
|
@@ -33,23 +33,23 @@
|
|
33 |
<div class="apsc-option-field">
|
34 |
<label>
|
35 |
<input type="radio" name="social_profile_theme" value="theme-1" <?php if($apsc_settings['social_profile_theme']=='theme-1'){?>checked="checked"<?php }?>/><?php _e('Theme 1', 'aps-counter'); ?>
|
36 |
-
<div class="apsc-theme-image"><img src="<?php echo SC_IMAGE_DIR.'/themes/theme-1.
|
37 |
</label>
|
38 |
<label>
|
39 |
<input type="radio" name="social_profile_theme" value="theme-2" <?php if($apsc_settings['social_profile_theme']=='theme-2'){?>checked="checked"<?php }?>/><?php _e('Theme 2', 'aps-counter'); ?>
|
40 |
-
<div class="apsc-theme-image"><img src="<?php echo SC_IMAGE_DIR.'/themes/theme-2.
|
41 |
</label>
|
42 |
<label>
|
43 |
<input type="radio" name="social_profile_theme" value="theme-3" <?php if($apsc_settings['social_profile_theme']=='theme-3'){?>checked="checked"<?php }?>/><?php _e('Theme 3', 'aps-counter'); ?>
|
44 |
-
<div class="apsc-theme-image"><img src="<?php echo SC_IMAGE_DIR.'/themes/theme-3.
|
45 |
</label>
|
46 |
<label>
|
47 |
<input type="radio" name="social_profile_theme" value="theme-4" <?php if($apsc_settings['social_profile_theme']=='theme-4'){?>checked="checked"<?php }?>/><?php _e('Theme 4', 'aps-counter'); ?>
|
48 |
-
<div class="apsc-theme-image"><img src="<?php echo SC_IMAGE_DIR.'/themes/theme-4.
|
49 |
</label>
|
50 |
<label>
|
51 |
<input type="radio" name="social_profile_theme" value="theme-5" <?php if($apsc_settings['social_profile_theme']=='theme-5'){?>checked="checked"<?php }?>/><?php _e('Theme 5', 'aps-counter'); ?>
|
52 |
-
<div class="apsc-theme-image"><img src="<?php echo SC_IMAGE_DIR.'/themes/theme-5.
|
53 |
</label>
|
54 |
</div>
|
55 |
</div>
|
6 |
<ul class="apsc-sortable">
|
7 |
<?php
|
8 |
$social_profiles_ref = array('facebook' => 'Facebook',
|
9 |
+
'twitter' => 'Twitter',
|
10 |
+
'googlePlus' => 'Google Plus',
|
11 |
+
'instagram' => 'Instagram',
|
12 |
+
'soundcloud' => 'SoundCloud',
|
13 |
+
'dribbble' => 'Dribbble',
|
14 |
+
'youtube' => 'Youtube',
|
15 |
+
'posts' => 'Posts',
|
16 |
+
'comments' => 'Comments',
|
17 |
+
);
|
18 |
//$social_profiles = array('facebook','twitter','googlePlus','instagram','soundcloud','dribbble','youtube','posts','comments');
|
19 |
$social_profiles = $apsc_settings['profile_order'];
|
20 |
foreach ($social_profiles as $social_profile) {
|
33 |
<div class="apsc-option-field">
|
34 |
<label>
|
35 |
<input type="radio" name="social_profile_theme" value="theme-1" <?php if($apsc_settings['social_profile_theme']=='theme-1'){?>checked="checked"<?php }?>/><?php _e('Theme 1', 'aps-counter'); ?>
|
36 |
+
<div class="apsc-theme-image"><img src="<?php echo SC_IMAGE_DIR.'/themes/theme-1.JPG';?>"/></div>
|
37 |
</label>
|
38 |
<label>
|
39 |
<input type="radio" name="social_profile_theme" value="theme-2" <?php if($apsc_settings['social_profile_theme']=='theme-2'){?>checked="checked"<?php }?>/><?php _e('Theme 2', 'aps-counter'); ?>
|
40 |
+
<div class="apsc-theme-image"><img src="<?php echo SC_IMAGE_DIR.'/themes/theme-2.JPG';?>"/></div>
|
41 |
</label>
|
42 |
<label>
|
43 |
<input type="radio" name="social_profile_theme" value="theme-3" <?php if($apsc_settings['social_profile_theme']=='theme-3'){?>checked="checked"<?php }?>/><?php _e('Theme 3', 'aps-counter'); ?>
|
44 |
+
<div class="apsc-theme-image"><img src="<?php echo SC_IMAGE_DIR.'/themes/theme-3.JPG';?>"/></div>
|
45 |
</label>
|
46 |
<label>
|
47 |
<input type="radio" name="social_profile_theme" value="theme-4" <?php if($apsc_settings['social_profile_theme']=='theme-4'){?>checked="checked"<?php }?>/><?php _e('Theme 4', 'aps-counter'); ?>
|
48 |
+
<div class="apsc-theme-image"><img src="<?php echo SC_IMAGE_DIR.'/themes/theme-4.JPG';?>"/></div>
|
49 |
</label>
|
50 |
<label>
|
51 |
<input type="radio" name="social_profile_theme" value="theme-5" <?php if($apsc_settings['social_profile_theme']=='theme-5'){?>checked="checked"<?php }?>/><?php _e('Theme 5', 'aps-counter'); ?>
|
52 |
+
<div class="apsc-theme-image"><img src="<?php echo SC_IMAGE_DIR.'/themes/theme-5.JPG';?>"/></div>
|
53 |
</label>
|
54 |
</div>
|
55 |
</div>
|
inc/frontend/shortcode.php
CHANGED
@@ -5,7 +5,7 @@ $apsc_settings = $this->apsc_settings;
|
|
5 |
$cache_period = ($apsc_settings['cache_period'] != '') ? $apsc_settings['cache_period']*60*60 : 24 * 60 * 60;
|
6 |
|
7 |
?>
|
8 |
-
<div class="apsc-icons-wrapper apsc-<?php echo $apsc_settings['social_profile_theme']; ?>" >
|
9 |
<?php
|
10 |
foreach ($apsc_settings['profile_order'] as $social_profile) {
|
11 |
if (isset($apsc_settings['social_profile'][$social_profile]['active']) && $apsc_settings['social_profile'][$social_profile]['active'] == 1) {
|
5 |
$cache_period = ($apsc_settings['cache_period'] != '') ? $apsc_settings['cache_period']*60*60 : 24 * 60 * 60;
|
6 |
|
7 |
?>
|
8 |
+
<div class="apsc-icons-wrapper clearfix apsc-<?php echo $apsc_settings['social_profile_theme']; ?>" >
|
9 |
<?php
|
10 |
foreach ($apsc_settings['profile_order'] as $social_profile) {
|
11 |
if (isset($apsc_settings['social_profile'][$social_profile]['active']) && $apsc_settings['social_profile'][$social_profile]['active'] == 1) {
|
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 |
|
@@ -93,11 +93,12 @@ Once you install the plugin , you can check some general documentation about how
|
|
93 |
5. Backend Cache Settings Section
|
94 |
|
95 |
== Changelog ==
|
96 |
-
|
|
|
97 |
|
98 |
= 1.0.0 =
|
99 |
* Plugin submitted to http://wordpress.org for review and approval
|
100 |
* Plugin approved in http://wordpress.org and comitted in plugin repository
|
101 |
|
102 |
== Upgrade Notice ==
|
103 |
-
There is an update available for the AccessPress
|
4 |
Donate link: http://accesspressthemes.com/donation/
|
5 |
Requires at least: 3.8
|
6 |
Tested up to: 4.1
|
7 |
+
Stable tag: 1.0.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
93 |
5. Backend Cache Settings Section
|
94 |
|
95 |
== Changelog ==
|
96 |
+
= 1.0.1 =
|
97 |
+
* Done some fixes for mobile version
|
98 |
|
99 |
= 1.0.0 =
|
100 |
* Plugin submitted to http://wordpress.org for review and approval
|
101 |
* Plugin approved in http://wordpress.org and comitted in plugin repository
|
102 |
|
103 |
== Upgrade Notice ==
|
104 |
+
There is an update available for the AccessPress Social Counter Plugin.Please update to recieve new updates and bug fixes.
|