Get the Official WPSaviour App Now!

Beginner’s GuideBlog

How to Add Categories and Subcategories to WordPress

WordPress comes with the flexibility to kind your content material into classes, tags, and taxonomies. One of many main distinction between classes and tags is that classes can have subcategories or baby classes. On this article, we’ll present you the best way to add classes and subcategories in WordPress and the best way to get essentially the most search engine marketing profit out of classes.

Understanding Mother or father, Youngster, and Sibling Classes in WordPress

Classes are a strong device and can be utilized not solely to kind your content material, however to additionally develop a correct website construction that’s significant and semantic.

Earlier than shifting ahead, we suggest you to learn our information on classes and tags. It would make it easier to perceive how classes are completely different than tags, why they shouldn’t be confused or combined up, and lastly the best way to correctly use classes. Upon getting learn it, come again right here and we’ll proceed.

Let’s suppose you might be making a journey web site for various locations all over the world. It’s your decision customers to have the ability to discover articles by metropolis and by nation as properly.

For instance, you’ll be able to add United States after which put up articles for New York Metropolis, Los Angeles, Chicago, and many others. That is the place you’ll be able to make the most of baby classes. United States would grow to be a father or mother class, and cities can grow to be baby classes.

Child and parent categories in WordPress

It is very important be aware {that a} put up filed beneath a baby class doesn’t have to be filed beneath father or mother class. For instance, for those who assign a put up New York Metropolis as class which is a baby class of United States, then you might be free to decide on whether or not you need the put up to be filed beneath each or simply the kid class.

In the event you select to file a put up beneath the kid class however not beneath the father or mother class, then your put up will seem solely on the archive pages of kid class. This significantly useful once you wish to keep away from duplicate content material.

Let’s suppose you might have created a father or mother class United States and it has just one baby class, New York Metropolis. Now for those who file a put up beneath each father or mother and baby classes, then the archive pages of each classes will probably be fully an identical.

Having stated that, let’s check out the best way to add classes and baby classes in WordPress.

Including Class in WordPress

You possibly can add a brand new class in WordPress when writing a put up. On the put up edit display, scroll all the way down to the classes meta field and click on on Add New Class hyperlink.

Adding new category while writing a post

You may also add a brand new class with out modifying a put up. Merely go to Posts » Classes web page and add your new class. This technique is especially helpful, if you wish to create all of your classes earlier than including content material.

Directly adding a new category without editing a post

Including Youngster Class in WordPress

You possibly can edit baby classes the identical approach you added your father or mother classes. On the put up edit display, scroll all the way down to classes part and click on on the Add New Class hyperlink. This may present you textual content subject for including new class identify and a dropdown menu to pick out the father or mother class.

Adding child category from post edit screen

Equally, you may as well go to Pages » Classes web page. Add the identify to your baby class after which choose the father or mother class from the Mother or father dropdown menu.

Adding child category from categories page

search engine marketing Advantages of Class Primarily based Website Construction

If you’re utilizing search engine marketing Pleasant URLs, then your baby class URL will appear to be this.

http://instance.com/class/united-states/new-york-city/

That is rather more significant and helps engines like google and customers perceive what your web page is about. You additionally get an opportunity so as to add key phrases into your URL, Key phrases assist individuals discover content material on engines like google.

You possibly can eliminate the ‘class’ prefix out of your class URLs by putting in FV High Degree Classes plugin. Merely set up the plugin and it’ll take away class base from URLs of your class archive pages. You’re going to get your class archive web page like this:

http://instance.com/united-states/new-york-city/

Show Classes and Youngster Classes in WordPress Sidebar

Your WordPress theme will robotically present the classes for every put up. To show all of your classes in your weblog’s sidebar, that you must go to Look » Widgets web page. Drag and drop classes widget from the record of obtainable widgets to a sidebar.

Showing child and parent categories in WordPress sidebar

Within the classes widget’s settings, examine the field subsequent to ‘Present hierarchy’ choice and click on on the save button. Go to your website and WordPress will present your classes with baby classes aligned beneath the father or mother class.

Categories and child categories in WordPress sidebar

We hope this text helped you discover ways to add classes and baby classes in WordPress. You may additionally need to have a look these most wished category hacks and plugins for WordPress.

Download The WPSaviour App Now

Related posts
Beginner’s GuideBlogShowcase

7 Best Shopify Alternatives in 2020 (Cheaper and More Powerful)

Beginner’s GuideBest WordPress PluginsBlog

14 Best AI Chatbots Software for Your Website (Comparison)

Beginner’s GuideBlogTips

Magento vs WooCommerce – Which one is Better? (Comparison)

Beginner’s GuideBlogTips

12 Best Calculator Plugins for Your WordPress Site

Sign up for our Newsletter and
stay informed

Leave a Reply

Your email address will not be published.

Fear Of Missing Out?

Sign up with your email address to receive WordPress tips and updates
SUBSCRIBE NOW
Terms and Conditions apply
close-link
Click Me