I have a layout challenge like this.
I have a CPT with documents. Each document has a date. I want to output a page showing the documents grouped by the date, most recent first. I can write a looper to retrieve the documents and their dates, but I’m stuck on the grouping approach. I tried a nested looper, but that gets run for each of the outer loop items, rather than once per date.
I tried to figure out the query string equivalent to the ‘all terms’ looper but failed - if I could query just the dates from a taxonomy, in the right order then the nested loop could work.
Any ideas?
