I have a custom taxonomy called Issues (like magazine issues) with categories named after the title of each issue. I created a page called "Current Issue" and added a link to it in the main navigation of the site.
This is the loop I have in the page template now:
$categories = get_terms('issue', 'orderby=count&order=asc'); foreach( $categories as $category ): ?> <h3><?php echo $category->name; ?></h3> <?php $posts = get_posts(array( 'post_type' => 'issue_posts', 'taxonomy' => $category->taxonomy, 'term' => $category->slug, 'nopaging' => true, )); foreach($posts as $post): setup_postdata($post);
It does order the categories and posts appropriately, but this pulls in all the posts for all the categories. I need the link to show only the posts from the most recent category.
Thanks in advance for any help