Hey Steven.
Let me explain what I did, maybe then you can realize what’s the problem…
First I cloned the JPV_display_top_posts() function with my own prefix to show the most viewed posts in a page template with my custom HTML format. This is working as intended because it’s showing views from stats_get_csv().
On the other side, I have a last posts list hardcoded on my home page, showing views from custom field jetpack-post-views-Year
because jetpack-post-views
is returning empty or 0 values, and also not updating when entering a post.
Enabled de debug mode on the plugin to see what happens on updates, and all custom fields (-Year, -Month, etc) where populated/updated for posts unless jetpack-post-views
(unlimited).
Can you please provide some help? I can give you more data or access to the site if you need it… ??
PS: marcbkk, can you open a new thread for your question please? Has nothing to do with mine. Thanks.