Hi, i’m trying to use a “Custom Query String” to show up the posts by the most viewed..
I ended up with this line but it doesn’t work..
$query = new WP_Query( array ( ‘post_type’ => ‘most_popular’, ‘sortby’ => ‘get_most_viewed’, ‘orderby’ => ‘meta_value_num’, ‘order’ => ‘ASC’ ) );
..any suggestions?