WordPress.org

Support

Support » How-To and Troubleshooting » YACQ – Yet Another Category Question

YACQ – Yet Another Category Question

  • So I have a category listing like follows;

    catA
    — subA1
    — subA2
    — subA3
    catB
    — subB1
    catC
    — subC1

    I only want my sub-categories to show up when you’re in the parent category, but I also want the parent categories to show up.

    SO if you’re in “catA” the list would look like;

    catA
    — subA1
    — subA2
    — subA3
    catB
    catC

    If you’re in “catB” it would look like this;

    catA
    catB
    — subB1
    catC

    It seems that list_cats “child_of” arg ONLY shows the children of that category.. Is this something that I will easily be able to do wtih list_cats or will I have to do something more detailed?

    Thanks.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘YACQ – Yet Another Category Question’ is closed to new replies.
Skip to toolbar