Display the categories for each Blog Posts on the list page
Is there any way to list the categories for a Blog Post?
Specifically we want to pull into list page.
Have tried all the obvious ID's... but nothing seems to output anything expect <perch:blog id="categories" /> which just displays the number of categories for each post... eg: "=5" ?
Post template for categories:
perch:categories id="categories" set="blog" label="Categories" display-as="checkboxes" > <a href="service-detail.php?s=<perch:category id="catSlug" type="slug" />" class="p-category"> <perch:category id="catTitle" type="text" /> </a> </perch:categories>
List template... have tried various ID's including:
<perch:blog id="category_names"/> <perch:blog id="category_slugs"/>
But all output blank??
We need them to filter the list of posts using JS and a drop down. Is working great for location. Don't want to have to use tags, not as elegant to manage in CMS.
Thanks for any help on this.