What I am trying to do is display blog posts in a carousel with the post title and the categories each post is in. For example, let’s say the blog post is titled "How to Care for Roses" and it’s in the following post categories:
- Flowering Shrubs
- DIY Gardening
I would like to dynamically load each post’s categories above the post title in each post carousel slide. I have no problem with creating a template that allows me to do this. I just can’t seem to figure out how to get the post categories to display in the template.
Any help would be appreciated 🙂
Source: Ask PHP