How do I create a custom order for list-categories? orderby doesn’t work at all. It still outputs according to id number. What if I want to output like this:
<?php wp_list_categories(‘orderby=7,1,4,5,6,9,33&include=7,1,4,5,6,9,33&exclude=10&title_li=’ . __(‘The Category List’)); ?>
As it is, it outputs as: 1,4,5,6,7,9,33, but I want it to output like this:
7,1,4,5,6,9,33 – NOT 10
- The topic ‘How to reorder list_catagories()’ is closed to new replies.