How to Add Categories and Subcategories to WordPress

WordPress comes with the facility to kind your content material into classes, tags, and taxonomies. One of the most important distinction between classes and tags is that classes will have subcategories or kid classes. In this text, we will be able to display you the way to upload classes and subcategories in WordPress and how to get essentially the most search engine marketing get advantages out of classes.

Understanding Parent, Child, and Sibling Categories in WordPress

Categories are a formidable software and can be utilized now not most effective to kind your content material, however to additionally expand a correct web page construction this is significant and semantic.

Before transferring ahead, we propose you to learn our information on classes and tags. It will will let you know the way classes are other than tags, why they must now not be puzzled or blended up, and finally how to correctly use classes. Once you could have learn it, come again right here and we will be able to proceed.

Let’s think you’re making a commute website online for various locations around the globe. You might need customers to be ready to in finding articles via metropolis and via nation as neatly.

For instance, you’ll be able to upload United States and then publish articles for New York City, Los Angeles, Chicago, and so forth. This is the place you’ll be able to make the most of kid classes. United States would develop into a mum or dad class, and towns can develop into kid classes.

It is vital to word {that a} publish filed below a kid class does now not want to be filed below mum or dad class. For instance, should you assign a publish New York City as class which is a kid class of United States, then you’re loose to make a selection whether or not you wish to have the publish to be filed below each or simply the kid class.

If you select to record a publish below the kid class however now not below the mum or dad class, then your publish will seem most effective at the archive pages of kid class. This specifically useful when you wish to have to steer clear of reproduction content material.

Let’s think you could have created a mum or dad class United States and it has just one kid class, New York City. Now should you record a publish below each mum or dad and kid classes, then the archive pages of each classes will probably be utterly similar.

Having mentioned that, let’s check out how to upload classes and kid classes in WordPress.

Adding Category in WordPress

You can upload a brand new class in WordPress when writing a publish. On the publish edit display screen, scroll down to the kinds meta field and click on on Add New Category hyperlink.

Adding new category while writing a post

You too can upload a brand new class with out enhancing a publish. Simply discuss with Posts » Categories web page and upload your new class. This way is especially helpful, if you wish to have to create your entire classes prior to including content material.

Directly adding a new category without editing a post

Adding Child Category in WordPress

You can edit kid classes the similar approach you added your mum or dad classes. On the publish edit display screen, scroll down to classes phase and click on at the Add New Category hyperlink. This will display you textual content box for including new class identify and a dropdown menu to choose the mum or dad class.

Adding child category from post edit screen

Similarly, you’ll be able to additionally discuss with Pages » Categories web page. Add the identify on your kid class and then choose the mum or dad class from the Parent dropdown menu.

Adding child category from categories page

search engine marketing Benefits of Category Based Site Structure

If you’re the use of search engine marketing Friendly URLs, then your kid class URL will seem like this.

This is a lot more significant and is helping serps and customers perceive what your web page is set. You additionally get an opportunity to upload key phrases into your URL, Keywords assist other people in finding content material on serps.

You can do away with the ‘class’ prefix out of your class URLs via putting in FV Top Level Categories plugin. Simply set up the plugin and it is going to take away class base from URLs of your class archive pages. You gets your class archive web page like this:

Display Categories and Child Categories in WordPress Sidebar

Your WordPress theme will robotically display the kinds for each and every publish. To show your entire classes in your weblog’s sidebar, you wish to have to discuss with Appearance » Widgets web page. Drag and drop classes widget from the checklist of to be had widgets to a sidebar.

Showing child and parent categories in WordPress sidebar

In the kinds widget’s settings, take a look at the field subsequent to ‘Show hierarchy’ choice and click on at the save button. Visit your web page and WordPress will display your classes with kid classes aligned below the mum or dad class.

Categories and child categories in WordPress sidebar

We hope this text helped you find out how to upload classes and kid classes in WordPress. You may additionally need to have a look those maximum sought after class hacks and plugins for WordPress.

If you really liked this text, then please subscribe to our YouTube Channel for WordPress video tutorials. You too can in finding us on Twitter and Facebook.

Recent Articles

How to record screen on Mac running macOS Big Sur, Catalina and Mojave

Have you ever wondered how to record a screen on your Mac? Well, whether you want to record a video clip, document...

How to set Screen Time on Mac

Screen Time is a useful productivity tool that aims at controlling the time spent on your device. It mainly addresses the negative...

How to fix DNS server not responding on Windows

DNS servers play a crucial role in accessing any websites on the internet. You need to first access DNS server whenever you want...

The 4 Most Secure Phones for Privacy That You Can Buy

Before starting the article we would like to make it clear that no phone is 100% secure. But there are few companies...

The 10 Best Google Keep Extensions For Chrome And Firefox

Google Keep is an amazing service of Google that help you in making notes. It makes our daily life easy with its...

Related Stories

Leave A Reply

Please enter your comment!
Please enter your name here