Forums

Creating Sub-categories (2 posts)

  1. Pals G.
    Member
    Posted 1 year ago #

    I am trying to create sub-categories for my wordpress site, but since each of my parent category pages have their own template, I cannot seem to determine how to add sub-categories once you define them through the wordpress panel. I have some child categories set up now, but they keep appearing as main categories. How would the code look like to do this? Here is how my current category code appears:

    <div id="subnavbar">
    <ul id="subnav">
         <?php wp_list_categories('sort_column=name&title_li=&depth=0'); ?>
    </div>

    Thank you.

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    they keep appearing as main categories

    In what way? Perhaps you need to amend your theme's CSS?

Topic Closed

This topic has been closed to new replies.

About this Topic