Weblog Category Heading

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

{exp:weblog:category_heading}

<h1>{category_name}</h1>

{/exp:weblog:category_heading}

When you visit on one of your category links, your weblog 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.

Variables

category_image

{category_image}

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

category_name

{category_name}

The name of the category being viewed