Support » Requests and Feedback » Categories and Sub-categories

  • Categories and Sub-categories are VERY frustrating. Why doesn’t WordPress have the built-in ability to show Categories and underneath show all the sub-categories in that category and be able to click on whatever sub-category you want.

    On the website all categories including sub-categories are on the same level. I need to show CATEGORIES listed underneath SUB-CATEGORIES – is shows it that way in the dashboard. Why have you made things so difficult when it should be really quite simple. It’s quite insane the way it currently works!

Viewing 2 replies - 1 through 2 (of 2 total)
  • esmi

    (@esmi)

    Forum Moderator

    On the website all categories including sub-categories are on the same level.

    That’s down to the theme you’re using – not WordPress.

    I’m assuming this is a critique of their base theme? WordPress itself if not responsible for the layout of navigation. It’s really just an easy way to interact with a database. How everything looks is up to you.

    This bit of code, specifically the ‘child_of’ argument, make category based lists fairly straight forward.

    <?php wp_list_categories(’child_of=4‘); ?>

    It also helps to look at the codex page for ‘wp_list_categories’.

    http://codex.wordpress.org/Template_Tags/wp_list_categories

    And I’d also recommend getting into the WP 3.0 navigation menus if you haven’t already.

    http://codex.wordpress.org/Appearance_Menus_SubPanel

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Categories and Sub-categories’ is closed to new replies.