Hi everyone i have trouble to show parent category
i have categories
*News
**A
**B
**C
if i use <? the_category() ?> it will show the A, B, C in frontpage..
what i want is parent category that appear (News)..
what code should i use?
thanks
anyhelp would be great..
Have you looked at the_category('>','multiple');
See the_category
yup..but all i want just the news that appear..without A/B/C
kReEsTaL
Member
Posted 3 years ago #
Same problem here!
How do you display the parent category ONLY, without the child categories?
Please help, I've been looking on Google and I found this site, whose tip does help, but it only works if the category has only one level deep!
My categories are all more than one level deep...
Thanks a lot for your help!