Learn how to change the class order in WordPress

Do you want to change the category order in WordPress?

When you list categories in WordPress, they are displayed in alphabetical order by default. Some users may want to change this to their own custom category order.

In this article, we are going to show you how to easily change the category order in WordPress.

Why change the order of the categories in WordPress?

When you list categories using the Categories widget or block, WordPress lists them in alphabetical order by default.

Many website owners use categories to organize their blog content. You may want to change the default category order and customize it to your liking.

For example, some websites may not want their Advertisement category to be first on the list.

If you run a WooCommerce store, you may want to adjust the order of the product categories to show your best-selling product categories at the top.

However, the default category widget or block does not have options for changing this order.

Fortunately, there are WordPress plugins that allow you to change the category order and manually adjust how they appear on your website.

Let’s take a look at how you can easily change the category order in WordPress.

Changing the category order in WordPress

First you have to install and activate the Category Order plugin. For more information, see our step-by-step guide on installing a WordPress plugin.

After activation just go to Posts »Taxonomy Order Page to rearrange your WordPress category order.

Order page for taxonomy

The plugin simply lists all of your categories on this page, and you can manually drag and drop them to rearrange the category order.

Just click on a category and move it up or down.

If you are using child categories, moving the parent category also moves the child categories.

Move categories up and down to rearrange them

Don’t forget to click the Refresh button when you have finished rearranging the category order.

You can now add the Categories widget to your WordPress sidebar by visiting Appearance »Widgets Page.

Categories widget

After that, you can visit your WordPress blog to view the categories in the order you chose.

List of reordered categories

Change the order of the product categories in WooCommerce

The plugin also works for WooCommerce product categories. This allows you to choose a custom product category order and list your most popular product categories at the top.

Just visit Products »Taxonomy Order Page for rearranging product categories.

Rearrange product categories in WooCommerce

The plugin lists all of your WooCommerce product categories. You can easily rearrange them in any order using drag and drop.

Don’t forget to click the Update button when you’re done.

You can now add the Product Categories widget to your online store sidebar by visiting Appearance »Widgets Page.

Product category widget

After that, you can visit your online store website to view your product categories in your custom product category order.

Product categories reordered

We hope this article has helped you learn how to change the order of categories in WordPress. You might also want to see our ultimate list of WordPress plugins for all websites and our comparison of the best email marketing services to drive your traffic and sales.

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

Comments are closed.