I have searched how to add a filter by post most views or by date, but I couldn't find how to do this. I have recently installed the plugin Post Views Counter, but I am not sure how I can implement the post view counts as a filter. How can I add a filter for post views and also for date?
Welcome to our forum.
This is only possible of “Post Views Counter” plugin saved post view count under post meta, so you can run post query based on meta query. Meta query feature only available in pro version, but you can also do this by adding custom filter hook for query arguments, although i can help you. please make sure is that post view count saved under post meta or not, please consult with that plugin developer.