WordPress: Design Widgets SubPanel:修订间差异

来自站长百科
跳转至: 导航、​ 搜索
无编辑摘要
无编辑摘要
第1行: 第1行:
Themes usually have at least 1 or 2 sidebars. Sidebars are the narrow columns to the left or right of your blog posts. You can configure your sidebar by going to '''Design > Widgets'''. Each section in the sidebar is known as a "widget" that you can add or remove, and move up or down.
主题通常至少拥有1个或者2个边栏。边栏是狭窄的栏,位于你的博客文章的左边或者右边。你可以进入'''设置 > Widgets''',配置边栏。边栏中的每个部分,称为"widget",你可以添加或者删除widget,向上或者向下移动widget。
主题通常至少拥有1个或者2个边栏。边栏是狭窄的栏,位于你的博客文章的左边或者右边。你可以进入'''设置 > Widgets''',配置边栏。边栏中的每个部分,称为"widget",你可以添加或者删除widget,向上或者向下移动widget。
== Configuring Your Widgets ==


== 配置你的Widgets ==
== 配置你的Widgets ==
To configure your sidebar widgets:


配置你的边栏widgets:
配置你的边栏widgets:
# Click the '''Design''' tab, and then click the '''Widgets''' subtab. The Widgets subtab has two sections: Available Widgets and Current Widgets.


#点击'''设计'''标签,然后点击'''Widgets'''子标签。Widget子标签拥有两个部分:可使用的Widgets和当前Widgets。
#点击'''设计'''标签,然后点击'''Widgets'''子标签。Widget子标签拥有两个部分:可使用的Widgets和当前Widgets。
# In the Current Widgets section, select which sidebar you want to show/configure. '''Note:''' The default Kubrick theme has just one sidebar defined.  Other themes might have more than one sidebar defined, and if so, you'll be able to select it from the Current Widgets drop-down box.


#在当前的Widgets部分,选择你想要显示/配置哪个边栏。'''注:'''默认Kubrick主题只定义了一个边栏。其它的主题可能定义了几个边栏,这样的话,你可以从当前Widgets下拉框中选择边栏。
#在当前的Widgets部分,选择你想要显示/配置哪个边栏。'''注:'''默认Kubrick主题只定义了一个边栏。其它的主题可能定义了几个边栏,这样的话,你可以从当前Widgets下拉框中选择边栏。
# Click the '''Add''' button next to a widget in the Available Widgets column to add the widget to that sidebar.


#点击可使用的Widgets栏旁边的'''添加'''按钮,向边栏添加widget。
#点击可使用的Widgets栏旁边的'''添加'''按钮,向边栏添加widget。
# In the Current Widgets section, drag and drop the widgets in the order you want.


#在当前Widgets部分,安装你期望的顺序,拖拉widgets。
#在当前Widgets部分,安装你期望的顺序,拖拉widgets。
# Click the '''Edit''' link on the widget to set any additional details, such as the title and number of items displayed. Each of the available widgets is described below.


#点击widget上的'''编辑'''链接,以设置任何其它的详细信息,例如标题,以及将要显示多少个widgets。下面描述了所有可以使用的widgets。
#点击widget上的'''编辑'''链接,以设置任何其它的详细信息,例如标题,以及将要显示多少个widgets。下面描述了所有可以使用的widgets。


# Click the '''Save Changes''' button.
#点击'''保存更改'''按钮。
#点击'''保存更改'''按钮。
== Descriptions of Each Widget ==


== 描述每个Widget==
== 描述每个Widget==
:Here's a description of the various types of widget along with their configuration options:


:下面是关于不同类型的widget及其配置选项的描述:
:下面是关于不同类型的widget及其配置选项的描述:
:'''Archives''' - displays archive links for each month that has posts. 


:'''归档''' – 显示每个月文章的存档链接。
:'''归档''' – 显示每个月文章的存档链接。
::* Title — description that appears over the list of archive links.


::* 标题 —归档链接列表上方显示的描述。
::* 标题 —归档链接列表上方显示的描述。
::* Show post counts — if checked, this box causes a count of the number of posts for each archive period.


::* 显示文章数目 —如果选中了这个框,就会显示每个归档期内的文章数目。
::* 显示文章数目 —如果选中了这个框,就会显示每个归档期内的文章数目。


::* Display as a drop down — if checked, this box causes the archives to be displayed in a drop-down box.
::*作为下拉框显示—如果选中这个,归档就在一个下拉框中显示。
 
::*作为下拉框显示—如果选中这个,归档就在在一个下拉框中显示。
 
:'''Calendar''' - displays a calendar of the current month.  Dates appear links if there are posts for that day. 


:'''日历''' – 显示当前月份的日历。如果某天有文章,日期就会显示为链接。
:'''日历''' – 显示当前月份的日历。如果某天有文章,日期就会显示为链接。
::* Title — description that appears over the calendar


::* 标题 —日历上方的描述
::* 标题 —日历上方的描述
:'''Categories''' - displays a list of post categories as links to those posts. 


:'''类别''' – 显示文章类别的列表,作为这些文章的链接。
:'''类别''' – 显示文章类别的列表,作为这些文章的链接。
::* Title — description that appears over the list of categories.


::* 标题 —类别列表上方显示的描述。
::* 标题 —类别列表上方显示的描述。
::* Show as dropdown — if checked, this box causes the categories to be displayed in a dropdown box.


::* 显示为下拉框 —如果选中这个框,类别就会在下拉框中显示。
::* 显示为下拉框 —如果选中这个框,类别就会在下拉框中显示。
::* Show post counts — if checked, this box causes the count of the number of posts to display with each category.


::* 显示文章数目—如果选中这个框,每个类别的文章数目就会显示。
::* 显示文章数目—如果选中这个框,每个类别的文章数目就会显示。
::* Show hierarchy — if checked, shows parent/child relationships in an indented manner.


::*显示层级—如果选中这个框,会以嵌套的方式,显示母/子关系。
::*显示层级—如果选中这个框,会以嵌套的方式,显示母/子关系。
:'''Links''' - displays list of links (blogroll) separated by category. 


:'''链接''' – 显示由类别分开的链接列表(友情链接)。
:'''链接''' – 显示由类别分开的链接列表(友情链接)。


::* No configuration items.
::*没有配置items。
::*没有配置items。
:'''Meta''' - displays links to meta functions such as Site Admin, Login/out, Entries RSS, Comments RSS, and WordPress.org.
:'''Meta''' – 显示链接,链接到meta功能,例如站点管理,登录/退出,文章RSS,评论RSS,和WordPress.org。
::* Title — description that appears over the list of meta links.


::* 标题 — meta链接表上方显示的描述。
:'''Meta''' – 显示链接,链接到meta功能,例如站点管理,登录/退出,文章RSS,评论RSS,和WordPress.org。


:'''Pages''' - displays a link to each [[WordPress:Pages|Page]]. 
::* 标题 — meta链接表上方显示的描述。


:'''网页''' – 显示链接,链接到每个[[WordPress:Pages|网页]]。
:'''网页''' – 显示链接,链接到每个[[WordPress:Pages|网页]]。


::* Title — description that appears over the list of pages.
::*标题 —网页列表上方显示的描述。  
 
::*标题 —网页列表上方显示的描述。
 
::* Sort by — select the order to sort the list of pages.  Choose Page Title, Page Order, or Page ID from pulldown box (this was added at 2.2.1)


::* 分类—选择网页列表分类的顺序。从下拉框中选择网页标题,网页顺序,或者网页ID(这个功能是2.2.1版本添加的)
::* 分类—选择网页列表分类的顺序。从下拉框中选择网页标题,网页顺序,或者网页ID(这个功能是2.2.1版本添加的)


::* Exclude (Page IDs, separated by commas) — enter the Page ID(s) to exclude, separating each Page ID with a commaa (this was added at 2.2.1)
::*删除 (网页IDs, 由逗号分开) —输入需要删除的文章ID,并且用逗号将这些ID分开(这个功能是在2.2.1版本时,添加的)   
 
::*删除 (网页IDs, 由逗号分开) —输入需要删除的文章ID,并且用逗号将这些ID分开(这个功能是在2.2.1版本时,添加的)
 
:'''Recent Comments''' - displays a list of the blog's most recent approved comments.  


:'''最近的评论''' –显示博客最近审核后的评论。
:'''最近的评论''' –显示博客最近审核后的评论。
::* Title — description that appears over the list of recent comments.


::* 描述 —最近的评论列表上方显示的描述。
::* 描述 —最近的评论列表上方显示的描述。


::* Number of comments to show: (at most 15); enter the number of comments to be displayed.
::*显示的评论数目:(最多十五条);输入显示的评论的数目。  
 
::*显示的评论数目:(最多十五条);输入显示的评论的数目。
 
:'''Recent Posts''' - displays list of the blog's most recent posts. 


:'''最近的文章''' – 显示博客最近的文章的列表。
:'''最近的文章''' – 显示博客最近的文章的列表。
::* Title — description that appears over the list of recent posts.


::* 标题 — 最近文章列表上方显示的描述。
::* 标题 — 最近文章列表上方显示的描述。
::* Number of posts to show: (at most 15) — enter the number of posts to display.


::*显示的文章数目(最多15篇)—输入显示的文章的数目。
::*显示的文章数目(最多15篇)—输入显示的文章的数目。
 
 
:'''RSS 1''' - displays an RSS Feed. [[WordPress:Plugins/WordPress_Widgets#Using_RSS_Widgets|Using RSS Widgets]] lists several feeds to use with this widget. 
 
:'''RSS 1''' – 显示一个RSS Feed。[[WordPress:Plugins/WordPress_Widgets#Using_RSS_Widgets|使用 RSS Widgets]]列出几个与这个widget一起使用的feeds。
:'''RSS 1''' – 显示一个RSS Feed。[[WordPress:Plugins/WordPress_Widgets#Using_RSS_Widgets|使用 RSS Widgets]]列出几个与这个widget一起使用的feeds。
::* Enter the RSS feed URL here — enter a complete feed URL, e.g. http://wordpress.org/development/feed/


::*在这里输入RSS feed URL—输入一个完整的feed URL,例如http://wordpress.org/development/feed/
::*在这里输入RSS feed URL—输入一个完整的feed URL,例如http://wordpress.org/development/feed/
::* Give the feed a title (optional) — enter a description that appears over the list of feed items


::*给feed添加一个标题(可选择的)—在feed items列表上方输入描述
::*给feed添加一个标题(可选择的)—在feed items列表上方输入描述
::* How many items would you like to display — enter the number of items from the feed you want displayed.


::*你想要显示多少items—输入你希望显示多少个来自feed的item。
::*你想要显示多少items—输入你希望显示多少个来自feed的item。
:'''Search''' - displays a Search box to enter text to search your blog.  A submit button is also provided. 


:'''搜索''' – 显示搜索框,输入文本,搜索你的博客。同时显示提交按钮。
:'''搜索''' – 显示搜索框,输入文本,搜索你的博客。同时显示提交按钮。
::* No configuration items.


::* 没有配置items。
::* 没有配置items。


:'''Tag Cloud''' - displays list of the blog's top 45 used [[WordPress:Glossary#Tag|tags]] in a tag cloud. 
:'''Tag Cloud''' –在tag cloud中显示博客中排名前45的所有[[WordPress:Glossary#Tag|标签]]列表。  
 
:'''Tag Cloud''' –在tag cloud中显示博客中排名前45的所有[[WordPress:Glossary#Tag|标签]]列表。
 
::* Title — description that appears over the tag cloud.


::* 标题 —在tag cloud上方显示的描述。
::* 标题 —在tag cloud上方显示的描述。
:'''Text 1''' - used to enter HTML, Javascript, or just plain text. [[WordPress:Plugins/WordPress_Widgets#Using_Text_Widgets|Using Text Widgets]] details a number of possible uses for text widgets.


:'''文本 1''' – 用来输入HTML,Javascript,或者纯文本。[[WordPress:Plugins/WordPress_Widgets#Using_Text_Widgets|使用文本 Widgets]]详细描述了文本widgets的一些用法。
:'''文本 1''' – 用来输入HTML,Javascript,或者纯文本。[[WordPress:Plugins/WordPress_Widgets#Using_Text_Widgets|使用文本 Widgets]]详细描述了文本widgets的一些用法。
::* Title area — a description of the text widget


::* 标题区 —文本widget的描述
::* 标题区 —文本widget的描述
::* Text area — use this area to enter text, valid HTML, or even valid Javascript.


::* 文本区 —使用这个区,输入文本,有效的HTML,或者有效的Javascript。
::* 文本区 —使用这个区,输入文本,有效的HTML,或者有效的Javascript。


== Adding Multiple Widgets of the Same Kind ==
== 添加同一类别的多Widgets ==
== 添加同一类别的多Widgets ==
To add multiple text widgets, RSS widgets, or any other widgets, just click the widget's '''Add''' link as many times as you need the widget.


要添加多个文本widgets,RSS widgets,或者任何其它的widgets,只有你需要widgets的时候,点击widget的'''添加'''链接。
要添加多个文本widgets,RSS widgets,或者任何其它的widgets,只有你需要widgets的时候,点击widget的'''添加'''链接。
You can see any unused widgets by making a selection in the drop-down filter below the Available Widgets column.


只要在可使用的Widgets栏下面的下拉过滤器上,选择,你就可以看到任何未使用的widgets。
只要在可使用的Widgets栏下面的下拉过滤器上,选择,你就可以看到任何未使用的widgets。


==No Sidebars Defined==
==没有定义边栏==
==没有定义边栏==
If the current active Theme is not widget compatible, meaning the theme is not coded for widgets, you will see the message, "You are seeing this message because the theme you are currently using isn’t widget-aware, meaning that it has no sidebars that you are able to change. For information on making your theme widget-aware, please [http://automattic.com/code/widgets/themes/ follow these instructions]".


如果当前激活的主题与widget不兼容,意思是主题没有为widget编码,你就会看到这样的信息,"你看到这个信息,因为你当前使用的主题,不了解widget,意思是主题没有你可以更改的边栏。关于使你的主题兼容widget的信息,请 [http://automattic.com/code/widgets/themes/ 遵循下面的指示]"。
如果当前激活的主题与widget不兼容,意思是主题没有为widget编码,你就会看到这样的信息,"你看到这个信息,因为你当前使用的主题,不了解widget,意思是主题没有你可以更改的边栏。关于使你的主题兼容widget的信息,请 [http://automattic.com/code/widgets/themes/ 遵循下面的指示]"。


Back to [[WordPress:Administration Panels]].
返回到[[WordPress:Administration Panels|管理面板]]。
返回到[[WordPress:Administration Panels|管理面板]]。

2008年9月2日 (二) 10:21的版本

主题通常至少拥有1个或者2个边栏。边栏是狭窄的栏,位于你的博客文章的左边或者右边。你可以进入设置 > Widgets,配置边栏。边栏中的每个部分,称为"widget",你可以添加或者删除widget,向上或者向下移动widget。

配置你的Widgets

配置你的边栏widgets:

  1. 点击设计标签,然后点击Widgets子标签。Widget子标签拥有两个部分:可使用的Widgets和当前Widgets。
  1. 在当前的Widgets部分,选择你想要显示/配置哪个边栏。注:默认Kubrick主题只定义了一个边栏。其它的主题可能定义了几个边栏,这样的话,你可以从当前Widgets下拉框中选择边栏。
  1. 点击可使用的Widgets栏旁边的添加按钮,向边栏添加widget。
  1. 在当前Widgets部分,安装你期望的顺序,拖拉widgets。
  1. 点击widget上的编辑链接,以设置任何其它的详细信息,例如标题,以及将要显示多少个widgets。下面描述了所有可以使用的widgets。
  1. 点击保存更改按钮。

描述每个Widget

:下面是关于不同类型的widget及其配置选项的描述:

归档 – 显示每个月文章的存档链接。
  • 标题 —归档链接列表上方显示的描述。
  • 显示文章数目 —如果选中了这个框,就会显示每个归档期内的文章数目。
  • 作为下拉框显示—如果选中这个,归档就在一个下拉框中显示。
日历 – 显示当前月份的日历。如果某天有文章,日期就会显示为链接。
  • 标题 —日历上方的描述
类别 – 显示文章类别的列表,作为这些文章的链接。
  • 标题 —类别列表上方显示的描述。
  • 显示为下拉框 —如果选中这个框,类别就会在下拉框中显示。
  • 显示文章数目—如果选中这个框,每个类别的文章数目就会显示。
  • 显示层级—如果选中这个框,会以嵌套的方式,显示母/子关系。
链接 – 显示由类别分开的链接列表(友情链接)。
  • 没有配置items。
Meta – 显示链接,链接到meta功能,例如站点管理,登录/退出,文章RSS,评论RSS,和WordPress.org。
  • 标题 — meta链接表上方显示的描述。
网页 – 显示链接,链接到每个网页
  • 标题 —网页列表上方显示的描述。
  • 分类—选择网页列表分类的顺序。从下拉框中选择网页标题,网页顺序,或者网页ID(这个功能是2.2.1版本添加的)
  • 删除 (网页IDs, 由逗号分开) —输入需要删除的文章ID,并且用逗号将这些ID分开(这个功能是在2.2.1版本时,添加的)
最近的评论 –显示博客最近审核后的评论。
  • 描述 —最近的评论列表上方显示的描述。
  • 显示的评论数目:(最多十五条);输入显示的评论的数目。
最近的文章 – 显示博客最近的文章的列表。
  • 标题 — 最近文章列表上方显示的描述。
  • 显示的文章数目(最多15篇)—输入显示的文章的数目。
RSS 1 – 显示一个RSS Feed。使用 RSS Widgets列出几个与这个widget一起使用的feeds。
  • 在这里输入RSS feed URL—输入一个完整的feed URL,例如http://wordpress.org/development/feed/
  • 给feed添加一个标题(可选择的)—在feed items列表上方输入描述
  • 你想要显示多少items—输入你希望显示多少个来自feed的item。
搜索 – 显示搜索框,输入文本,搜索你的博客。同时显示提交按钮。
  • 没有配置items。
Tag Cloud –在tag cloud中显示博客中排名前45的所有标签列表。
  • 标题 —在tag cloud上方显示的描述。
文本 1 – 用来输入HTML,Javascript,或者纯文本。使用文本 Widgets详细描述了文本widgets的一些用法。
  • 标题区 —文本widget的描述
  • 文本区 —使用这个区,输入文本,有效的HTML,或者有效的Javascript。

添加同一类别的多Widgets

要添加多个文本widgets,RSS widgets,或者任何其它的widgets,只有你需要widgets的时候,点击widget的添加链接。

只要在可使用的Widgets栏下面的下拉过滤器上,选择,你就可以看到任何未使用的widgets。

没有定义边栏

如果当前激活的主题与widget不兼容,意思是主题没有为widget编码,你就会看到这样的信息,"你看到这个信息,因为你当前使用的主题,不了解widget,意思是主题没有你可以更改的边栏。关于使你的主题兼容widget的信息,请 遵循下面的指示"。

返回到管理面板