Hey Hey,
So I've been trying to figure out this problem that I've been having and wonder if anybody has any suggestions.
Inside my index.php I'm filtering the loop in different categories. I've set it up as the following
Projects(Main Category)
- Music (sub-category)
- Video (sub-category)
- Audio (sub-category)
Sponsors(Main Category)
- Music (sub-category)
- Video (sub-category)
- Audio (sub-category)
While I'm going through the loop I need to display just the sub-categories of the post that it's currently looping through and display it as a class to the
I've been getting it to list all the categories, but NOT just the sub-categories of the blog that it's looping through.
So for example:
If I have a blog post with the main Category of "Sponsors" and the sub-categories of "Video & Music". I want it to come out as
<li class="video music">...</li>
I'm basically trying to incorporate the jQuery Quicksand plugin to my blog
Any Suggestions?