How do I separate out categories?
-
I’m trying to figure out how to separate out the list of categories that is displayed on the call for categories. I’m currently using this….
<?php wp_list_cats(‘sort_column=name&optioncount=0’); ?>
Is there a way to create 2 or 3 separate lists of categories in the same manner displaying only specific category ID’s that could be separated out and add titles to that part of the list?
For example, I have 3 categories that I want separated out so I can put in a title to those categories separate from the full list of categories in my sidebar. I can specify those 3 by ID but not sure how to make that work with the php call?
Categories- Resources
- blah blah
- blah blah
- blah blah
>
- Services
- blah blah
- blah blah
- blah blah
then the rest of the list of categories below….
I’m putting the list of categories in a floating box rather then in a sidebar so I would rather code it then use a widget…
Any suggestions?
- The topic ‘How do I separate out categories?’ is closed to new replies.