The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › wordpress subcategories
im working on making a wordpress site.
I plan on having like 4 categories.
I wanted that when you click a category, the sidebar would show tags for that category, but tags are for all categories so I decided to use subcategories.
but i can’t seem to find a way to show subcategories only. And how can I list categories without subcategories inside?
You could use this:
But you’ll need to find the ID of the category, in this case it’s “8”.
To find the ID of the category you could use something like this: http://www.whypad.com/posts/wordpress-get-category-id-while-on-a-category-page/669/
thanks i’ll look into it