-
1, 'category_name' => 'music' ); $query = new WP_Query( $args ); if ( $query->have_posts() ) { while ( $query->have_posts() ) { $query->the_post(); ?>

POPULAR STORIES

'post', 'category_name' => 'entertainment-news', 'posts_per_page' => 4, 'meta_key' => 'post_views_count', 'orderby' => 'meta_value_num', 'order' => 'DESC' ); $posts = new WP_Query($args); $counter = 1; if($posts->have_posts()): while($posts->have_posts()): $posts->the_post(); ?>

LATEST UPDATES

'post', 'posts_per_page' => 20, 'order' => 'DESC', 'orderby' => 'date' ); $query = new WP_Query( $args ); if ( $query->have_posts() ) { while ( $query->have_posts() ) { $query->the_post(); $category = get_the_category(); ?>
ADVERTISEMENT CODE GOES HERE
ANOTHER ADVERTISMENT CODE GOES HERE

TRENDING THIS WEEK

'post', 'posts_per_page' => 5, 'meta_key' => 'post_views_count', 'orderby' => 'meta_value_num', 'order' => 'DESC' ); $query = new WP_Query($args); if ($query->have_posts()) : $post_number = 1; while ($query->have_posts()) : $query->the_post(); ?>

POPULAR THIS MONTH

'post', 'monthnum' => date('m'), 'year' => date('Y'), 'posts_per_page' => 7, 'meta_key' => 'post_views_count', 'orderby' => 'meta_value_num', 'order' => 'ASC' ); $query = new WP_Query( $args ); if ( $query->have_posts() ) { $count = 1; while ( $query->have_posts() ) { $query->the_post(); ?>
ADVERTISEMENT GOES HERE
'post', 'monthnum' => date('m'), 'year' => date('Y'), 'posts_per_page' => 7, 'meta_key' => 'post_views_count', 'orderby' => 'meta_value_num', 'order' => 'DESC' ); $query = new WP_Query( $args ); if ( $query->have_posts() ) { $count = 1; while ( $query->have_posts() ) { $query->the_post(); ?>
ADVERTISMENT NUMBER 3 GOES HERE
30, 'post_status' => 'publish' ) ); if ( $latest_post ) { foreach ( $latest_post as $post ) : setup_postdata( $post ); ?>
ADVERTISEMENT GOES HERE

POPULAR THIS WEEK

'post', 'posts_per_page' => 1, 'meta_key' => 'post_views', 'orderby' => 'meta_value_num', 'order' => 'DESC', 'date_query' => array( array( 'after' => '1 week ago' ) ) ); $current_week_query = new WP_Query($current_week_args); if ($current_week_query->have_posts()): while ($current_week_query->have_posts()): $current_week_query->the_post(); ?>