the_category() issue
-
Hi,
just not understanding what’s going on with this function. I have a post which is in multiple categories. I have a category structure like this:
cat1
-cat1A
–cat1A1
-cat1B
–cat1B1And let’s say my post belongs to BOTH cat1A1 and cat1B1. Now if I use the_category(); without any parameters, it will return exactly what I want which is a ul containing links to cat1A and cat1B. However, as soon as I use any parameters, this does not happen. I either see cat1A ONLY or I see the entire parent tree. Can anybody let me know why this might happen?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘the_category() issue’ is closed to new replies.