'featured', 'meta_value' => '1', 'posts_per_page' => 3 ) ); $post_data = array(); while ($callie_featured->have_posts()) { $callie_featured->the_post(); $categories = get_the_category(); $post_data[] = array( "title" => get_the_title(), "date" => get_the_date(), "thumbnail" => get_the_post_thumbnail_url(get_the_ID(), 'large'), "author" => get_the_author_meta('display_name'), 'cat' =>$categories[0]->name ); } if ($callie_featured->post_count > 1) : ?>
>

>