Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options answers only user 273

Categories are taxonomies for your entries, users, and assets.

1
vote
I also had to make an array of categories that have children related to the entry. Then hide those categories when running the output loop. This is as concise as I could make the code. Assuming your …
answered Apr 20 '15 by Alex Roper
5
votes
You can actually use a bit of Twig logic to determine your category URI formats. Try this for your Category URI Format: {parent ? parent.uri : 'what-we-do'}/{slug} Which is just a more compact way …
answered Oct 11 '18 by Alex Roper
1
vote
The reason it's not working is that domain.com/people/foo/practices/categoryA is not a match for the Category group's URI settings. Only urls that match people/practices/{slug} are going to have that …
answered Sep 13 '18 by Alex Roper
3
votes
It sounds like Focus Areas could logically be a category and Initiatives a structure. They work very similarly with a few differences. Categories can use their own template and routing which is …
answered Apr 21 '15 by Alex Roper
3
votes
Start by looping thru each category. Say, all categories in a category group called "eventsCategories." Then find entries related to each category (if any). {# loop through each of the categories
answered Mar 2 '17 by Alex Roper
10
votes
to those category slugs. {# First you would find any training categories in the URL query string. #} {% set trainingQuery = craft.request.getParam('training') %} {# Then find categories that match … input name as training[]. If it's on the same page, test to see if the category slug is in the trainingQuery array so it can be marked as checked or not. Create this by finding all the categories in the …
answered Apr 8 '15 by Alex Roper