WordPress:Manage Categories SubPanel

来自站长百科
Xxf3325讨论 | 贡献2008年8月16日 (六) 18:52的版本
跳转至: 导航、​ 搜索

管理 → 类别

WordPress中的每篇文章都归档在一个或者多个类别下。这样做,便于访客导航,同时使得内容相似的文件归类。

每个类别可能会得到一个母类别,这样你可以在类别结构中创建一个层级。创建类别的时候,你要了解每个类别名称必须是唯一的。因此,即使两个类别拥有两个不同的母类别,这两个类别名称应该不应该相同。

默认情况下,链接到你的类别的链接,在你的博客上的两处显示(假定你使用的是WordPress默认主题"Kubrik"主题)。首先,WordPress在你的工具栏中列出这些类别作为链接。其次,WordPress在一篇文章的下面显示这篇文章所属的类别。当有人浏览你的博客的时候,他只要点击其中的一个类别链接,这个类别中的所有文章的归档网页,就会显示。


这个子面板能够使你创建新的类别,编辑或者删除当前的类别,有层级地组织你的类别。

640px|right|管理类别子面板

返回到管理面板

管理类别

在这个面板的顶上方,管理类别文本的旁边是一个(添加新的)链接,这个链接将你导向这个面板的底部,开始添加新的类别。管理类别文本的右边是一个搜索框,你可以在框中输入一个词,或者几个词,并且点击"搜索标签"按钮,搜索并且显示符合你的搜索关键词的所有类别。

类别表格

这个表格一排排地显示了你的所有类别。类别是按层级方式,按字母表顺序显示的;子类别在母类别下面显示,而且前面有一个长破折号。这个破折号并不是类别名称的一部分;存在破折号,只是为了显示层级。

表格的顶上方是个删除按钮。任何类别的复选框中的删除按钮得到点击,这个类别就会被删除。删除一个类别,不会删除那个类别中的文章。属于已经删除的类别的文章,会重新分配到默认文章类别(请看看管理 > 设置 > )。当类别删除后,界面的顶上方,会弹出信息,显示"类别已经删除了"。

类别表格包含有下面这些栏。

  • [ ] - A checkbox that when clicked (checked), 'selects' that particular Category to be deleted when the Delete button is clicked.
  • [ ] –点击(选中)复选框,点击删除按钮的时候,'选择'需要删除的类别。
  • Name - The name of the Category. Remember each Name must be unique. Click on the Category's Name to [[WordPress:#Edit Category|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 link.
  • 描述 – 类别可能有一个随意的描述。默认情况下,当访客将鼠标悬浮在类别链接的上面的时候,访客就能够看到类别描述。
  • Posts - The number of posts which are members of the category.
  • 文章 – 属于那个类别的文章。

Add Category

添加类别

This part of the SubPanel, which is conveniently linked to from the top of the [[WordPress:#Table of Categories|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.

子面板的这个部分,从[[WordPress:#Table of Categories|类别表格]]的顶上方能够轻易地链接到这个部分,你可以在这里创建一个新的类别。每个类别有四个相关的信息:名称,slug,母类别,和描述。

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 like example.com/blog/food/.
类别Slug:类别 slug必须是唯一的。类别Slug用在URL中。例如:设置类别名为"食谱",类别Slug为"食物",会显示所有关于"食谱"的文章,URL是example.com/blog/food/
Category Parent
Use this drop-down if you want to make 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.

;母类别:如果你想要将这个类别设置为子类别,请使用这个下拉列表;你将会在这里选择母类别。例如,你可能拥有一个称为"照片"的类别,但是想要给"图片"文章,添加更详细的类别,你可以添加"Oregon 海岸" 和"冰暴"作为"图片"类别的子类别;"图片"类别就是这两个新的类别的母类别。

Sub-Categories show up on your blog's page just like Categories, except they will typically be nested under their Parent Categories. When someone visits your site and clicks the "Photos" Category link, all posts in "Photos" and all its sub-Categories will be displayed. Clicking the "Oregon Coast" Category link 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 page. 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 (Kubrick), this list is shown below the text of each post.


子类别在你的博客网页上像类别一样显示,只是子类别一般嵌套在母类别的下面。当有人访问你的站点,并且点击When "图片" 类别链接的时候, "图片" 和and 图片所有子类别 中的文章都会显示。点击"Oregon海岸" 类别链接,只会显示子类别中的文章。如果你在给子类别分配了一篇文章(例如 "Oregon 海岸"子类别),你可以选择将这篇文章是否分配给母类别("图片") 。在任何方式中, "Oregon海岸" 的所有文章会在"图片" 类别网页中显示。唯一的区别在于,列出每篇文章真正所属于的类别。在WordPress1.6默认主题中 (Kubrick),这个列表在每篇文章文本的下面显示。
Description
Category Descriptions are optional. Some themes take advantage 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 click on a Categories' Name in the [[WordPress:#Table of Categories|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.

当你在[[WordPress:#Table of Categories|类别表格]]中点击类别的名称的时候,子面板的这个部分才会显示。可以编辑与每个类别有关的四个部分的信息:名称,slug,母类别,和描述。

Category name
To reiterate, the Category name must be unique.

;类别名:再次重申,类别名必须是唯一的。

Category Slug
Again, the Category slug must be unique.

;类别Slug:此外,类别slug 必须是唯一的。

Category Parent
Use this drop-down if you want to make 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.
母类别:如果你想要将这个类别变为子类别,请使用这个下拉列表;你可以在这里选择母类别。例如,你可能拥有一个称为"图片"的类别,但是你想要关于"图片"文章的更细的类别。你可以添加"Oregon 海岸" 和 "冰暴"作为"图片"的子类别;"图片"就是这两个子类别的母类别。
Description
Category descriptions are optional. Some themes take advantage 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 changed the Category information, use this button to save the changes.

;编辑类别:你更改了类别信息之后,请使用这个按钮保存更改的内容。

Back to WordPress:Administration Panels. 返回到管理面板