I have a bit of a problem. I’m trying to hide the children categories and I only want the parent categories to show up. Some of the parent categories don’t have any children. Also, I’m trying to exclude some of the categories that I don’t want to show up. How can I make this work? Here’s what I have :
<?php list_cats(FALSE, ‘all’, ‘name’,
‘asc’, ‘index.php’, FALSE, FALSE,
FALSE, FALSE, FALSE,
FALSE, ‘0’, FALSE, ‘1,2,26,27’,
” ‘1,2,26,27’ ” are the categories I want to exclude. The problem is, nothing is showing up. I don’t know what I’m doing wrong.
Any help is appreciated, thank you!
- The topic ‘Parent Categories not showing up!’ is closed to new replies.