'post', 'posts_per_page' => absint( 5 ), 'ignore_sticky_posts' => true, ); if ( ! empty( array_filter( $banner_posts_content_ids ) ) ) { $banner_posts_args['post__in'] = array_filter( $banner_posts_content_ids ); $banner_posts_args['orderby'] = 'post__in'; } else { $banner_posts_args['orderby'] = 'date'; } } else { $cat_content_id = get_theme_mod( 'blog_room_banner_posts_category' ); $banner_posts_args = array( 'cat' => $cat_content_id, 'posts_per_page' => absint( 5 ), ); } ?>