Splitting the main query in multiple loops with query_posts and/or pre_get_posts?
Don’t use query_posts(). Don’t modify the main loop query from within the template. You may be able to get a single query to provide what you need (e.g. by filtering pre_get_posts and groupby), but more than likely, you will need to iterate 12 custom loops using WP_Query(). Perhaps something like this: // Get all the … Read more