I have the following code in my sidebar to list all the taxonomy categories.
<div class="left">
<h1>Categories</h1>
<?php
//list terms in a given taxonomy using wp_list_categories (also useful as a widget if using a PHP Code plugin)
$taxonomy = 'workcategories';
$orderby = 'name';
$show_count = 0; // 1 for yes, 0 for no
$pad_counts = 0; // 1 for yes, 0 for no
$hierarchical = 1; // 1 for yes, 0 for no
$title = '';
$args = array(
'taxonomy' => $taxonomy,
'orderby' => $orderby,
'show_count' => $show_count,
'pad_counts' => $pad_counts,
'hierarchical' => $hierarchical,
'title_li' => $title
);
?>
<ul>
<?php wp_list_categories( $args ); ?>
</ul>
</div><!-- # END left -->
And this code outputs them in alphabetical order. Is there a way that I can order them however I like? My client wants them in a certain order and I have no idea how to do this.
Many thanks E