---
title: How to Add Categories and Subcategories in WordPress
description: "**In short:** In the dashboard go to **Posts → Categories**, type the category name, choose a **Parent Category** if you want a subcategory, then click **Add New Category**. Then select it for any post from the sidebar while editing. ##…"
url: "https://www.hyyat.com/en/knowledgebase/how-to-add-categories-in-wordpress/"
updated: "2026-10-21"
category: WordPress explanations
tags:
  - WordPress
---

# How to Add Categories and Subcategories in WordPress

**In short:** In the dashboard go to **Posts → Categories**, type the category name, choose a **Parent Category** if you want a subcategory, then click **Add New Category**. Then select it for any post from the sidebar while editing.

## Steps to add a new category

1. In the dashboard go to **Posts → Categories**.
2. Type the **Name** as visitors will see it.
3. Type the **Slug**, the part that appears in the URL; keep it short.
4. For a **subcategory**, choose its main category under **Parent Category**.
5. Add a short **Description** if you like; some themes show it on the category page.
6. Click **Add New Category**.

## Assign posts to a category

- **One post:** while editing it, tick the category under **Categories** in the sidebar and click Update. See [how to add a post in WordPress](https://www.hyyat.com/en/knowledgebase/how-to-add-a-new-post-in-wordpress/).
- **Many existing posts at once:** in **Posts → All Posts** tick the posts, choose **Edit** from Bulk actions and click Apply, tick the category, then click **Update**.

## Default category and deleting categories

- Any post without a category goes to **Uncategorized**. You can rename it or choose another default in **Settings → Writing**.
- Deleting a category does not delete its posts; they move to the default category.

To show the category in your site menu, see [how to add menu items](https://www.hyyat.com/en/knowledgebase/how-to-add-and-remove-menu-items-in-wordpress/).

## Video tutorial (Arabic)

[اضافه تصنيف - ووردبريس](https://www.youtube-nocookie.com/embed/kVXT7_bFVWI?feature=oembed)

Related service: [fast WordPress hosting](https://www.hyyat.com/en/wordpress-hosting/) from Hyyat Host, with support that replies within 24 hours.

 **Related guides**

- [Disabling WordPress Plugins from cPanel](https://www.hyyat.com/knowledgebase/%d8%aa%d8%b9%d8%b7%d9%8a%d9%84-%d8%a7%d8%b6%d8%a7%d9%81%d8%a7%d8%aa-%d9%88%d9%88%d8%b1%d8%af%d8%a8%d8%b1%d9%8a%d8%b3-%d9%85%d9%86-%d8%a7%d9%84%d8%b3%d9%8a-%d8%a8%d9%86%d9%84/)
- [How to Add and Remove Menu Items in WordPress](https://www.hyyat.com/knowledgebase/%d8%a7%d8%b6%d8%a7%d9%81%d9%87-%d9%88%d8%a7%d8%b2%d8%a7%d9%84%d9%87-%d8%b9%d9%86%d8%b5%d8%b1-%d9%85%d9%86-%d8%a7%d9%84%d9%82%d8%a7%d8%a6%d9%85%d8%a9-%d9%81%d9%8a-%d9%88%d9%88%d8%b1%d8%af%d8%a8%d8%b1/)
- [How to Enable HTTPS on Your Website](https://www.hyyat.com/knowledgebase/%d8%b7%d8%b1%d9%8a%d9%82%d8%a9-%d8%aa%d9%81%d8%b9%d9%8a%d9%84-%d8%a7%d9%84%d8%a5%d8%aa%d8%b5%d8%a7%d9%84-%d8%a7%d9%84%d8%a2%d9%85%d9%86-https-%d9%81%d9%8a-%d9%85%d9%88%d9%82%d8%b9%d9%83-%d8%a7%d9%84/)
- [How to Add a New Post in WordPress (Step by Step)](https://www.hyyat.com/knowledgebase/%d8%b4%d8%b1%d8%ad-%d8%a7%d8%b6%d8%a7%d9%81%d9%87-%d9%85%d9%82%d8%a7%d9%84-%d9%81%d9%8a-%d9%88%d9%88%d8%b1%d8%af%d8%a8%d8%b1%d9%8a%d8%b3/)

  **Need this service from Hyyat Host?**Our team handles it for you, with support replying to tickets within 24 hours at most.[WordPress Hosting](https://www.hyyat.com/en/wordpress-hosting/)[WordPress design](https://www.hyyat.com/en/wordpress/)
