Filter a structured collection? #6116
stephenmeehanuk
started this conversation in
General
Replies: 2 comments 9 replies
-
I don't think the For now, you should probably export the markup you need to a partial and try to make it work using the collection tag. |
Beta Was this translation helpful? Give feedback.
9 replies
-
I guess the entries are so many that making a nav for this collection is out of the question right? Indeed, without access to the structure you this would be hard to do. How about trying a custom modifier for filtering the results of the nav tag? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
I'm using an ordered collection as navigation
nav:collection:products
, the collection has ataxonomy
called divisions.I'd like to filter
nav:collection:products
by a taxonomy term.I can only get the filter to work if I use
collection:products
, I can't get it to work withnav:collection:products
collection:products
When I use
collection:products
, thetaxonomy:divisions
filter works as expected, the entires are filtered by a taxonomy term, but It ignores the children - because it's not anav
nav:collection:products
If I add the
nav:
part, thetaxonomy:divisions="{slug}"
is ignored - so all the entires are displayed, and the children are shown.I'd like to be able to filter
nav:collection:products
bytaxonomy:divisions="{slug}"
Is there a way to get this to work?
Beta Was this translation helpful? Give feedback.
All reactions