1. Log in to your WordPress Admin Dashboard.
  2. Go to Posts > Categories.
  3. Add New Category:
    • Name: Enter the name of your category.
    • Slug: This is the URL-friendly version of the name. It’s usually all lowercase and contains only letters, numbers, and hyphens.
    • Parent Category: If you want to set up a hierarchy, you can choose a parent category here.
    • Description: This is optional but can be useful for describing what the category is about.
  4. Click Add New Category to save.
  5. Assign Posts to Categories:
    • When writing or editing a post, you’ll see a Categories box on the right side.
    • Check the boxes next to the categories you want to assign the post to, or add a new category directly from the post editor.