have_posts() ) :
$query->the_post();
?>
$trending_content_type, 'post__in' => array_filter( $content_ids ), 'orderby' => 'post__in', 'posts_per_page' => absint( 6 ), 'ignore_sticky_posts' => true, ); $query = new WP_Query( $args ); if ( $query->have_posts() ) { $section_title = get_theme_mod( 'blogin_trending_title', __('Trending Section', 'blogin') ); $trending_btn = get_theme_mod( 'blogin_trending_button_label', __( 'View All', 'blogin') ); $trending_btn_url = get_theme_mod( 'blogin_trending_button_url', '#' ); ?>