You could do something like this:
<ul>
<?php
wp_list_categories('order_by=ID&title_li=&include=4,5,6,7,8,9,10');
wp_list_categories('order_by=ID&title_li=$include=72');
wp_list_categories('order_by=ID&title_li=&include=11,12,13,14,15,16,17, 18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41');
?>
</ul>
Just listing them in order for the include arg won’t help you since that only goes into the WHERE clause, not into the ORDER BY clause of the SQL query.
Related Posts:
- Create a category list page
- How do I use the same post slug for different Categories?
- How to display only 3 main categories, separated by commas, since they are marked in the post?
- Woocommerce product categories order [closed]
- How do I create a way for users to assign categories to a post from the frontend?
- is_category() function
- How to hide a specific category posts in my monthly archive?
- Give specific category its own permalink structure
- Create terms when registering taxonomy?
- How to set up sub-categories for author pages?
- Add category to custom post type automatically, using category slug
- How do I edit pre_get_post for the category the user is currently in?
- Remove “Category Archives: title” at the top of a category page [duplicate]
- Assign different category colours to different categories in the main menu
- Category Alphabet List Broken
- wp_list_categories, Add class to all list items with children
- Display Only One Category
- Display only one result from “get_the_category_list”
- Display empty taxonomy terms with get_terms()
- Using separator with wp_list_categories
- Connecting WordPress gallery to custom categories (taxonomy)
- Assign an icon to a category post
- How can I show the subcategories content on the parent category page?
- Multi-site or categories?
- Custom Category/Subcategory structure
- Category archive page – loop through posts of certain tag (with pagination) – pre_get_posts
- Remove ‘rel’ attributes from the_category() output
- Default category link for a custom category is a broken link
- View the latest created categories
- If statement within PHP echo
- category hierarchy level as a body class – parent cat =1, child cat=2, grandchild=3
- How to show author name only if the post is in a specific category?
- Are Category or Tag Archive Pages Possible?
- 3 Columns, 3 Categories, One Archive, and Pagination
- Archives for each category on WP Multisite
- Update post title with category name after editing a category
- How to Exclude post from a category
- Hiding a Categories content on just the Homepage ‘Posts’?
- How to change a post category when the ACF datepicker Field is today
- Send to different single pages by category when multiple categories exist
- Multiple Loops on category.php with pagination on last loop
- How can you change the permalink for pages?
- How to select category on if function
- woocommerce related products by specific categories [closed]
- Change the name Category – Not change category name
- About title on a page
- custom page for custom Taxonomy
- Why get_category() function is not working not working when embedded in a page?
- How to remove one specific category (uncategorized) from post permalinks
- Combining a meta_query with a category filter
- Theme for subcategories
- How to link a PDF file to a category URL
- Displaying year once in category.php [duplicate]
- Restrict CSS on one page
- Copy post taxonomy?
- Check is category parent with ids from the childs – get_term_children
- Showing posts from 2 categories only on category.php
- Posts not listing out sub category in hierarchy
- Change Default Content when Creating a Post based on Previous Category Choice
- Display category and associated post listings
- Exclude categories from postquery
- Category pagination not working
- show only sub categories if available?
- How to get sub-categories to display same look as there parents
- Assign author to category and not only posts
- Add properties to term object
- How to fetch common posts from two feeds?
- Display all Categories
- custom wp_list_categories in single.php
- How to set acf color field as background color to product category
- How to target all woocommerce categories that don’t have any subcategories in them?
- How to add all subcategories as submenu in WordPress menu
- echo $category[0]-> cat_name; shows only one category name
- Category pages resolving with and without category prefix
- How can i echo next and previous custom category from a Taxonomy
- Is there a way to allow users to customize their feed view?
- Number of categories slowing down the site
- Change post category within pre_get_posts
- Subcategory Page 404ing
- displaying one category on one page
- Ajax Category add doesn’t update the list table custom column
- Question About Messing With Category Pages and Descriptions
- how to get postmeta info based on multiple categories?
- create post with main category and other categories from admin panel
- get_posts – require all categories
- 404 error when i try to search by category or by tag
- List Terms by category
- Add advertising box to a specific category page
- How do you add Author and date Published on Category Pages?
- Twenty Eleven Theme [duplicate]
- display certain category on custom template page
- Get post by Category in custom template
- Ajax call activate after submit in edit-tags.php page
- List products from current category
- Assign a category by user and customize the edit-tags.php?taxonomy=category page
- comments_number fails to print
- How to show posts of a specific category
- How to show child category name & post from it’s parent [closed]
- Open everything in new tab
- Images as Categories