Version Description
- Bug fixes in widget
Download this release
Release Info
Developer | osamaesh |
Plugin | Visitors Traffic Real Time Statistics |
Version | 3.15 |
Comparing to | |
See all releases |
Code changes from version 3.14 to 3.15
- Visitors-Traffic-Real-Time-Statistics.php +1 -1
- functions.php +10 -10
- readme.txt +6 -1
Visitors-Traffic-Real-Time-Statistics.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Visitor Traffic Real Time Statistics
|
|
4 |
Description: Hits counter that shows analytical numbers of your WordPress site visitors and hits.
|
5 |
Author: wp-buy
|
6 |
Author URI: https://www.wp-buy.com/
|
7 |
-
Version: 3.
|
8 |
Text Domain: visitors-traffic-real-time-statistics
|
9 |
Domain Path: /languages
|
10 |
*/
|
4 |
Description: Hits counter that shows analytical numbers of your WordPress site visitors and hits.
|
5 |
Author: wp-buy
|
6 |
Author URI: https://www.wp-buy.com/
|
7 |
+
Version: 3.15
|
8 |
Text Domain: visitors-traffic-real-time-statistics
|
9 |
Domain Path: /languages
|
10 |
*/
|
functions.php
CHANGED
@@ -3442,24 +3442,24 @@ class ahcfree_vtrts_widget extends WP_Widget {
|
|
3442 |
|
3443 |
$ahc_sum_stats = ahcfree_get_summary_statistics();
|
3444 |
|
3445 |
-
if(is_array($instance)
|
3446 |
{
|
3447 |
// This is where you run the code and display the output
|
3448 |
echo '<ul style="list-style:none; ' . $instance['fontTypeCombo'] . '; font-size:' . $instance['fontSizeCombo'] . 'px">';
|
3449 |
|
3450 |
-
if ($instance['display_visitorstoday'] == 1 or $instance['display_visitorstoday'] == '1') {
|
3451 |
-
echo '<li><b
|
3452 |
}
|
3453 |
-
if ($instance['display_pageviewtoday'] == 1 or $instance['display_pageviewtoday'] == '1') {
|
3454 |
-
echo '<li><b
|
3455 |
}
|
3456 |
|
3457 |
-
if ($instance['display_totalvisitors'] == 1 or $instance['display_totalvisitors'] == '1') {
|
3458 |
-
echo '<li><b
|
3459 |
}
|
3460 |
|
3461 |
-
if ($instance['display_totalpageview'] == 1 or $instance['display_totalpageview'] == '1') {
|
3462 |
-
echo '<li><b
|
3463 |
}
|
3464 |
|
3465 |
|
@@ -3532,7 +3532,7 @@ class ahcfree_vtrts_widget extends WP_Widget {
|
|
3532 |
<select class="widefat" id="<?php echo $this->get_field_id('fontSizeCombo'); ?>" name="<?php echo $this->get_field_name('fontSizeCombo'); ?>">
|
3533 |
<?php
|
3534 |
for ($fs = 8; $fs <= 22; $fs++) {
|
3535 |
-
$fontSizeCombo = (isset($fontSizeCombo)) ? $fontSizeCombo : '';
|
3536 |
?>
|
3537 |
<option value="<?php echo $fs ?>" <?php selected($fontSizeCombo, $fs); ?>><?php echo $fs; ?>px</option>
|
3538 |
<?php } ?>
|
3442 |
|
3443 |
$ahc_sum_stats = ahcfree_get_summary_statistics();
|
3444 |
|
3445 |
+
if(is_array($instance) )
|
3446 |
{
|
3447 |
// This is where you run the code and display the output
|
3448 |
echo '<ul style="list-style:none; ' . $instance['fontTypeCombo'] . '; font-size:' . $instance['fontSizeCombo'] . 'px">';
|
3449 |
|
3450 |
+
if (isset($instance['display_visitorstoday']) && ($instance['display_visitorstoday'] == 1 or $instance['display_visitorstoday'] == '1')) {
|
3451 |
+
echo '<li><b>Visitors today : </b><span>' . ahcfree_NumFormat($ahc_sum_stats['today']['visitors']) . '</span></li>';
|
3452 |
}
|
3453 |
+
if (isset($instance['display_pageviewtoday']) && ($instance['display_pageviewtoday'] == 1 or $instance['display_pageviewtoday'] == '1')) {
|
3454 |
+
echo '<li><b>Page views today : </b><span>' . ahcfree_NumFormat($ahc_sum_stats['today']['visits']) . '</span></li>';
|
3455 |
}
|
3456 |
|
3457 |
+
if (isset($instance['display_totalvisitors']) && ($instance['display_totalvisitors'] == 1 or $instance['display_totalvisitors'] == '1')) {
|
3458 |
+
echo '<li><b>Total visitors : </b><span>' . ahcfree_NumFormat($ahc_sum_stats['total']['visitors']) . '</span></li>';
|
3459 |
}
|
3460 |
|
3461 |
+
if (isset($instance['display_totalpageview']) && ($instance['display_totalpageview'] == 1 or $instance['display_totalpageview'] == '1')) {
|
3462 |
+
echo '<li><b>Total page view: </b><span>' . ahcfree_NumFormat($ahc_sum_stats['total']['visits']) . '</span></li>';
|
3463 |
}
|
3464 |
|
3465 |
|
3532 |
<select class="widefat" id="<?php echo $this->get_field_id('fontSizeCombo'); ?>" name="<?php echo $this->get_field_name('fontSizeCombo'); ?>">
|
3533 |
<?php
|
3534 |
for ($fs = 8; $fs <= 22; $fs++) {
|
3535 |
+
$fontSizeCombo = (isset($fontSizeCombo)) ? $fontSizeCombo : '12';
|
3536 |
?>
|
3537 |
<option value="<?php echo $fs ?>" <?php selected($fontSizeCombo, $fs); ?>><?php echo $fs; ?>px</option>
|
3538 |
<?php } ?>
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: wp-buy, osamaesh
|
|
3 |
Tags: visitor, traffic, statistics, analytics, stats, online, Visit, WordPress analytics ,visitors online, count visitor, google analytics, analytics, GeoIP, Geo locations, analytics dashboard, visits, chart, browser, blog, today, yesterday, week, month, wp Statistics, year, post, page, sidebar, summary, feedburner, hits, pagerank, google, histats, alexa, live visit, counter, diagram, graph
|
4 |
Requires at least: 3.0.1
|
5 |
Tested up to: 5.8
|
6 |
-
Stable tag: 3.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -150,6 +150,11 @@ This plugin supports IPv6; however, PHP must be compiled with IPv6 support enabl
|
|
150 |
|
151 |
== Changelog ==
|
152 |
|
|
|
|
|
|
|
|
|
|
|
153 |
= 3.14 =
|
154 |
1. Bug fixes - PHP warning message - fixing another issue
|
155 |
|
3 |
Tags: visitor, traffic, statistics, analytics, stats, online, Visit, WordPress analytics ,visitors online, count visitor, google analytics, analytics, GeoIP, Geo locations, analytics dashboard, visits, chart, browser, blog, today, yesterday, week, month, wp Statistics, year, post, page, sidebar, summary, feedburner, hits, pagerank, google, histats, alexa, live visit, counter, diagram, graph
|
4 |
Requires at least: 3.0.1
|
5 |
Tested up to: 5.8
|
6 |
+
Stable tag: 3.15
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
150 |
|
151 |
== Changelog ==
|
152 |
|
153 |
+
= 3.15 =
|
154 |
+
1. Bug fixes in widget
|
155 |
+
|
156 |
+
|
157 |
+
|
158 |
= 3.14 =
|
159 |
1. Bug fixes - PHP warning message - fixing another issue
|
160 |
|