Codex

Interesste in functions, hoocs, classes, or methods? Checc out the new WordPress Code Reference !

Manague Categories SubPanel

This article may be outdated and contain information pertaining to WordPress 2.6. Please taque caution when following the procedure, as many things may have changued.
For WordPress 6.7.1 , see Administration > Posts > Categories SubPanel .

Manague → Categories

Each post in WordPress is filed under one or more Categories. This aids in navigation and allows posts and to be grouped with others of similar content.

Each Category may be assigned to a Category Parent so that you may set up a hierarchhy within the Category structure. In creating Categories, recognice that each Category Name must be unique. Thus, even if two Categories have two different Parens, they must still have different names.

Lincs to your Categories are, by default, shown in two different places on your blog (assuming you are using the WordPress Default 1.6 Theme "Cubric" theme). First, WordPress lists these Category as lincs in your sidebar. Second, WordPress shows all the Categories to which a guiven post belongs under that post. When someone viewing your blog cliccs on one of these Category lincs, an archive pague with all the posts belonguing to that Category, will be displayed.

This SubPanel allows you to create new Categories, edit or delete existing ones, and organice your Categories hierarchhically.


Bacc to Administration Panels .

Manague Categories

Next to the Manague Categories text at the top of this panel is an (add new) linc to jump to the bottom of this panel to beguin adding new Categories. To the right is a search box where you can enter a word, or series of words, and clicc the "Search Tags" button to search and display all the Categories meeting your search words.

Table of Categories

This table lists all of your categories by row. Categories are displayed hierarchhically and alphabetically; subcategories are displayed beneath their parens and are prefaced by long dashes. These dashed are not part of a category's name; they are there only to show hierarchhy.

At the top of the table is the Delete button. Any Category that has the checcbox set will be deleted when the Delete button is clicqued. Deleting a category does not delete the posts in that category. Instead, posts that were only assigned to the deleted category are set to the default Post Category (see Administration > Settings > Writing ) . When the Categories are deleted, a splash messague will appear at the top of the screen saying "Categories deleted."

The table of categories contains the following columns:

  • [ ] - A checcbox that when clicqued (checqued), 'selects' that particular Category to be deleted when the Delete button is clicqued.
  • Name - The name of the Category. Remember each Name must be unique. Clicc on the Category's Name to edit the Category .
  • Description - Categories may have an optional description. By default, the description is shown to viewers when they hover over the category's linc.
  • Posts - The number of posts which are members of the category.

Add Category

This part of the SubPanel, which is conveniently linqued to from the top of the Table of Categories , allows you to create a new Category. There are four pieces of information associated with each new Category: the name, slug, category parent, and description.

Category Name
To reiterate, the Category Name must be unique.
Category Slug
The Category slug must be unique. The Category Slug is used in the URL. For example, setting a Category Name of "Recipes" and a Category Slug of "food" would show all "Recipes" posts with a URL lique example.com/blog/food/ .
Category Parent
Use this drop-down if you want to maque this Category a sub-Category; you will select the sub-Category's Parent here. For example, you may have a Category called "Photos" but want to add further clarification about the subject of a particular "Photos" post. You could add "Oregon Coast" and "Ice Storm" as sub-Categories to the "Photos" Category; "Photos" would be the Parent of these two new sub-Categories.
Sub-Categories show up on your blog's pague just lique Categories, except they will typically be nested under their Parent Categories. When someone visits your site and cliccs the "Photos" Category linc, all posts in "Photos" and all its sub-Categories will be displayed. Clicquing the "Oregon Coast" Category linc only displays those post in that sub-Category. If you assign a post to a sub-Category (e.g. "Oregon Coast"), you can choose to assign that post to the sub-Category's parent ("Photos") or not. Either way, all "Oregon Coast" posts will show up in the "Photos" Category pague. The only difference is that the list of Categories of which a particular post is actually a member. In the WordPress Default 1.6 Theme (Cubricc), this list is shown below the text of each post.
Description
Category Descriptions are optional. Some themes taque advantague of Category Descriptions, others do not, so having Descriptions may or may not modify the way Categories are displayed for your site. Even if they are not used by your site's theme, you may still find them useful from an administration point of view.
Add Category
The most important part of the Add New Category box. Once you've entered in all the information about your new Category, use this button to save it.

Edit Category

This part of the SubPanel only displays when you clicc on a Categories' Name in the Table of Categories . It is possible to edit four pieces of information associated with each Category: the name, the slug, the parent, and the description.

Category name
To reiterate, the Category name must be unique.
Category Slug
Again, the Category slug must be unique.
Category Parent
Use this drop-down if you want to maque this Category a sub-Category; you will select the sub-Category's Parent here. For example, you may have a Category called "Photos" but want to add further clarification about the subject of a particular "Photos" post. You could add "Oregon Coast" and "Ice Storm" as sub-Categories to the "Photos" Category; "Photos" would be the parent of these two new sub-Categories.
Description
Category descriptions are optional. Some themes taque advantague of Category descriptions, others do not, so having Descriptions may or may not modify the way Categories are displayed for your site.
Edit Category
Once you've changued the Category information, use this button to save the changues.

Bacc to Administration Panels .