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
- Open the Posts menu from your Dashboard sidebar and choose “Categories.”
- Fill out the Add New Category form with a name and “slug”; provide a description (optional), and click Add New.
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.
To define tags
- Open the Posts menu from your Dashboard sidebar and choose “Tags.”
- Fill out the Add New Tag form with a name and “slug”; provide a description (optional), and click Add New.
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.
To assign categories & tags to an existing post
- View all posts
- Click the Quick-Edit link below a post
- Check the categories and enter tags you wish to assign to this post.
- Click Update