How to Create New WordPress Categories

Today, tomorrow, next month, next year — as your WordPress blog grows in size and age, you’ll continue adding new categories to further define and archive the history of your blog posts. You aren’t limited in the number of categories and subcategories you can create in your blog.

Creating a new category is as easy as following these steps:

  1. Choose Posts→Categories.

    The Categories page opens. The left side of the Categories page displays the Add New Category section.

    image0.jpg
  2. Type the name of your new category in the Name text box.

    Suppose that you want to create a category in which you file all your posts about the books you read. In the Name text box, type something like Books I Enjoy.

  3. Type a name in the Slug text box.

    The slug creates the link to the category page that lists all the posts you’ve made in this category. If you leave this field blank, WordPress automatically creates a slug based on the category name. If the category is Books I Enjoy, WordPress automatically creates a category slug like this:

    http://yourdomain.com/category/books-i-enjoy
  4. Choose the category’s parent from the Parent drop-down list.

    Choose None if you want this new category to be a parent (or top-level) category. If you want this category to be a subcategory of another category, choose the category you want to be the parent of this one.

  5. (Optional) Type a description of the category in the Description text box.

  6. Click the Add New Category button.

    That’s it — you’ve added a new category to your blog. Armed with this information, you can add an unlimited number of categories to your blog.

You can delete a category on your blog by hovering your mouse pointer over the title of the category you want to delete, and then clicking the Delete link that appears underneath the category title.

Deleting a category doesn’t delete the posts and links in that category. Instead, posts in the deleted category are assigned to the Uncategorized category (or whatever you’ve named the default category).

If you have an established WordPress blog with categories already created, you can convert some or all of your categories to tags. To do so, look for the Category to Tag Converter link on the right side of the Categories page — click it to convert your categories to tags.

The WP_Query(); class enables you to take advantage of categories in WordPress to build a dynamic theme that displays your content in a way that highlights the different topics available on your site.

  • Add a Comment
  • Print
  • Share
blog comments powered by Disqus
Advertisement

Inside Dummies.com