array('post', 'page'), 'post__in' => $featured_posts, 'showposts' => $featured_count, 'orderby' => 'post__in', 'ignore_sticky_posts' => true ); } else { $args = array( 'cat' => $featured_category, 'showposts' => $featured_count, 'ignore_sticky_posts' => true ); } $featured_query = new WP_Query( $args ); ?> have_posts()) : while ($featured_query->have_posts()) : $featured_query->the_post(); ?> ID ), 'full' ); $feat_image = $get_feat_image[0]; } else { $feat_image = get_template_directory_uri() . '/images/default-img.png'; } ?>