Display query post based on two orderby value in wordpress
I think it might be very easy for you to get the top 25 based on view count and then get a random selection of 4 from that list. Below is an easy to test query but you would want to replace with just your post_views_count query and remove any rand orderby. // get top … Read more