To show all categories of a post, check if the cm:categories child association exists and, if yes, list all childs into the ftl file:

<#if node.properties["cm:categories"]?exists>
	<categories>
		<#list node.properties["cm:categories"] as prop>${prop.name}</#list>
	</categories>
</#if>
Show post categories using Webscript
Tagged on:

Leave a Reply