Table of Contents Show
- how to add categories and subcategories in WordPress
- Recognizing Parent and Child Categories in WordPress
- How To Create Categories In WordPress From Dashboard
- How To Add Subcategory Or Child Categories In WordPress
- How To Edit Category In WordPress
- How To Add Categories In WordPress From Post
- Benefits Of Using Category In Website
- How To Display Categories And Sub-categories In WordPress Sidebar
In WordPress, your Posts could be organized into various classes and tags. You may even make subcategories for additional organizations. So you have to know how to add categories and subcategories to a WordPress website.
It is important to Use categories and subcategories properly, which means it’s possible to help your readers find the material they are interested in. Appropriate content categorization can enhance your site’s SEO rankings too. In this post, we will discuss details about how to add categories and subcategories in WordPress.
how to add categories and subcategories in WordPress
Among the best ways To arrange your articles onto a WordPress site is via using classes. Categories allow website visitors to navigate through the site’s content by subject or a group instead of performing it chronologically. Before going further with this tutorial, it’s very important to be aware that categories are not the same as tags. Categories are used for a group of articles on a WordPress site while tags are used for describing particular details of a specific article.
There are two ways through That you may create categories in WordPress. They comprise;
- 1. Developing a class from the categories menu beneath Articles in the dashboard.
- 2. Developing a class directly from the post-production and edit display
Recognizing Parent and Child Categories in WordPress
Categories are a powerful instrument. They are not merely a means to sort your articles. They also assist you to build a correct site structure that’s purposeful and semantic. This is fantastic for your WordPress SEO.
Significant: If you are unsure about the gap Between tags and categories, have a look at This manual on categories versus tags. This explains why tags and categories are distinct, and also how to use these properly.
Now you could be wondering when and why would someone must utilize kid categories (subcategories) in their WordPress site?
Let’s say you are Developing a Blog site for unique destinations across the globe like Amazon. You may want users to have the ability to locate posts by both city and country.
By Way of Example, you might Have an informative article about the very best waterparks in the USA. It might make sense to utilize ‘United States’ as the class for this post.
However, You may also Have posts about the best places to eat in nyc, Los Angeles, Chicago, and much more.
This is where you can Utilize sub or child groups. ‘United States’ could grow to be a parent group, and also the cities may become child classes.
A post filed under a Child class does not need to also be submitted under the parent group. In our instance, we might have abandoned ‘United States’ unchecked and only set the article at the New York City class.
If You Submit a post Under the kid category but not below the parent group, then your article will look just on the archive pages of this child group. This is very useful once you would like to prevent duplicate content.
With That Said, Let us take a peek at how to add categories and subcategories in WordPress.
How To Create Categories In WordPress From Dashboard
You can easily create categories in WordPress from your WordPress dashboard panel. So follow these steps for how to add categories. First, go to your WordPress admin panel and log in to your WordPress dashboard. After successful login to your wp-admin, you can see the left side menu options.
Before creating a new categories or any sub-categories you should know the basic terms related to categories and subcategories
Title: This is where we’ll input the title of our categories. This is the way the title will appear on the site.
Slug: This really is a URL-friendly variant of the category title. It’s generally all lowercase and contains only letters, numbers, and hyphens. If you don’t assign one, WordPress will certainly do it to you.
Parent Category: Categories arrive with a hierarchy that lets you select parent and child categories. As an instance, you might have a parent group”Fruits” and beneath it have a young child group”Oranges”. When assigning articles to categories that have parent and child categories, you’re permitted to select whether you would enjoy the post to look under both categories or below only the kid group.
If you decide to submit a post below the child group but not below the parent group, then your article will look just on the archive of the kid category. This especially helpful once you would like to prevent duplicate content. If you submit a post below the parent and child categories, then the record pages of the two categories will be entirely identical.
Description: It can be a text area that permits you to bring a description of this class. This is especially beneficial in knowing what all those categories are all about.
On the Ideal hand side of this display, We’ve Got a desk to the available categories which has the following columns;
Title: This is actually the title of this group.
Description: This reveals the description input from the description text area when generating the article.
Slug: This reveals the group slug described previously.
In the left side menu you can see the post options just hover the mouse on the post options you can see the categories options, Just click on the categories options to add new categories.
After seeing the categories options just click on the Categories options, a new page will be open where you can see the options just like the above picture.
So to add new categories just write the categories name you want to create and fill the slag (It is not mandatory) after that select the parent categories if you want to add a few descriptions of the categories and the final step is to click on the add new categories.
That’s it you create categories in WordPress finally.
In the above picture you can see the I just add a new category name “WordPress”. By just clicking on the Add new category the category will be created.
In the above pic you can see that just create a new category name WordPress and the meta descriptions is define also and slug is WordPress and the Count show 0 that means in the category does not contain any post or zero post.
How To Add Subcategory Or Child Categories In WordPress
To create a new sub-category is very easy just like create a category and the basic difference is in subcategory you have to select the parent category.
You can see in the above picture I just create a subcategory name Themes which parent category is WordPress and I mention the slug and descriptions also for the category.
In the above picture, you can see that the category themes are created under the category WordPress that’s why the “–” line shows before the category.
How To Edit Category In WordPress
To edit any category from a WordPress post is very easy. Just you have to click on the edit options to edit any category you want.
After click on the edit options of the cateogory you can see all the options of the particular category and you have to edit all the field which you want to edit.
After correct or edit all these above field just hit the update button to update the particular category. To delete any category you can directly see the trash options or delete options to delete any category.
How To Add Categories In WordPress From Post
You can easily add a new category when you write a new post. Se the left side or your right side options and then click on the post options then you can see the categories options.
Just click on the categories options then at the bottom you can find the add new category options.
To add a new category you have to click on the “add new category” then a simple Dropdown box will be open where you have to put your category name.
Once you click on the add new category options then you can see the options just like the below.
if you want to add a regular category then you don’t have to select any parent category and if you want to add the category under any sub-category then you have to select the parent category options.
Benefits Of Using Category In Website
There are lots of benefits of using category-based posts and site structure. If you select your post URL structure on category-based then your post URL maybe like this https://example.com/category/post-title/
If you add category into post URL then the search engine like google easily understand about your site structureand about the site and user also understand about your post details categories.
You may know that WordPress is a very easy-to-use platform where you can easily change your post URL structure from the permalinks options.
To find the permalink you have to go to the setting options, just hover on the setting options then you can see the permalink options. Just click on the permalink options then you find the custom post structure for your site.
If you want to set a custom post URL for an existing post then you have to set a custom redirection for your previous existing post. If you don’t know how to set custom redirections from your existing post then you can check the guide once.
How To Display Categories And Sub-categories In WordPress Sidebar
You can simply display any category on your website sidebar or footer options. You can also select any category according to your needs.
To display category post in the sidebar or footer you have to go for Widgets options. To go to the widgets options. You can find the widget options from your WordPress Appearance sections.
Just click on the widgets options you can find the footer widgets options and default sidebar options according to your themes templates.
After add or delete any post widgets from your dashboard options if changes are not show then delete your browser cache options and try to clear coockies if problem not solve then please clear your WordPress site cache from WP Admin panel.
If you like this article is helpful for your then plaese do a share on your social media profile and join our newslater options which you can find the footer to get updated notifications.