Categories

You can use categories to define sections of your website and group related posts together.

Jun 2020 5 minutes

To watch the video, login or sign up for FREE

Categories video screenshot

Transcript

You can use categories to define sections of your website and group related posts together.

The default category is named “Uncategorised”, but this can be easily changed in your settings. Pages cannot be associated with categories, just Posts and sometimes depending on your Theme it can be other post types such as testimonials or staff or even properties.

There are two ways to add categories, they can be added whilst adding or editing your post which you will find on the right-hand side and I will show you in another video or they can be added via the Categories menu option.

Adding categories whilst editing your Post, will automatically assign that particular post to those categories, that you have created on-the-fly, but adding categories here using the Categories menu option will simply add them to the list of available categories.

When you click on the Categories menu option you will be shown a list of the categories that may already exist, or you might be shown just your own categorised default category. A bit of a mouthful! And you will also be given these blank fields to allow you to add a new category as well.

To add a new category you would need to give it a name and the slug, now usually you don’t have to put anything in here and it would create one for you or you can create something more unique.

If you would like to create a structure or a hierarchy for your categories then you can assign a parent category in this dropdown menu, for example, you might have a “Car” category and under that, you might have a child category such as “Ford” or “Toyota” or “Vauxhall”, it is completely optional.

Then you have a description, again this is not something you need to populate with anything to create your category, but some themes may display this description on the page on the front-end. You might want to put something in here and it is worth checking what your theme does (on the customer-facing side).

If you click to “Add New Category” and here it is displaying at the top and when you hover over any category, a few links appear underneath, which allows you to change those fields that we have just created.

“Quick Edit” just allows you to quickly change the name and the slug. “Delete” your category completely, permanently. Now if you do delete it and it has some posts assigned, they simply won’t be assigned to that category any more it will not delete the posts.

Then you can view on it the front-end of your site, now at the minute there isn’t anything assigned to this category, but we could look at this one just as an example. Here in this default Theme, it begins to list all the posts assigned to that category.

If you would like to permanently delete numerous categories at once, you can click the checkboxes on the side and select “Bulk Actions”, and then from the dropdown list click “Delete” and then click the “Apply” button and that will remove them straight away.

Again, deleting them does not delete the posts in that category, it simply unassigns them from that category and if you do have the uncategorised category, they could fall back to that as the default.

The default post category can be configured in your Settings and Writing section which is here. That is the American one, that would be your British one – you can always change that if you wanted to fall back to something else and save that option.

Adding categories within your Post, it’s an expanding box in the sidebar here and it will show you a list of what is already existing in your setup.

If you would like to create a new category and assign it to the Post at the same time you can just click the “Add New Category” link here and these two fields will appear and again you can create a title and assign any parent category if that is relevant. Click the button and then you might want to update your live post, or save the draft if this is a new post.

Now, if you are using the Classic Editor generally you would find the categories block in the same location with a very similar set up, with the checkboxes to select something that already exists, or a link to create a new category as well.

Tags:

Register now for free

OctoPress gives you the knowledge and insights to manage your WordPress website.

Sign up today!