how do I show primairy category first {category}
-
Hi,
I use a custom template where i use the{category}
tag.
Some events have multiple categories and I would like to have the primairy category named first.At the moment it is showing the 2 categories, but I am not sure in what order, not the primairy first, but also not in alphabetical order. Maybe ID based order?
To illustrate what happens:
An event has 2 categories: ‘Lezing’ and ‘Voordracht’
‘Lezing’ is the primary category, but the categories are listed like this:
Voordracht, Lezing
And it would need to be:
Lezing, Voordracht (because Lezing is chosen as the primairy category)Is this possible, and if so, how would I do this?
Thanks if you can point me in the right direction!!
- The topic ‘how do I show primairy category first {category}’ is closed to new replies.