1,
‘meta_key’ => ‘wpb_post_views_count’,
‘orderby’ => ‘meta_value_num’,
‘order’ => ‘DESC’
);
$featured_query = new WP_Query($featured_args);
if ($featured_query->have_posts()) :
while ($featured_query->have_posts()) : $featured_query->the_post(); ?>
Love + Romance
4,
‘category_name’ => ‘love-romance’,
‘post__not_in’ => array($featured_query->posts[0]->ID),
‘orderby’ => ‘rand’
);
$romance_query = new WP_Query($romance_args);
if ($romance_query->have_posts()) :
while ($romance_query->have_posts()) : $romance_query->the_post(); ?>