WordPress.org

Ready to get started?Download WordPress

Forums

Parent Categories not showing up! (1 post)

  1. yume
    Member
    Posted 9 years ago #

    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',
    FALSE); ?>

    " '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!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.