Support » Plugin: WooCommerce » How do you show sub categories?

  • The shortcode for my store page is

    [product_categories number=”12″ parent=”0″]

    This shows all categories, but the WooCommerce documentation fails to tell you what to put in if you WANT to show a child category.

    Anyone have any idea?
    Entering the parent category name / slug under ‘parent’ doesn’t work, tried a few other things but to no avail.

    Would greatly appreciate any help

Viewing 3 replies - 1 through 3 (of 3 total)
  • Bump.

    I know I’m not supposed to do that, but 1 week later I’m still unfortunately horribly stuck.

    Does anyone have any clue at all if this is even possible?

    I can’t tell if the documentation is lacking or if it’s just impossible to only show subcategories

    Roy Ho


    If the provided shortcode doesn’t work, build your own loop. Use WP_Query

    The shortcode works, the problem is that the use for showing subcategories is not documented, so as far as I know anyone who tries it is just left to take shots in the dark

    I could be horribly wrong, and I’m hoping I am, since WooCommerce is a fantastic plugin and it would be a shame if it were ruined by shoddy documentation

    I’ll give building my own loop a try though, cheers

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How do you show sub categories?’ is closed to new replies.