Categories and tags are the two built-in taxonomies of WordPress. So, you can easily sort your content by adding tags and categories. But many users don’t know how WordPress get category name. So, here is the easy process. To add a category name in WordPress, log in to your WordPress Dashboard and hover over posts. Here you can see categories; click on it.
Now, input your category name in the name input box. You can also add a custom slug for your category. For example, if you already have a few categories and you want to connect with those categories, select a Parent Category. You can also add a description under your category name, and your visitors may better know what the category is.