$blogin_content_type, 'post__in' => array_filter( $content_ids ), 'orderby' => 'post__in', 'posts_per_page' => absint( 6 ), 'ignore_sticky_posts' => true, ); } else { $cat_content_id = get_theme_mod( 'blogin_latest_posts_category' ); $args = array( 'cat' => $cat_content_id, 'posts_per_page' => absint( 3 ), ); } $query = new WP_Query( $args ); if ( $query->have_posts() ) { $section_title = get_theme_mod( 'blogin_latest_posts_title', __('Latest Posts', 'blogin') ); $blogin_btn = get_theme_mod( 'blogin_latest_posts_button_label', __( 'View All', 'blogin') ); $blogin_btn_url = get_theme_mod( 'blogin_latest_posts_button_url', '#' ); ?>