• IS it possible to make taxonomy terms appear in the order they were made, in the backend?

    They keep appearing in alphabetical order. I tried using sort but it doesn’t seem to be working.

    This is my code for creating custom taxonomies:

    $taxonomies['size'] = array(
                'hierarchical' => true,
                'query_var' => 'size',
                'sort' => true,
                'rewrite' => array(
                    'slug' => 'size',
                ),
                'labels' => array(
                    'name' => 'Size',
                    'singular_name' => 'Size',
                    'update_item' => 'Update Color',
                    'edit_item' => 'Edit Size',
                    'add_new_item' => 'Add Size',
                    'new_item_name' => 'Add New Size',
                    'all_items' => 'All Sizes',
                    'search_items' => 'Search Sizes',
                    'popular_items' => 'Popular Sizes',
                    'popular_items_with_comments' => 'Separate sizes with commas',
                    'add_or_remove_items' => 'Add or remove sizes',
                    'choose_from_most_used' => 'Choose from most used sizes'
                )
            );
Viewing 1 replies (of 1 total)
  • how is wp suppose to know which order they were made? heh
    did you assign them a timestamp?

    its gonna be alpha or reverse alpha maybe

Viewing 1 replies (of 1 total)
  • The topic ‘Make taxonomy terms appear in the order they were made’ is closed to new replies.