Version Description
- change widgets colors
Download this release
Release Info
Developer | osamaesh |
Plugin | Visitors Traffic Real Time Statistics |
Version | 6.2 |
Comparing to | |
See all releases |
Code changes from version 5.9 to 6.2
- Visitors-Traffic-Real-Time-Statistics.php +1 -1
- ahc_help.php +17 -0
- functions.php +21 -0
- overview.php +2 -2
- readme.txt +10 -2
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:
|
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: 6.2
|
8 |
Text Domain: visitors-traffic-real-time-statistics
|
9 |
Domain Path: /languages
|
10 |
*/
|
ahc_help.php
CHANGED
@@ -27,6 +27,23 @@
|
|
27 |
|
28 |
</div>
|
29 |
<div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
<p>
|
31 |
<h3>Frequently Asked Questions</h3>
|
32 |
</p>
|
27 |
|
28 |
</div>
|
29 |
<div>
|
30 |
+
|
31 |
+
<p>
|
32 |
+
<h3>You can use the following shortcodes:</h3>
|
33 |
+
<ul>
|
34 |
+
<li><b>[ahc_stats_widget]</b> adds a front-end widget to display the site statistics</li>
|
35 |
+
<li><b>[ahc_stats_widget title="" fontsize="16" fonttype="" display_today_visitors=true display_today_pageviwes=true display_total_visitors=true display_total_pageviwes=true ]</b>
|
36 |
+
<li><b>[ahc_today_visitors]</b> this will return today's visitors</li>
|
37 |
+
<li><b>[ahc_today_visits]</b> this will return today's visits</li>
|
38 |
+
<li><b>[ahc_total_visitors]</b> this will return total visitors</li>
|
39 |
+
<li><b>[ahc_total_visits]</b> this will return total visits</li>
|
40 |
+
|
41 |
+
<li><b>[ahc_yesterday_total_visitors]</b> this will return the yesterday's total visitors</li>
|
42 |
+
<li><b>[ahc_yesterday_total_visits]</b> this will return the yesterday's total visits</li>
|
43 |
+
</ul>
|
44 |
+
</p>
|
45 |
+
|
46 |
+
|
47 |
<p>
|
48 |
<h3>Frequently Asked Questions</h3>
|
49 |
</p>
|
functions.php
CHANGED
@@ -97,7 +97,28 @@ add_shortcode( 'ahc_total_visits', 'ahc_total_visits_func');
|
|
97 |
|
98 |
|
99 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
100 |
|
|
|
101 |
|
102 |
function vtrts_free_top_bar_enqueue_style()
|
103 |
{
|
97 |
|
98 |
|
99 |
}
|
100 |
+
|
101 |
+
|
102 |
+
add_shortcode( 'ahc_yesterday_total_visits', 'ahc_yesterday_total_visits_func');
|
103 |
+
|
104 |
+
function ahc_yesterday_total_visits_func()
|
105 |
+
{
|
106 |
+
|
107 |
+
$ahc_sum_stats = ahcfree_get_visitors_visits_in_period('yesterday');
|
108 |
+
return ahcfree_NumFormat(intval($ahc_sum_stats['visits']));
|
109 |
+
|
110 |
+
|
111 |
+
}
|
112 |
+
add_shortcode( 'ahc_yesterday_total_visitors', 'ahc_yesterday_total_visitors_func');
|
113 |
+
|
114 |
+
function ahc_yesterday_total_visitors_func()
|
115 |
+
{
|
116 |
+
|
117 |
+
$ahc_sum_stats = ahcfree_get_visitors_visits_in_period('yesterday');
|
118 |
+
return ahcfree_NumFormat(intval($ahc_sum_stats['visitors']));
|
119 |
+
|
120 |
|
121 |
+
}
|
122 |
|
123 |
function vtrts_free_top_bar_enqueue_style()
|
124 |
{
|
overview.php
CHANGED
@@ -133,12 +133,12 @@ $mystart_date = $mystart_date->format('Y-m-d');
|
|
133 |
</div>
|
134 |
</div>
|
135 |
<div class="col-lg-3">
|
136 |
-
<div class="box_widget
|
137 |
<span id="today_visitors_box">0</span><br /><span class="txt">Today Visitors</span>
|
138 |
</div>
|
139 |
</div>
|
140 |
<div class="col-lg-3">
|
141 |
-
<div class="box_widget
|
142 |
<span id="today_visits_box">0</span><br /><span class="txt">Today Visits</span>
|
143 |
</div>
|
144 |
</div>
|
133 |
</div>
|
134 |
</div>
|
135 |
<div class="col-lg-3">
|
136 |
+
<div class="box_widget blueBox">
|
137 |
<span id="today_visitors_box">0</span><br /><span class="txt">Today Visitors</span>
|
138 |
</div>
|
139 |
</div>
|
140 |
<div class="col-lg-3">
|
141 |
+
<div class="box_widget redBox">
|
142 |
<span id="today_visits_box">0</span><br /><span class="txt">Today Visits</span>
|
143 |
</div>
|
144 |
</div>
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
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:
|
6 |
-
Stable tag:
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -125,6 +125,8 @@ You can use one of the following shortcodes:
|
|
125 |
* **[ahc_total_visitors]** this will return total visitors
|
126 |
* **[ahc_total_visits]** this will return total visits
|
127 |
|
|
|
|
|
128 |
|
129 |
= GDPR Compliant? =
|
130 |
All the data is saved locally in your WordPress, it’s not necessary to create a data processing contract with an external company!
|
@@ -176,6 +178,12 @@ This plugin supports IPv6; however, PHP must be compiled with IPv6 support enabl
|
|
176 |
|
177 |
== Changelog ==
|
178 |
|
|
|
|
|
|
|
|
|
|
|
|
|
179 |
|
180 |
= 5.9 =
|
181 |
1. Bug fixing (sweetalert conflict)
|
2 |
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: 6.0
|
6 |
+
Stable tag: 6.2
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
125 |
* **[ahc_total_visitors]** this will return total visitors
|
126 |
* **[ahc_total_visits]** this will return total visits
|
127 |
|
128 |
+
* **[ahc_yesterday_total_visitors]** this will return the yesterday's total visitors
|
129 |
+
* **[ahc_yesterday_total_visits]** this will return the yesterday's total visits
|
130 |
|
131 |
= GDPR Compliant? =
|
132 |
All the data is saved locally in your WordPress, it’s not necessary to create a data processing contract with an external company!
|
178 |
|
179 |
== Changelog ==
|
180 |
|
181 |
+
= 6.2 =
|
182 |
+
1. change widgets colors
|
183 |
+
|
184 |
+
|
185 |
+
= 6.1 =
|
186 |
+
1. Bug fixing in traffic by IP report
|
187 |
|
188 |
= 5.9 =
|
189 |
1. Bug fixing (sweetalert conflict)
|