WordPress Query – Display 5 posts (same post type), each from a given tag

Managed to get what I wanted like so: // first query $first_ids = get_posts( array( ‘post_type’ => POST_TYPE_KIB_HIREK, ‘posts_per_page’ => 1, ‘post_status’ => ‘publish’, ‘orderby’ => ‘date’, // popular – ha a legolvasott ‘tag_id’ => 102, ‘order’ => ‘DESC’, ‘fields’ => ‘ids’, ‘post_status’ => ‘publish’, ‘orderby’ => ‘date’, ‘order’ => ‘DESC’ )); // second query … Read more