Home
/
WordPress Tutorials
/
How to Create & Use WordPress Categories

How to Create & Use WordPress Categories

WordPress categories are a very convenient way to organize your posts. You can have parent and child categories, making hierarchical arrangement of your posts possible. In addition, one post can be placed in more than one category. This gives you a lot of flexibility to show exactly the posts you want, exactly the way you want them in widgets, menus, or directly in your WordPress theme.

How to Create WordPress categories

To create new categories in WordPress, go to “Posts” > “Categories” page.

Screenshot showing how to create a new category in WordPress

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 (which will be used in the category URLs), the category description, and then press “Add New Category”. For this tutorial, we will make a new category named “Family posts“.

Screenshot showing the newly created category

Now the new category in your WordPress is ready. Now, let’s make a sub-category of the “Family posts” one named “Nephews”. Fill in a name and slug the way you did with the first category but this time select “Family posts” as a parent for the new category. Then, press “Add New Category” once more to save the new sub-category.

Screenshot showing how to create a new subcategory in the Parent category

How to assign posts to categories

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.

Screenshot showing how to assign a WordPress category or subcategory from the post editor in WordPress

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.

Screenshot showing how to assign a WordPress category or subcategory from the All Posts' Bulk editor

Several new sections will show, allowing you to edit different settings of the selected posts. One of them is the Categories section. Select the category you want to add those posts to and click on the Update.

Screenshot showing how to assign a WordPress category or subcategory from the bulk editor in WordPress

Now, the posts you’ve marked previously belong to the category you’ve chosen.

Screenshot showing how the assigned WordPress categories or subcategories from the All Posts under the

Tutorial Menu

Share This Article