People used WordPress for building blog sites in the first place. However, by extending the use of WordPress for different multi-task websites, it has become more popular among webmasters. However, the flexibility of WordPress post types cannot be ignorable as it may be its main aspect. Posts can be organized based on their categories by a parent/child relationship. In this way, You can build a hierarchical arrangement for better access to the posts by the user. Moreover, users can reach the posts through categories in widgets, menus, or directly through theme pages. Additionally, the posts archive can be displayed in a distinct page for easier accessibility. And now, the question is how we can create categories in WordPress?
In this article, I am going to describe the ways of creating categories, managing them, and the methods of accessing them. So, stay tuned!
Creating categories in WordPress
A. Create categories in WordPress Through dashboard menu
First of all, after logging into the website admin dashboard, reach the categories menu through Posts > Categories.

Then, in the categories settings, select a name for your category, a slug which is the URL by which you can reach it, and also you can assign a description to the category.

Furthermore, you can locate others under the parent category as child categories.

But you might ask yourself what is the usage of a set a category as a parent and one another as a child?
Imagine you are a blogger who travels around the world. You can categorize your trips like this:
- World trip
- Nature trip
- Family trip
- …
In this example, we want to set child categories for the World trip. We can set child categories like this:
- Asia
- Europe
- North America
- South America
- Africa
- Oceania
- Antarctica
Continents could be a group of child categories. If you want to guide your readers better, you can add even more child categories. For example, for Asia:
- China
- Japan
- Iran
- Hong-Kong
- Malaysia
- ….
Now when a visitor who is reading a post on your site about Japan and looks at your website’s breadcrumbs, see this:
World trip > Asia > Japan
In future posts, we will talk more about the details of a great category system.
B. Create categories in WordPress through Add new post/edit post menu
Whenever you are creating a new post or editing a post, you can directly add a new category on the right side menu. Click Add New Category to create a parent/child one.

Assigning a category to the posts
There are also two easy ways to assign categories to the posts. I will describe both methods in the following section.
A. In the document section of the post
You can assign the pre-built or new categories to a post in the side menu of a post edit window. Different posts can have multi-similar parent and child categories. Therefore, all these posts can be displayed on an archive page.

B. Through All Posts table
Click All Posts in the Posts tab of the admin dashboard. For each post, you can assign the pre-created categories to it by clicking Quick Edit. After selecting the appropriate category, click update to save changes.


Conclusion
Finally, we know how to create categories and relate them to specified posts. It is a great feature of WordPress websites by which you can connect your post-types. We recommend if you are a WordPress beginner, set your categories on your localhost. Then implement all posts and categories to your main website.
In this article, we showed you how to create categories in WordPress and connect posts by their categories. More amazing topics are waiting for you! Don’t hesitate to contact us.
Veta Thurlow 1 year User of HamyarWp
Thanks very interesting blog!
boss 2 years User of HamyarWp
You are welcome. We appreciate it.