cip6791
Member
Posted 8 months ago #
I would like to add a total number of views on my homepage. I saw a few plugins but I don't want to start from zero since I've been using WPP for a while. Any way of doing this? Or maybe it can be added as an option in the future.
Thanks
http://wordpress.org/extend/plugins/wordpress-popular-posts/
Héctor Cabrera
Member
Plugin Author
Posted 8 months ago #
Hi there,
Unfortunately, the plugin is no longer tracking the views on homepage. The reason for this is that on large sites tracking this info causes a siginifcant load on the database due to the number of daily visits, so I decided not to record this data.
If you still want to give it a try, you can hack the plugin's code and change this line of code:
if ( (is_single() || is_page()) && !is_user_logged_in() && !is_front_page() )
... into this:
if ( (is_single() || is_page()) && !is_user_logged_in() && is_home() )
cip6791
Member
Posted 8 months ago #