We currently have a tutorial on how to list post-category values. You can check it out here:
Show Categories for a Post
This guide will show you how to display all the categories associated with a post. If you only want to display the primary category, you can use the following code:
\Components\Website\Posts\Categories::getColumn($post['post_category_id'], 'post_category_title')To check if there are posts in a category, you can use this code:
<logic:if test="$post"> <p>West End:</p> <data:postrepeater paging="true" pagingrows="6" templatetype="list" postcategory="3" /> </logic:if>```