I personally use wordpress_list_groups() to obtain the list of all of the groups and create the navigation bar. It is possible to method to order this groups inside a particular order apart from alphabetical ordering.

eg: Connect, News &lifier Sights, Q&A, Hello Startup, Startup 101...

This really is built-in in wordpress wordpress_list _groups ... wordpress_list_groups('orderby=name')

i believe that will assist you

I understand which was years back, but this still rates on the internet...

while using "order" and "orderby" options from the wordpress_list_groups i could obtain the order i needed. http://codex.wordpress.org/Template_Tags/wp_list_categories

I obtain the impression that during my category order wordpress plugin you apply the admin panel to re-order the groups. That's not generate an income want it. I favor a random report on groups. I prfesently get it approaching alphabetically (always exactly the same) I in addition have a drop lower groups menu within the sidebar that consists of all groups. The course bar is strictly cosmetic. If you will find any sort of solutions send to bklyn48@yahoo.com. Thanks Alfie

Using the wordpress wordpress plugin "My Category order" ( http://wordpress.org/extend/plugins/my-category-order/ ) we are able to order groups in almost any order.

If you do not make use of the Description area from the groups, ordering may also be made by entering several in every Description area, and subsequently use Javascript / jQuery to buy according to this numbering.

The wordpress_list_groups function includes a use_desc_for_title argument which you'll set to true:

wp_list_categories('use_desc_for_title=1');

The course description has become set towards the <a> tags's title attribute within the resulting html.

If you use amounts within the description area, the resulting category listing may seem like this:

 <ul id="category_list">
    <li><a href="#" title="3">Category C</a></li>
    <li><a href="#" title="1">Category A</a></li>
    <li><a href="#" title="2">Category B</a></li>  
 </ul>

You can now sort their email list, for instance with jQuery in the document.ready event. If you are using subcategories inside a hierarchical way, make use of a recursive function such as this:

$( document ).ready( 
    function() {
       sort_list_recursive( $( '#category_list' ) );
    }
);

function sort_list_recursive( parent ) {
    var lst = parent.children( 'li' );
    lst.sort(
        function( a, b ) {
            var _a = a.getElementsByTagName( 'a' )[0].title;
            var _b = b.getElementsByTagName( 'a' )[0].title;
            return _a > _b ? 1 : -1;
        }
    ).appendTo( parent );
    lst.each( function() {
        $( this ).children( 'ul' ).each( function() {
            sort_list_recursive( $( this ) );
        });
    });
}

N.B.

  • Avoid using a (zero) within the description area, it will likely be overlooked and hang to null
  • After sorting you might like to eliminate the title characteristics which are going to amounts, this may be easily completed with jQuery.

I believe following wordpress plugin is a lot simpler and simple to use:

http://wordpress.org/extend/plugins/order-categories/