How to create Categories in WordPress?


Step – 1 To creat new categories in WordPress, you need to go the Posts -> Categories page first.

Step –  2 On the left side of the page you will see a tab that allows you to create categories. Fill in the category name, its slug (will be used in the category URLs) and the Add New Category button.  For the purpose of this tutorial we will make a new category named Teacher posts.

Step – 3 That is it, your first category is ready. Now, let’s make a sub-category of the Teacher posts one named Subject. Fill in a name and slug the way you did with the first category but this time select Teacher posts as parent for the new category. Then, press Add New Category once more to save thew new sub-category.

How to assign posts to categories

Step – 1 Once you have the category structure created, you can add posts to categories. There are two ways you can do this. The first one is to open a particular post (or write a new one) and place a checkbox in the category you want to assign it to.

Step – 2 The second way is to bulk add posts to a category. To do this go to Posts -> All Posts. Next, select the posts you want to add to a category, click on the Bulk Actions tab, select Edit and finally press the Apply button.

Once you do that, you will few options you can adjust for those posts. One of them is the Categories section. Select the category you want to add those posts to and click on the Update  button.