In WordPress, the best way to organize WordPress posts is to use categories; you should add categories to keep track of your posts. There are two pre-defined taxonomies: Categories and Tags. Tags, in addition to categories, are important for keeping track of postings. At times we need to add or edit categories in WordPress. In this article, we are just going to learn how to do that properly.
What Are Categories in WordPress?
Categories mean sorting similar material into classes or divisions; think of them as labels. For example, you could have some posts about news and others that are all tutorials. Two categories you might use to identify these categories are “news” and “tutorials.”
WordPress allows you to sort your articles into categories and tags. You can also classify your categories into sub-categories to further organize your information. It’s important to use categories and sub-categories properly to help users navigate and find resources on your website. Content categorization will help search engines better crawl your website pages as well.
Parent and Sub-categories in WordPress
Parent Categories are used in WordPress to create this hierarchy. We can opt to assign a category a parent category when we create it. For example, we might create a new category for “Tutorial” and “Code.” Here “Tutorial” is a parent category of “Code,” and Code is a sub-category of Tutorial.
The post will belong to both Category and sub-category, and on the website, it would appear on the “Tutorial” archive and the “Code” archive.
Similarly, if you are doing articles on marketing; Marketing would be the parent category, and SEO, SEM SMM, etc., would be the sub-categories.
We’ll teach you how to add categories and sub-categories in WordPress step by step in this article.
How to add and edit categories in WordPress?
When you open the Posts list in the WordPress admin, you’ll see that Categories is one of the columns used. WordPress comes with one type by default (there must always be one), which is “Uncategorized” in this case. So this first post, titled “Hello world!” falls under the Category of uncategorized.
Method 1: Adding, editing, and updating categories from the post pages
Step I: Go To Admin Dashboard -> Posts
Step II: Click on the post title you want to categorize or edit
Once you are on the post editor after clicking “Hello world!.” You will see the “Categories” option on the right sidebar; the selected post’s active ‘category’ is marked as checked.
Step III: to create and edit a new category, click on “Add New Category”
The categories and sub-categories (if previously added) are shown here.
- Case I:
If there aren’t any categories made, you can click on “Add new category” to create a new category and name it accordingly.
- Case II:
If there are categories made previously, you can pick the relevant category for the given post. Consequently, you can also edit the Category of an individual post in a similar fashion.
Step IV: Update the post
Method 2: Adding editing and updating categories through the categories page
It can be difficult to edit, rename, or adjust the settings of a category. However, with little assistance, this would be easy. When editing it, you can quickly modify the name, slug, and even the parent category of an existing category.
Step I: Go to Admin Dashboard-> Posts -> Categories
On the category section, you will see the list of all categories.
Here you can:
- add or create a new category
- Edit the name, slug, description of the category
- Specify parent and subcategories
- See the count of posts on a particular category
Step II: Creating a new category and editing the existing category pages
To add a new category
Simply fill in the details of name, slug, parent category, and description on the respective text boxes and hit ” Add New Category”
Note: Leave parent category to ‘none’, if the category you are going to add is itself a parent. Else choose the parent category from the drop-down menu.
To Edit and update categories
You can edit the categories in two ways: the quick edit and edit option.
- The Quick Edit optionYou’ll see a menu choice to edit the slug, as well as the name. You should go ahead and change the details that need to be changed. When you are done click Update Category.
- Edit a Category through the Edit Option
With the Edit option, you can edit all of the Category’s information here, including the name, slug, and parent link, as well as the description.
Once you’ve finished editing the category, click ‘Update‘ to save your updates.
Now you know how to customize categories in WordPress using the two approaches above. This way, you can edit and change the website’s categories at any time.
How To Delete Categories in WordPress?
You can remove each group from the list by hovering over it and pressing the Delete link that appears. Alternatively, you can use the checkboxes to pick multiple categories and perform a bulk action, such as:
Deleting a Single Category
You can delete a particular Category by pressing Delete.
Deleting multiple Categories at once
- If you want to delete multiple categories, then select the categories you want to delete. All the checked categories will be affected so make sure you are selecting the right categories to delete.
- Then click on bulk action.
- Then, click delete and click apply.
- The categories you selected will get removed when you do so.
Note: Be cautious when you are deleting the parent category, as the sub-categories under it will be moved up a level.
That’s how you can add, create, edit, and remove categories in WordPress.
The Category is a useful element for guiding users around the website. You may create as many categories as you like, but keep in mind that your website should not become cluttered. Be orderly, and remove any categories you don’t want.
Also, remember that WordPress includes various taxonomies that are similar such as tags, and themes frequently utilize their own custom taxonomies as well. The method for adding, editing, and removing them is similar to what we just stated.
Now you know how to edit, add and delete Categories on WordPress. Do check out our next blog that explains How to edit footers in WordPress.