Is it possible to do this? In the codex the 'orderby' option does not allow manual ordering (only ascending ID, name, count, slug etc).
Here is the code:
<?php
wp_list_categories('include=16,17,15&title_li=<h3>' . __('By Content') . '</h3>' );
?>
This is currently alphabetical since I havent included the 'orderby' statement. I want them ordered 17,15,16 but only these 3 cats which are not alphabetical.
Is this possible?
Is it possible to do this? In the codex the 'orderby' option does not allow manual ordering (only ascending ID, name, count, slug etc).
Here is the code:
<?php
wp_list_categories('include=16,17,15&title_li=<h3>' . __('By Content') . '</h3>' );
?>
This is currently alphabetical since I havent included the 'orderby' statement. I want them ordered 17,15,16 but only these 3 cats which are not alphabetical.
Is this possible?
I would use get_categories() to first get an associative array of all the categories and then sort it how you want it.
$categories = get_categories('include=16,17,15');