WordPress.org

Ready to get started?Download WordPress

Forums

wp_list_categories overwrites order of categories (4 posts)

  1. odtaa
    Member
    Posted 6 years ago #

    I have a problem that I want to control the order of categories on a horizontal navigation bar. wp_list_categories overrides all the options I have tried and put the categories in alphabetic order.

    It would be useful to have an option to allow the user input to input categories in the order they require them.

    eg wp_list_categories(order=1,2,9,3etc) everything gets sorted alphabetically by title

    The only solution I have at the moment is wp_list_categories(include= one value only)and then write a list of wp_list commands for each category I want in the list. Going through the documentation there does not seem to be an option to do this.

    I am using a well established theme Revolution on my site

  2. odtaa
    Member
    Posted 6 years ago #

    Can I add that I have quite a few people needing help with this problem

  3. scribblerguy
    Member
    Posted 6 years ago #

    Perhaps a plugin might help you?

  4. rawalex
    Member
    Posted 6 years ago #

    Perhaps simple functionality might help?

Topic Closed

This topic has been closed to new replies.

About this Topic