wordpress popular posts query

Solutions on MaxInterview for wordpress popular posts query by the best coders in the world

showing results for - "wordpress popular posts query"
Isabel
11 Feb 2018
1$popularpost  = new WP_Query(array(
2    'posts_per_page' => 5,
3    'meta_key' => 'wpb_post_views_count',
4    'orderby' => 'meta_value_num',
5    'order' => 'DESC'
6));
7