Hi,
I’m trying to implement the following top level blog page which has built in category filtering as seem in the screen shot below… How can I implement it using the the new layout/looper functionality please?
Thanks in advance
Scot
Hi,
I’m trying to implement the following top level blog page which has built in category filtering as seem in the screen shot below… How can I implement it using the the new layout/looper functionality please?
Thanks in advance
Scot
Hey Scot,
I’m sorry, we don’t have any filtering functionality like that. We’d need a way to update the query from the URL. I’ve got some notes going for allowing that with dynamic content, but regretfully it’s not possible right now.
One idea for now would be making those links to the category archive pages.
No Worries @alexander, do you think there is a way to use a looper to create a list of links to the categories then?
I’d be happy with links through to the category archive pages, but I can imagine the client adding extra categories, so it would need to populate automagically
Hey, @scotbaston! This is a great idea, we’d like to get something like this in, but it will likely be in our list of overflow items to tackle after the release.
Essentially, we’d need to make a new Provider Type to select from and loop through. It would operate somewhat like “Current Post Terms,” which we already have:
You can use this when you’re already in a post within a query to loop through a specific taxonomy and output a list of those items, add links to their archives, et cetera. Basically, the new Provider Type would be something like “All Terms,” which you would then select the appropriate taxonomy, and it would provide you with a master list of all available terms for that taxonomy, which you could then loop through to make a lightweight navigation or whatever you’re looking to do.
Thanks for the feedback @kory and that would be amazing as a 4.1 update (or as soon as development time allows)
Sounds good. We’re definitely discovering more Provider ideas and would like to get them in sooner vs later. This one is pretty important.
Hi @scotbaston,
Just wanted to give you a heads up that we got this working today! You will be able to select a taxonomy and loop over all the terms inside. It also has a toggle to exclude empty terms.
Very cool!
In the example of the OP, would your solution allow the posts to load with ajax or would it only be possible to create links to the archives?
Most excellent news @alexander , I know its early but any idea on rough timescales for either the next beta or the 4.1 release?
Pro 4.1 is coming out today! Was just reviewing this thread and to be clear this is simply a way to loop over terms in a taxonomy. Unfortunately there’s no AJAX functionality, and there still isn’t a way to dynamically filter a looper. That means you’ll be able to create a blog layout with links to all your different categories, but won’t be able to make custom filtered loopers just yet. We’ll get there, but need to rework some things with the query builder to allow dynamic content to be used in some of the controls.
Once 4.1 comes out today, look for the new Terms List elements which are prepackaged examples of this feature.
That is brilliant news! Thank you
You’re welcome!
Edit: moments after writing this comment I saw another cool idea Kory was doing so I’m going to move it over to the Looper Discussion thread. In regards to this thread, those options will really help at least until we can circle back to allowing Dynamic Content inside the query builder. I don’t think we’ll be getting to that for a little while, at least not until after ACF Repeaters are locked in.