$posts_carousel_content_type, 'post__in' => array_filter( $content_ids ), 'orderby' => 'post__in', 'posts_per_page' => absint( 5 ), 'ignore_sticky_posts' => true, ); } else { $cat_content_id = get_theme_mod( 'blog_talk_posts_carousel_category' ); $args = array( 'cat' => $cat_content_id, 'posts_per_page' => absint( 5 ), ); } $query = new WP_Query( $args ); if ( $query->have_posts() ) { $section_title = get_theme_mod( 'blog_talk_posts_carousel_title', __( 'Posts Carousel', 'blog-talk' ) ); $section_subtitle = get_theme_mod( 'blog_talk_posts_carousel_subtitle', '' ); ?>

have_posts() ) : $query->the_post(); ?>