regenerate post_views_count_7_day_last_date

Posted in: Newspaper
Post count: 36

Since a few days ago I realized that the most views in the last 7 days no news corresponian with what he should, today I put to look at it and effectively.
After tinkering for the database I deleted the post_views_count_7_day_last_date field and ohhh now do not leave the news more view the last 7 days, only leave those of those later news operations in the database How I can regenerate the post_views_count_7_day_last_date field for all news?

Post count: 6535

Hi

You can use add_post_meta and update_post_meta to recreate that filed, for more details please check these links: https://codex.wordpress.org/Function_Reference/add_post_metahttps://codex.wordpress.org/Function_Reference/update_post_meta
Note that this is a complex task wich requires some customizations in order to be achieved. We can’t offer custom services at the moment so if you still need guidance on this or you’re not aware of the steps you need to take in this regard please consider hiring a developer or a freelancer to do this for you.

Thanks!

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.