Questions tagged [descendantof]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
18 views

Does descendantOf only accept a single value?

I have a products page on which I'm filtering with Sprig. There are some categories in the form of checkboxes. These categories have some subcategories. The categories are a structured section with ...
Matthias's user avatar
1 vote
1 answer
121 views

How can I filter which children I want to show in a sub navigation menu

I have a navigation menu setup but I want to filter out some of the children at level(2) so they aren't showing in the dropdown navigation menu. Here is how I am grabbing the children... {% set ...
user9494's user avatar
1 vote
1 answer
315 views

Loading entry based on dynamic route

I'm trying to load an entry based on the following url: /artists/nameOfArtist/nameOfCategory/myEntry/thumb This URL follows the structure of my entries: Artist > Category > Entry So, I'm thinking ...
SoHo's user avatar
  • 393
2 votes
1 answer
776 views

descendantOf() parameter, entryModel or ID?

I'm confused about what to pass as a parameter in the descendantOf() function. I'm developing a website and passing an entry ID as a string (I also tested it as an integer) and everything went fine, ...
Tom De Smet's user avatar
  • 1,456