How to group by taxonomy on Custom Post Type archive
You’re almost there. Since the_title inside your custom loop is one of the Post template tags you need to assign the global $post to use the new data from the custom query. <?php global $post; // Access the global $post object. // Setup query to return each custom post within this taxonomy category $o_queried_posts = … Read more