I don't seem to be able to use ExpressionEngine's native {exp:channel:category_heading}
feature in combination with GWcode Categories.
I would like to display a simple category results page which displays all entries within a particular category, with the category name at the top as a page header. There will also be a list of all the categories in the sidebar (which I'm using GWcode for).
My code, simplified:
<!--Page heading-->
{exp:channel:category_heading}
<h2>{category_name}</h2>
{/exp:channel:category_heading}
<!--List of all the categories-->
<ul class="tags">
{exp:gwcode_categories channel="project|miscellany" entry_count="yes" orderby="entry_count|cat_name" sort="desc" style="linear"}
<li>{cat_name}</li>
{/exp:gwcode_categories}
</ul>
<!--Results of selected category-->
{exp:channel:entries channel="project"}
<img src="{project_thumbnail}" />
<h2>{title}</h2>
{/exp:channel:entries}
The only bit that doesn't work is the page heading. Does anyone know why this might be?
Thanks.