Hello,
How Can I query the most viewed posts, with a specific tag, by a specific year, lets say 2021?
I dont want the most viewed posts that have been published in 2021, but the most viewed posts from year 2021 with any published date.
I can see in the database that every post has a view count for every year. How can I query that?
Can I do this with pvc_get_views()?
Could you give me an example pvc_get_views() query?
If this cannot be done with pvc_get_views(), then could you very roughly describe how the mysql query should look like to sort posts of a specific tag by post views of a specific year?
I hope I am not asking for too much.
thx