You’ve written a few posts, and now your sidebar is a wall of “Uncategorized.” Or you’re about to hit Publish and there’s a box on the right you’ve never touched. Either way, this is about categories in WordPress, and it’s simpler than the settings screen makes it look.

By the end you’ll know how to add a category, put it in your menu, show it in the sidebar, and clean up the ones you regret. Also, what the heck a slug is.

What is a category in WordPress?

A category represents a topic, a group of topics connected to one another. It is a method of grouping and sorting content on a WordPress site.

If you have a variety of topics, you should divide your website into sections using categories. But if you don’t specify a category to a post, the post will be automatically filed under “Uncategorized”. That default is the reason so many blogs end up with a sidebar that tells a reader nothing.


For example, a WordPress website can have categories for articles filed under Design, WordPress, Social Media, etc.


How to add a category in WordPress

You have 2 choices. Either you add categories from the post edit screen or from the Posts >> Categories screen.

Choice #1: You can create a category while writing a piece of content. On the right menu, under Categories, there is a meta-box with a list of already created categories. If by mistake you forgot to create a specific category, click Add new category and the situation is rescued. Type the name, click the button, and the checkbox for your new category is ticked before you publish.

An interesting fact to share: after you give it a name, you can choose as well either to be a category or a subcategory. The box labeled Parent Category is what decides that. Leave it on None and you’ve made a top-level category. Pick an existing category and yours becomes a child of it.

Choice #2: On the left menu, under Posts >> Categories. Here all you have to do is to give it a proper name and a slug, then click Add New Category.

What the heck is a slug?

A slug is just a URL friendly name in lowercase, with letters, numbers, and hyphens.


For example, if you create a category named “Beginners Guide”, its slug will be “beginners-guide”.


Only the name is mandatory in order to create a new category. You can skip slug, parent and description boxes if you want. WordPress will build the slug from the name for you.

How do I change a category slug later?

Go to Posts >> Categories, hover the category and click Edit. Change the slug field and save. One warning: if you’ve already told Google about the old category URL, the new one is a different address. WordPress doesn’t redirect it for you, so only change a slug you’ve actually published.

How do I add categories to menus?

Click on Appearance >> Menus. From here, as you can see, you can add Pages, Posts, Custom Links, and not the last, what interests us, Categories.

Once you are here, you wanna be sure to select the right menu (see on top of the page), or for visual aid, see the image below:

If by any chance, your categories aren’t listed, click on Screen Options on top of the screen and check the boxes you want to be listed, to have access to them.

So, after you created all needed categories, check the box for the category you want and click on Add to Menu.

Of course, here you can assign a category to a page or to another category (which will be a subcategory), by simply drag-n-drop elements, as you please and click on Save Menu. That indent step is the bit people miss, and it’s the difference between a flat menu and a tidy one with dropdowns.

How do I display categories?

All categories can be displayed in the sidebar using the categories widget (this only works if your theme is widget ready). Under Appearance >> Widgets, drag the Categories Widget to the Sidebar, and you’re done.

Newer themes use the Site Editor instead. If you don’t see Widgets under Appearance, go to Appearance >> Editor, open your template, and add the Categories block where you want the list to appear. Same result, different door.

How do I edit/delete categories?

To edit, or even more, to delete categories, go to Posts >> Categories, and if you hover your mouse over the one you want to edit/delete, you will see that you can “Edit”, “Quick Edit” or “Delete”.

What’s the difference between “Edit” and “Quick Edit”? Well, “Quick Edit” lets you change only the name and slug, on the other hand, under the “Edit” menu, you can change all of the other aspects.

Deleting a category does not delete the posts inside it. WordPress moves them, and you get to choose where. Pick the category that should adopt them, or leave it on Uncategorized and tidy up afterwards.

After editing/deleting, don’t forget to click “Update”.

How to convert categories to tags?

What is a tag?

Through tags, you identify a piece of content based on keywords. Nothing but a few words that describe a given post the best. The rough rule of thumb: categories are the shelves, tags are the sticky notes on each book.

One of the quickest ways to generate a lot of relevant tags is to use a tool from WordPress, named Categories To Tags. This tool converts categories to tags and/or vice versa.

How do I set up the Categories To Tags tool?

The installation process is similar to installing a plugin. If you’ve never done that, we have a plain-English explanation of what a plugin is.

Step 1: Click on Tools >> Import >> Categories To Tags => Install Now;

Step 2: After installing, click on “Run Importer”;

Step 3: Select the categories that you want to convert, and click on the Convert Categories To Tags button. A confirmation will appear that shows what has been converted.

Coming to an end

That was today’s subject, and I hope it saves you the ten minutes I once lost staring at the slug box. If you’re still deciding what your categories should even be called, the same instinct as picking your site’s look applies: name them for the reader, not for you.

Or, say “Hi” on Instagram, introduce yourself, let’s know each other.

lets-be-awesome-together