I am sure the answer is simple, but why is the following code not working?
{exp:weblog:categories category_group="2" disable="category_fields" parent_only="yes" style="linear" weblog="services"}
<li><a href="http://{path=inform/services}%22class=%22current" title="{category_name} services" class="current">{category_name}</a></li>
{/exp:weblog:categories}I simply want to append a class=“current” to the link, based on the category in a menu being the currently viewed category.
The url looks like: /inform/services/c4/ for example.