Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
WPB Cup
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

How to Change the Category Order in WordPress (Easy Way)

When you first set up your site, WordPress lists your categories alphabetically. But is that really the best way to showcase your content?

We’ve found that customizing the category order can make a big difference. It lets you highlight your most popular topics, guide visitors to important content, or even boost sales if you’re running an online store.

But here’s the catch: WordPress doesn’t let you change category order out of the box. We ran into this problem ourselves and had to find a workaround, which we’ll share with you in this step-by-step guide.

Changing category order in WordPress

Why Change Category Order in WordPress?

Sometimes, you may want to show all the categories and subcategories on your WordPress website. You can do this by adding the Categories List block to any page, post, or widget-ready area.

Changing the category order in WordPress

In this way, you can help visitors search by category in WordPress and find the content they are interested in reading.

The default WordPress category order for blog posts is alphabetical. However, this may not be the best fit for your website.

For example, if you run a WooCommerce store, then you may want to adjust the product category order to show your top-selling product categories first.

With that in mind, let’s see how you can easily change the default category order in your WordPress site.

How to Change Blog Post Category Order in WordPress

The best way to create a custom category order is by using Category Order. This free plugin allows you to rearrange your categories using drag and drop.

The first thing you need to do is install and activate the Category Order plugin. For more details, see our step-by-step guide on how to install a WordPress plugin.

Upon activation, simply head over to Posts » Taxonomy Order from the WordPress dashboard to see a list of all the categories on your WordPress blog.

Taxonomy order page

You can now reorder the WordPress categories using drag and drop.

If you are using child categories, then these will appear indented below the parent.

When you move the parent category, the child categories will move too.

Move categories up and down to rearrange

When you are happy with the category order, just click on the ‘Update’ button.

You can now add the Categories List block to any widget-ready area. For step-by-step instructions, please see our guide on how to add and use widgets in WordPress.

Adding a categories list to a widget-ready area

You can also add the Categories List widget to any page or post.

After that, simply visit your WordPress website to see all your categories arranged in a custom order.

An example of a WordPress custom category order

How to Change Product Category Order for WooCommerce

If you have an online store, then you can add a list of your product categories to any page, post, or widget-ready area using the Product Categories List block.

A list of WooCommerce product categories

This can help shoppers find items they want to buy, especially if you use the block alongside a smart WooCommerce product search.

Thankfully, the Category Order plugin works with the product custom post type. You can use it to change the order of categories in the list.

For example, you might display your most popular product categories first or prioritize your ‘Sales’ category so shoppers don’t miss out on any deals.

To rearrange the product categories, just go to Products » Taxonomy Order.

Reorder product categories in WooCommerce

You can now rearrange all the WooCommerce product categories and subcategories on your online store using drag and drop. When you are happy with the changes, click on ‘Update’ to make them live.

You can now go ahead and add the Product Categories List block to any page, post, or widget-ready area.

Rearranging WooCommerce product categories

If you are using a block-enabled WordPress theme, then you can even add the Product Categories List block to areas you can edit using the WordPress Full Site Editor.

For example, you can add the block to your 404 page template (like in the screenshot below), archives page, search results, or any other page. This can get you even more clicks and sales.

An example of product categories on a 404 page template

After adding this block, simply visit your online store to see the product category pages listed in your custom order.

To learn more about WordPress categories, just check out the guides below:

We hope this article helped you learn how to change category order in WordPress. You may also want to see our article on how to style individual categories differently in WordPress and our beginner’s guide to creating custom WordPress taxonomies.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how you can support us. Here's our editorial process.

Editorial Staff

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

The Ultimate WordPress Toolkit

Get FREE access to our toolkit - a collection of WordPress related products and resources that every professional should have!

Reader Interactions

3 CommentsLeave a Reply

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. Catrhy Miller says

    I used the plugin and updated to the order I wanted. But when I go to add the Categories List in the Widgets area, it does not show the updated version. I don’t know what I am doing wrong.

    • WPBeginner Support says

      The first thing that comes to mind would be to ensure you’ve cleared any caching on your site.

      Admin

Leave A Reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.