0

I have my category links:

{exp:channel:categories channel="pages" category_group="3"}
        <a href="{path='work/cat-landing'}">{category_name}</a>
        {if category_description}{category_description}{/if}
{/exp:channel:categories}

I'm trying to display the name of the category that was clicked on "cat-landing" template.

Using the following code, but that's just outputting all the categories I have selected in my entries.

{categories} {category_name}{/categories} 

Any help is much appreciated!

0

If you are using standard category url methods, you can just use the category heading tag.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.