All terms query string

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?

Hello @bill_hodgson,

Thanks for writing in!

You can only use the Looper Provider All Terms if you want to display the taxonomies. Based on the screenshot, you are trying to group the items by date. The problem is that those dates are just metadata of each posted item. Somehow, you need to collect all the dates for each of the items and put them in an array so that you can use them in a query string. Regretfully what you are trying to do is beyond the limits of our pre-built Looper Providers. A custom code for a Looper Provider Custom is needed to be able to accomplish it.

Be advised that custom Coding is beyond the scope of our support under our Support Policy. If you are unfamiliar with code and resolving potential conflicts, you may select our One service for further assistance.

Best Regards.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.