The title pretty much says it all 😊
I have a page that displays my categories, but I want to be able to mark whichever category I’m in as “current”
The code for the category links I have looks like this:
{exp:channel:categories channel="resources" style="nested" class="categories"}
<a href="http://{path=resources}">{category_name}</a>
{/exp:channel:categories}I’ve looked and know I need to do something with segment variable, but I’m not sure quite how to implement this?
I want to be able to make the a href have a class of “current” if that’s the category that’s currently being viewed.
Thanks!!