ExpressionEngine Docs

Channel Category Heading Tag


The purpose of this tag is to show the currently viewed Category as a heading.

    {if category_description}

When you visit one of your Category links your Channel Entries are shown sorted by the chosen Category. This tag lets you dynamically show the name of the Category being viewed.

If no Categories are being shown, the tag will not show anything contained within the opening and closing pair.




You can hard code the Category Heading tag to show a specific category. You may also specify multiple categories by separating them with the pipe character:


Or use “not” to exclude categories:

category_id="not 45|534|807" 



The category_url_title= parameter allows you to specify the URL title of a specific category you wish to display.

Note: You must specify the channel parameter when using this parameter.



The disable= parameter allows you to turn off aspects of the tag that you might not be using in order to improve performance. Valid options are:



This parameter allows you use the category indicator in your URLs with an entries tag specifying multiple channels that do not share category groups.



The name (short name) of the channel that the categories are assigned to.

Note: Unless you are using the relaxed_categories parameter, you can only list one channel name, since each channel can have separate category groups.

You must specify this parameter if you use the Category URL Titles In Links feature.



This variable simply displays the content from the “category description” field. The variable may also be wrapped in a conditional statement so that it only displays if there is content in the field:

{if category_description}{category_description}{/if}


The category ID associated with the category.


The category ID associated with the category’s parent (or 0 in the case of a top level category).


The image link (or other information) you can optionally store with each category within the Control Panel.


The name of the category being viewed.


The URL title of the category.

Custom Category Fields

All custom fields assigned to a category can be accessed using the “short name” of the field:

{class} {extended_description} {category_name_fr} etc..

These are totally dynamic in that any field you create for your category will automatically be available by its “short name” as a variable.