Plugin Author
Ajay
(@ajay)
Hi, I’m confused. Shouldn’t the 7 day count be less than that of the total views if the total views are more than 7 days?
i have 3 tab 1 tab is today(danas), secund last 7 day( tjedan), 1 monath(mjesec) but if post made today and count on post page is biger then on list top 10 do you understend its difrent in total views and on post page count.
Plugin Author
Ajay
(@ajay)
Could you please provide me with screenshots with examples. I’ve looked at those tabs and I can’t figure out what might be the issue.
This is picture with problem. On left is home page with count of 30 visit per 1 week and after in post is 27.
This is not only post problem with diference of counting.
Plugin Author
Ajay
(@ajay)
That is indeed strange. I looked at the source code and both are definitely generated by Top 10.
Can you check your theme to see what function is used to pull: “Pregledano: 28”
What do you see in the backend i.e. in the Edit> posts page for this?
I integrate in singl.php this <?php echo_tptn_post_count(); ?> to have total views .
Plugin Author
Ajay
(@ajay)
Hi, please use:
<?php
echo_tptn_post_count( array(
daily => '1',
daily_range => '7'
) );
?>
Now its not big difrenc but 1 view look picture
Plugin Author
Ajay
(@ajay)
Are you noticing this on all posts? In theory the function should bring the same results as per the number of days?
It’s difficult for me to debug any further without access.