display category links within a page?
-
I feel silly asking this, but I’ve searched and searched and cant find out how to do this…
what I want to do, is have my top level categories listed in the sidebar (which I know how to do now), but then what I want is to have the page that loads when you click one, display a list of the sub categories instead of the list of posts for that category. So display the sub cats in the content area instead of the sidebar.
I’ve figured out how to get a list of -all- categories to display in the contact area, but not the sub categories of the link that was clicked.
So… I guess what I need to know, is do I need to make a new template for each category and then use the code to display the child categories of that category? (which would be a pain, because I’d have to make a new template each time I added a top level category) or is there a general code I can use just within the category template that will display the child cats of whatever one was clicked?
or is there a plug in that might do it?
thanks for any help you can give..
- The topic ‘display category links within a page?’ is closed to new replies.