I have custom post type called staff that has custom taxonomy called departments. I wanted the frontpage of the staff (archive-staff.php) to not show ALL the staff members, but actually the first department (lets say there are 3 departments.)
My archive page starts like this:
global $wp_query; $args = array_merge( $wp_query->query, array( 'post_type' => 'staff', ) ); query_posts( $args ); while (have_posts()): the_post(); // ...
I have no clue how to go from here. I also need to display the current departments title.