I want the portfolio items to be arranged in custom order (based on the category descriptions which I use number values to order)
<ul id="portfolio-cats" class="filter clearfix"> <li class="sort"><?php _e('Sort Items','themename'); ?>:</li> <li><a href="#all" rel="all" class="active"><span><?php _e('All', 'themename'); ?></span></a></li> <?php foreach ($cats as $cat ) : ?> <li><a href="#<?php echo $cat->slug; ?>" rel="<?php echo $cat->slug; ?>"><span><?php echo $cat->name; ?></span></a></li> <?php endforeach; ?> </ul>
If I have 3 taxonomies named Gender, Age, Height.
I want the filter beside "All" to display them in above order, based on the taxonomy description.
Gender Desc "1", Age Desc "2" etc.
I want to to this on mass scale so not just 3 taxonomies, hence the need to number them.