How to Add and Delete Category in WordPress (2023)

How to Add and Delete Category in WordPress (2023)

Do you need help to add and delete category in WordPress? Are you trying to classify a WordPres post using a category but don’t know how to?

WordPress beginners are often unaware of awesome features and full power of WordPress. As a beginner you might have heard of category, tags and other taxonomy terms but you’re unaware of it’s proper use and benefits.

Category is a powerful tool to organize your content and maintain the proper structure of your site in a semantic manner. It is very useful interms of dividing your website into the section for the website that publishes content on different topics. It also helps web traffics to choose the content of your site. Bloggers often use category to systematically organize content according to user preference.

In this article, we are going to learn how to add, edit, and delete category in WordPress. We’ll also cover how to change and display categories in WordPress

What is Category?

Category is a taxonomy used to organize content in WordPress. It is a hierarchical way of grouping similar content in WordPress. It also enables visitors to navigate around the website easily and also provide better user experience. In another word, category helps to determine the flow of content. You can only add category in WordPress posts.  Also, WordPress categories and tags are two different things but both are used to organize content.

Let’s take a look at examples on real world scenario, ecommerce website can have categories upon Clothes, Electronics, Shoes and Notice. They can have subcategoies upon Men’s clothing, Women Clothing, Child Clothing and so on.

Let’s start:

Watch Video Tutorial

Add Category in WordPress

It is extremely easy to add, edit, and delete category in WordPress. The first thing you need to do to add category is log in to your WordPress admin panel. WordPress allows you to add categories in two ways.

The first way of adding category is from the post editing screen in WordPress dashboard. This is a direct and easiest method suitable for beginners.

how to add categories in wordpress
  • Navigate to the post edit screen via clicking a post tab.
  • Click on the document tab present on the right-hand side and go to the category meta box.

Note: In case you are using a classic editor, you can see the category meta box present on the right side below the update button. However, we recommend you to use the Gutenberg editor.

Checkout WordPress Gutenberg Guide For Beginners

  • Click on the add new category link.
  • Type the category name on the box.
  • Then, click on the add new category button.

Now, your post is properly categorized.

Another way to add categories in WordPress is from the category screen. This method is the easiest way for adding WordPress category. It is usually effective for adding and managing all categories at once. So if you’re just customizing your wordPress site then this method is for you.

how to add and delete category in wordpress
  • First of all, navigate to the Posts>>Categories.
  • Type the name, slug, and description in the box.

Note: The slug is the name you choose for a link to the category that appears in small letters in the URL. If you’re unsure about slug then just leave it blank. The WordPress will add the category name as a slug.

  • You can also create a parent and child category in WordPress. Choose a parent category from the drop-down option to make a child category under that parent category as you like.
  • Then, click on the add new categories button to save the changes.  

Display Categories in WordPress

how to add categories in wordpress

WordPress displays category in WordPress either in the navigation menu or the widgets by default. Category widget is the best way to display categories generally in the sidebar.

  • First of all, navigate to the Appearance>>Widgets.
  • Then drag and drop categories to the sidebar.
  • Customize the title and check the checker box to display category as dropdown, show post counts, and show hierarchy for a nested category.
  • Click on the save button to save changes.

Edit WordPress Categories

how to edit categories in WordPress

In order to edit WordPress categories, you need to navigate to Posts>>Categories. Next simply hover over the WordPress category to edit it. Then, click on the edit option displayed below the category name. Then you can easily edit categories, change its slug or description. Most bloggers do not add description to thier category as it is not mandatory. Also, it is recommended to add a short slug of the category which is often same as the category name itself.

Delete Categories in WordPress

how to add and delete categories in wordpress

How to delete categories in WordPress is one of the most frequently asked questions to us.

You can delete WordPress category in WordPress from the Posts>>Categories. All you have to do is hover over the WordPress category you want to delete. Then, click on the delete. This is also an easy method to bulk delete category from WordPress dashboard.

If you’re wondering whether deleting any category will delete the post listed on it, then you don’t need to worry. Deleting category doesn’t delete the post categorized under it. Infact, all of the posts listed on that category will automatically be listed on the uncategorized by default. So you do not need to worry about losing the published posts.

That’s it! You’ve successfully added category in WordPress.

Change Category in WordPress

Let’s say you want to add category to menu of your site but the name of the category is a bit too long and you want to change it. So how would you change category in WordPress?

One way to do that is to create a new category and add all posts to that category. It might work if you’re website has few posts. However, if you’ve hundreds of post on your site then adding categories to each post can be very time consuming.

Renaming WordPress category is not that difficult as it sounds. All you have to do is change the name of the existing category to a new one. Doing so will only change the category name and all the post categorized under it will remain same. The job is done. You need to do nothing else.

When you change the category name, WordPress saves pages on the same category ID number. Hence, changing the category or renaming the category won’t result in a page not found problems as WordPress redirects the visitors to the right posts automatically.

Frequently Asked Questions

Below I’ve answered some questions we get asked the most about how to add category in WordPress.

How to add category to a post in WordPress?

It’s quite easy. You need to open the target post and then click on post from the right handside. Then scroll down to category section and choose the right category from there. Once you’ve done that, update your post.

How to add category to a page in WordPress?

Pages do not have categories and tags by default. Hence, you can not add category to any WordPress page.

How to remove category in WordPress from URL?

To remove a category from WordPress URL, go to settings>>permalinks. Then go to category base and type a dot “.”. Since, WordPress uses the default prefix when you left the field blank, so you need to type dot to remove a category from the URL.

Final Thoughts

Thus, this is hwo to add category in WordPress. You can successfully add, edit and delete category in WordPress by following the above-described method. Hopefully, you find this article helpful.

In another tutorial, I’ll be covering complete guide on how to add tags in WordPress.

Still confused? If you have any queries or need WordPress expert help then come join our Facebook Group or you can also ask your questions in the comment section below.

If you find this article helpful, don’t forget to join our newsletter for more informative articles and follow us on Facebook and Twitter.

Must Read Articles: