Categories & Tags

WordPress uses categories and tags to help visitors find related items of interest.  You create your own categories and tags, and assign them to posts. (Categories and tags apply only to posts, not to pages.)

  • Categories are displayed in a sidebar widget, which visitors can use to filter posts.
  • Tags are usually displayed below each post, and allow users to view posts that share a given tag.
  • Categories, unlike Tags, can be hierarchical — that is, any single categories can have sub-categories.
  • Both tags and categories may be harvested and used to index your posts by search engines.

You can plan and define your categories and tags in advance, or as you write posts.

To define categories

  1. Open the Posts menu from your Dashboard sidebar and choose “Categories.”
    Manage Categories

    Posts > Categories

  2. Fill out the Add New Category form with a name and “slug”; provide a description (optional), and click Add New.
    Manage Categories: Add New Category (left); edit / delete existing categories (right)

    Categories Management: Add New Category (left); edit / delete existing categories (right)

As you add more categories, you can use the Parent menu to set up a hierarchy of categories; in the example below, I’ve created a parent category named “WordPress How-To’s” with subcategories.

Hierarchical Categories

Hierarchical Categories

To define tags

  1. Open the Posts menu from your Dashboard sidebar and choose “Tags.”
    Posts > Tags

    Posts > Tags

  2. Fill out the Add New Tag form with a name and “slug”; provide a description (optional), and click Add New.
    Tags Management:  Add New Tag; Edit / Delete existing tags

    Tags Management: Add New Tag (left); edit/delete existing tags (right)

To assign categories & tags to a new post

You can assign categories and tags as you create a new post.  In the right column of the Add New Post window are panels where you can choose categories and enter tags to apply.

Assign categories and tags in the Add New Post page

Categories and Tags sidebar panels in the Add New Post page

To assign categories & tags to an existing post

Using Quick Edit to add categories and tags to an existing post

Using Quick Edit to add categories and tags to an existing post

  1. View all posts
  2. Click the Quick-Edit link below a post
  3. Check the categories and enter tags you wish to assign to this post.
  4. Click Update