WordPress.org

Support

Support » Requests and Feedback » wp_list_categories overwrites order of categories

wp_list_categories overwrites order of categories

  • 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

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘wp_list_categories overwrites order of categories’ is closed to new replies.
Skip to toolbar