WordPress is a widely accepted and powerful open source content creation tool. If you are thinking of getting started on your blog or website, this CMS is the one for you. Millions of stunning mobile-ready themes and customizable options, along with free support, make WordPress the most convenient website tool for young and adults. In WordPress, you can group your content using categories, tags, or taxonomies.
In WordPress, categories can be considered as general labels as they are used for grouping of posts on a WordPress website. On the other hand, tags are used for describing specific details of a post. To improve readability, you can break your content into various categories in WordPress. In this article, we will teach you how to create Categories and Sub-Categories in WordPress.
Various types of category
There are two kinds of categories in WordPress that almost every user knows about. These are the parent category and the child category. Some people like to call the latter one a subcategory. Apart from these two important ones, there is also a sibling category.
Let’s take an example and know about the first two categories. Suppose you own a travel website in WordPress, and you want to cover lifestyle details about all the principal cities of the country. Here, the country comes under the parent category, which shows you the cities in its child category.
How To Add a category to WordPress
Now that you know about different types of categories let’s walk you through the steps of adding a category to WordPress. It is relatively easier to add a category while you are in the process of writing a post in WordPress. Just open the category box and click on ‘add new category’ to enter the desired category name. Press enter, and you are done.
There is an alternative to this method. Simply jump to categories from the Post option on the left-most menu of your WordPress. Fill the category name box and the slug box.
How To Add a subcategory to WordPress
Like category addition, a subcategory can also be added during the editing of your post in WordPress. Scroll down the category meta box and press the option of ‘add new category.’ This time after entering the name of the category, you have to select the parent category from the below selection bar.
If this aforementioned method doesn’t agree with you, you can go for the one I am about to say. From the left-most menu options, choose page and go to Categories. Here, one will get the option to add the child category name and select the parent category from a drop-down list.
How to Display category and subcategory to WordPress
For both the content creator and the readers, it would be convenient to see all the categories and subcategories together at one side of the page. To achieve this, you have to go to Appearance and then jump to the page of the Widget.
A list will appear to you with various options to set up the main sidebar. Choose the category, and it will lead you to another series of options. From ‘display as drop-down,’ ‘show post counts’ and ‘show hierarchy’ choose one and save your choice.
Now revisit the site, and this time you will see all your category names appearing under a parent one in an aligned manner.
Suppose you want to delete the category forever; that is also pretty simple. You just have to go to the list of categories. If you keep your mouse on it, you will see a Delete option appearing on the top. Once you press the delete button, your category will disappear forever. You can also delete multiple categories at a time.
Optimizing Categories for SEO
Categories in WordPress is significant with regards to organizing your website content and ensuring that everything is anything but difficult to follow for the reader. Categories can also sometimes have a negative impact on SEO because of the default WordPress settings.
To avoid it you can use the “YOAST SEO” plugin. After you install and activate the plugin, you need to go to the Taxonomies tab. In Taxonomies tab select “No” for show categories in search results option. This will prevent search engines (Google) from indexing your category listings themselves. It will also help you away from plagiarism inconveniences.
If you are a first time WordPress user, I hope these above points will help you a lot. If you have further confusion about adding and editing categories and subcategories in WordPress, feel free to reach us, and we will help you out with whatever questions you have.
Also, if you want us to cover a specific topic, you can drop that into the comment section as well.