|
|
(未显示2个用户的4个中间版本) |
第1行: |
第1行: |
| | <span style="border:1px solid #000; text-align:center; float:right; padding:6px;"><strong>导航:</strong> [[WordPress:WordPress文档|上一级]] | [[WordPress]] | {{Template:WordPress导航}}</span> |
| | <div style="clear:both;"></div> |
| __NOTOC__ | | __NOTOC__ |
| [[WordPress:Option Reference|Options]] are pieces of data that WordPress uses to store various preferences and configuration settings. Listed below are the options, along with some of the default values from the current WordPress install. By using the appropriate function, options can be [[WordPress:Function Reference/add_option|added]], [[WordPress:Function Reference/update_option|changed]], [[WordPress:Function Reference/delete_option|removed]], and [[WordPress:Function_Reference/get_option|retrieved]], from the [[WordPress:Database_Description#Table:_wp_options|wp_options table]]. This list accords to the WordPress 2.3.1 release, and does not include options that were deprecated by that version.
| |
|
| |
| [[WordPress:Option Reference|选项]]是WordPress用来储存不同的参数和配置的多块数据。以下所列的是一些选项和一些来自当前WordPress安装的默认值。通过使用适当的函数,选项可以从[[WordPress:Database_Description#Table:_wp_options|wp_选项表]]中[[WordPress:Function Reference/add_option|添加]], [[WordPress:Function Reference/update_option|更改]], [[WordPress:Function Reference/delete_option|移除]], 和[[WordPress:Function_Reference/get_option|重新找回]]。这个列表与WordPress2.3.1版本一致,而且不包含那个版本不认可的选项。 | | [[WordPress:Option Reference|选项]]是WordPress用来储存不同的参数和配置的多块数据。以下所列的是一些选项和一些来自当前WordPress安装的默认值。通过使用适当的函数,选项可以从[[WordPress:Database_Description#Table:_wp_options|wp_选项表]]中[[WordPress:Function Reference/add_option|添加]], [[WordPress:Function Reference/update_option|更改]], [[WordPress:Function Reference/delete_option|移除]], 和[[WordPress:Function_Reference/get_option|重新找回]]。这个列表与WordPress2.3.1版本一致,而且不包含那个版本不认可的选项。 |
|
| |
| Definitions are normally typed, possible option-values are bolded, and option-value definitions are italicized. Data types are given after the possible values (if those are given) like this:
| |
|
| |
|
| 定义按一般地输入,可能选项值要是粗体的,而且选项值定义要斜体的。数据在可能的值(如果有的话)的后面,像: | | 定义按一般地输入,可能选项值要是粗体的,而且选项值定义要斜体的。数据在可能的值(如果有的话)的后面,像: |
|
| |
| ''Data type:'' '''Integer'''
| |
|
| |
| <div style="border:blue 1px solid;padding:10px; background: #E6CCFF">
| |
|
| |
| '''You can help make this page more complete!'''
| |
|
| |
|
| |
|
| |
|
| ''数据类型:'' '''整数''' | | ''数据类型:'' '''整数''' |
第22行: |
第12行: |
| '''你可以帮助使这个页面更加地完善!''' | | '''你可以帮助使这个页面更加地完善!''' |
|
| |
|
|
| |
| Here are some things you can do to help:
| |
| 下面是一些你可以帮助做的事情: | | 下面是一些你可以帮助做的事情: |
|
| |
| * Add documentation to un-documented options, by adding a description, possible values, and the option's data type.
| |
|
| |
|
| *通过添加一个描述,可能的值,和选项的数据描述,给无正式文件的选项添加文件。 | | *通过添加一个描述,可能的值,和选项的数据描述,给无正式文件的选项添加文件。 |
|
| |
| * List more options here, following the category structure (if they are not already listed).
| |
|
| |
|
| *在这儿列出更多的选项,遵循类别结构(如果它们还没有列出来)。 | | *在这儿列出更多的选项,遵循类别结构(如果它们还没有列出来)。 |
|
| |
| * Correct errors by moving functions to better categories where appropriate, and of course fixing typos.
| |
|
| |
|
| *通过将函数移到合适的更好的类别,当然还安装了打字稿,来更改错误。 | | *通过将函数移到合适的更好的类别,当然还安装了打字稿,来更改错误。 |
|
| |
| Read [[WordPress:Contributing to WordPress]] to find out more about how you can contribute to the effort!
| |
|
| |
|
| 阅读[[WordPress:Contributing to WordPress|给WordPress做贡献]]来找出更多的关于你可以怎样地给WordPress做贡献! | | 阅读[[WordPress:Contributing to WordPress|给WordPress做贡献]]来找出更多的关于你可以怎样地给WordPress做贡献! |
|
| |
|
| </div> | | </div> |
|
| |
| </div>
| |
|
| |
| == View By Category ==
| |
|
| |
| ==通过类别浏览 == | | ==通过类别浏览 == |
|
| |
|
| |
| {| cellspacing="10" width="100%"
| |
| |- valign="top"
| |
| |bgcolor="#fbfbef" style="border:1px solid #ffc9c9;padding:1em;padding-top:0.5em; color: black;" width="50%"|
| |
|
| |
|
| |
|
| |
|
| |
| {| cellspacing="10" width="100%" | | {| cellspacing="10" width="100%" |
| |- valign="top" | | |- valign="top" |
| |bgcolor="#fbfbef" style="border:1px solid #ffc9c9;padding:1em;padding-top:0.5em; color: black;" width="50%"| | | |bgcolor="#fbfbef" style="border:1px solid #ffc9c9;padding:1em;padding-top:0.5em; color: black;" width="50%"| |
|
| |
|
| | | ==Discussion== |
| | |
| | |
| | |
| == Discussion == | |
| == 讨论==
| |
| ; <tt>blacklist_keys</tt> : When a comment contains any of these words in its content, name, URL, e-mail, or IP, it will be marked as spam. One word or IP per line. It will match inside words, so "press" will match "WordPress."
| |
| | |
| ; <tt>blacklist_keys</tt> :当一个评论的内容中包含以下的任何内容,如名字,URL,电子邮件,或者IP,这个评论就被认为是一个兜售信息。一个词或者每行的IP。它会匹配里面的词,因此"按住"会匹配WordPress。 | | ; <tt>blacklist_keys</tt> :当一个评论的内容中包含以下的任何内容,如名字,URL,电子邮件,或者IP,这个评论就被认为是一个兜售信息。一个词或者每行的IP。它会匹配里面的词,因此"按住"会匹配WordPress。 |
|
| |
| : ''Data type:'' '''String (possibly multi-line)'''
| |
|
| |
|
| : ''数据类型:'' '''String (可能是多行)''' | | : ''数据类型:'' '''String (可能是多行)''' |
|
| |
|
| |
| ; <tt>comment_max_links</tt> : Hold a comment in the queue if it contains the value of this option or more.
| |
|
| |
| ; <tt>评论_最大的_链接</tt> : 在队列中保存一个评论,如果它包含了这个选项或者更多的选项的值。 | | ; <tt>评论_最大的_链接</tt> : 在队列中保存一个评论,如果它包含了这个选项或者更多的选项的值。 |
|
| |
| : ''Data type:'' '''Integer'''
| |
|
| |
| : ''数据类型:'' '''整数''' | | : ''数据类型:'' '''整数''' |
|
| |
|
| |
| ; <tt>comment_moderation</tt> : Before a comment appears, an administrator must always approve the comment.
| |
|
| |
|
| ; <tt>评论_审核</tt> :在一个评论出现之前,一个管理者通常要批准评论。 | | ; <tt>评论_审核</tt> :在一个评论出现之前,一个管理者通常要批准评论。 |
|
| |
| : '''1''' : ''Yes''
| |
|
| |
|
| |
|
| : '''1''' : ''是的'' | | : '''1''' : ''是的'' |
|
| |
|
| |
| : '''0''' : ''True''
| |
|
| |
| : '''0''' : ''真的'' | | : '''0''' : ''真的'' |
|
| |
|
| |
| : ''Data type:'' '''Integer'''
| |
|
| |
| : ''数据类型:'' '''整数''' | | : ''数据类型:'' '''整数''' |
|
| |
|
| |
| ; <tt>comments_notify</tt> : E-mail me when anyone posts a comment.
| |
|
| |
|
| ; <tt>评论_通报</tt> :当有人发表了一个评论之后,就发电子邮件给我。 | | ; <tt>评论_通报</tt> :当有人发表了一个评论之后,就发电子邮件给我。 |
|
| |
| : '''1''' : ''Yes''
| |
|
| |
|
| |
|
| : '''1''' : ''是的'' | | : '''1''' : ''是的'' |
|
| |
|
| |
| : '''0''' : ''No''
| |
|
| |
|
| : '''0''' : ''不是的'' | | : '''0''' : ''不是的'' |
|
| |
|
| |
| : ''Data type:'' '''Integer'''
| |
|
| |
|
| : ''数据类型:'' '''整数''' | | : ''数据类型:'' '''整数''' |
第128行: |
第52行: |
| ; <tt>default_comment_status</tt> : Allow comments (can be overridden with individual posts) | | ; <tt>default_comment_status</tt> : Allow comments (can be overridden with individual posts) |
|
| |
|
| ; <tt>默认的_评论_级别</tt> : | | ; <tt>默认的_评论_级别</tt> :允许评论(能被个人文章覆盖) |
| | |
| : '''open''' : ''Allow comments''
| |
|
| |
|
| : '''打开''' : ''允许评论'' | | : '''打开''' : ''允许评论'' |
|
| |
|
| |
| : '''closed''' : ''Disallow comments''
| |
|
| |
|
| : '''关闭''' : ''不允许评论'' | | : '''关闭''' : ''不允许评论'' |
|
| |
|
| |
| : ''Data type:'' '''String'''
| |
|
| |
|
| : ''数据类型:'' '''String''' | | : ''数据类型:'' '''String''' |
|
| |
|
| |
| ; <tt>default_ping_status</tt> : Allow link notifications from other blogs (pingbacks and trackbacks).
| |
|
| |
|
| ; <tt>默认的_ping_级别</tt> :允许从其它的博客的链接通知(pingbacks和trackbacks)。 | | ; <tt>默认的_ping_级别</tt> :允许从其它的博客的链接通知(pingbacks和trackbacks)。 |
|
| |
| : '''open''' : ''Allow pingbacks and trackbacks from other blogs''
| |
|
| |
|
| : '''打开''' : ''允许来自其它的博客的pingbacks 和trackbacks '' | | : '''打开''' : ''允许来自其它的博客的pingbacks 和trackbacks '' |
|
| |
|
| |
| : '''closed''' : ''Disallow pingbacks and trackbacks from other blogs''
| |
|
| |
|
| : '''关闭''' : ''不允许来自其它的博客的pingbacks和trackbacks '' | | : '''关闭''' : ''不允许来自其它的博客的pingbacks和trackbacks '' |
|
| |
|
| |
| : ''Data type:'' '''String'''
| |
|
| |
|
| : ''数据类型:'' '''String''' | | : ''数据类型:'' '''String''' |
|
| |
|
| |
| ; <tt>default_pingback_flag</tt> : Attempt to notify any blogs linked to from the article (slows down posting).
| |
|
| |
|
| ; <tt>默认_pingback_flag</tt> :试着通报任何一个从文章中链接到的博客(缓慢发帖速度)。 | | ; <tt>默认_pingback_flag</tt> :试着通报任何一个从文章中链接到的博客(缓慢发帖速度)。 |
|
| |
| : '''1''' : ''Yes''
| |
| : '''0''' : ''No''
| |
| : ''Data type:'' '''Integer'''
| |
|
| |
|
| : '''1''' : ''是的'' | | : '''1''' : ''是的'' |
| : '''0''' : ''不是的'' | | : '''0''' : ''不是的'' |
| : ''数据类型:'' '''整数''' | | : ''数据类型:'' '''整型''' |
| | |
| | |
| ; <tt>moderation_keys</tt> : When a comment contains any of these words in its content, name, URL, e-mail, or IP, it will be held in the moderation queue. One word or IP per line. It will match inside words, so "press" will match "WordPress."
| |
|
| |
|
| ; <tt>审核_关键词</tt> :当一个评论内容包含了一下任何的词,名字,URL,电子邮件,或者IP,这个评论就会被放在了审核队列中。一个单词或者一行一个IP,它就会匹配里面的词,因此"按住" 就会匹配"WordPress。" | | ; <tt>审核_关键词</tt> :当一个评论内容包含了一下任何的词,名字,URL,电子邮件,或者IP,这个评论就会被放在了审核队列中。一个单词或者一行一个IP,它就会匹配里面的词,因此"按住" 就会匹配"WordPress。" |
|
| |
| : ''Data type:'' '''String (possibly multi-line)'''
| |
|
| |
|
| : ''数据类型:'' '''String (可能是多行的)''' | | : ''数据类型:'' '''String (可能是多行的)''' |
|
| |
|
| |
| ; <tt>moderation_notify</tt> : E-mail me when a comment is held for moderation.
| |
|
| |
|
| ; <tt>审核_通知</tt> :当一个评论被留住评论的时候,给我写一封电子邮件。 | | ; <tt>审核_通知</tt> :当一个评论被留住评论的时候,给我写一封电子邮件。 |
|
| |
| : '''1''' : ''Yes''
| |
| : '''0''' : ''No''
| |
| : ''Data type:'' '''Integer'''
| |
|
| |
|
| : '''1''' : ''是的'' | | : '''1''' : ''是的'' |
第198行: |
第84行: |
| : ''数据类型:'' '''整数''' | | : ''数据类型:'' '''整数''' |
|
| |
|
| ; <tt>require_name_email</tt> : Before a comment appears, the comment author must fill out his/her name and email. | | ; <tt>require_name_email</tt> ::在一个评论出现之前,评论的作者必须填写他的/她的名字和电子邮件。 |
| | |
| ; <tt>需要_名字_电子邮件</tt> :在一个评论出现之前,评论的作者必须填写他的/她的名字和电子邮件。
| |
| | |
| : '''1''' : ''Yes''
| |
| : '''0''' : ''No''
| |
| : ''Data type:'' '''Integer'''
| |
|
| |
|
| : '''1''' : ''是的'' | | : '''1''' : ''是的'' |
| : '''0''' : ''不是的'' | | : '''0''' : ''不是的'' |
| : ''数据类型:'' '''整数''' | | : ''数据类型:'' '''整数''' |
|
| |
|
| |
| |valign="top" bgcolor="#f0f0ff" style="border:1px solid #c6c9ff;padding:1em;padding-top:0.5em; color: black;" width="50%"| | | |valign="top" bgcolor="#f0f0ff" style="border:1px solid #c6c9ff;padding:1em;padding-top:0.5em; color: black;" width="50%"| |
|
| |
| |valign="top" bgcolor="#f0f0ff" style="border:1px solid #c6c9ff;padding:1em;padding-top:0.5em; color: black;" width="50%"|
| |
|
| |
|
| |
|
| == General == | | == General == |
| == 一般的 ==
| |
| ; <tt>admin_email</tt> : Administrator email
| |
| ;<tt>管理_电子邮件</tt> :管理者 电子邮件 | | ;<tt>管理_电子邮件</tt> :管理者 电子邮件 |
| : ''Data type:'' '''String'''
| |
|
| |
|
| : ''数据类型:'' '''字符串''' | | : ''数据类型:'' '''字符串''' |
|
| |
|
| |
| ; <tt>blogdescription</tt> : Blog tagline
| |
|
| |
|
| ; <tt>博客描述</tt> : 博客 tagline | | ; <tt>博客描述</tt> : 博客 tagline |
|
| |
|
| |
| : ''Data type:'' '''String'''
| |
|
| |
|
| : ''数据类型:'' '''字符串''' | | : ''数据类型:'' '''字符串''' |
|
| |
|
| |
| ; <tt>blogname</tt> : Blog title
| |
|
| |
|
| ; <tt>博客名</tt> :博客 标题 | | ; <tt>博客名</tt> :博客 标题 |
|
| |
|
|
| |
| : ''Data type:'' '''String'''
| |
| : ''数据类型:'' '''字符串''' | | : ''数据类型:'' '''字符串''' |
|
| |
|
| ; <tt>comment_registration</tt> : Users must be registered and logged in to comment
| | ; <tt>评论_注册</tt> :用户必须注册并且登录到评论 |
| | |
| ; <tt>评论_注册</tt> :用户必须注册并且连接到评论 | |
| | |
| : '''1''' : ''Yes''
| |
| : '''0''' : ''No''
| |
| : ''Data type:'' '''Integer'''
| |
|
| |
|
| : '''1''' : ''是的'' | | : '''1''' : ''是的'' |
第255行: |
第110行: |
| : ''数据类型:'' '''整数''' | | : ''数据类型:'' '''整数''' |
|
| |
|
| | | ; <tt>日期_格式</tt> :默认日期格式(请看[[WordPress:Formatting Date and Time|日期和时间格式]] |
| ; <tt>date_format</tt> : Default date format (see [[WordPress:Formatting Date and Time]])
| |
| | |
| ; <tt>日期_格式</tt> :默认日期格式(请看[[WordPress:Formatting Date and Time|安排日期和时间格式]] | |
| | |
| : ''Data type:'' '''String'''
| |
|
| |
|
| : ''数据类型:'' '''字符串''' | | : ''数据类型:'' '''字符串''' |
|
| |
|
| |
| ; <tt>default_role</tt> : The default role of users who register at the blog.
| |
|
| |
|
| ; <tt>默认_角色</tt> : 注册在博客上的用户的默认角色。 | | ; <tt>默认_角色</tt> : 注册在博客上的用户的默认角色。 |
| : '''subscriber''' :
| |
|
| |
|
| : '''订阅者''' : | | : '''订阅者''' : |
| | : '''管理者''' : |
|
| |
|
| | : '''编辑者''' : |
|
| |
|
| : '''administrator''' :
| |
| : '''管理者''' :
| |
| : '''editor''' :
| |
| : '''编辑者''' :
| |
| : '''author''' :
| |
| : '''作者''' : | | : '''作者''' : |
| : '''contributor''' :
| | |
| : '''贡献者''' : | | : '''贡献者''' : |
| : ''Data type:'' '''String'''
| | |
|
| |
|
| : ''数据类型:'' '''字符串''' | | : ''数据类型:'' '''字符串''' |
|
| |
|
| ; <tt>gmt_offset</tt> : Times in the blog should differ by this value.
| |
| ; <tt>gmt_offset</tt> : 根据这个值,博客中的时期应该有所不同。 | | ; <tt>gmt_offset</tt> : 根据这个值,博客中的时期应该有所不同。 |
| : '''-6''' : ''GMT -6 (aka Central Time, USA)''
| | |
| : '''-6''' : ''GMT -6 (aka 中央标准时间, 美国)'' | | : '''-6''' : ''GMT -6 (aka 中央标准时间, 美国)'' |
| : '''0''' : ''GMT (aka Greenwich Mean Time)''
| | |
| : '''0''' : ''GMT (aka 格林尼治标准时间)'' | | : '''0''' : ''GMT (aka 格林尼治标准时间)'' |
| : ''Data type:'' '''Integer'''
| | |
| : ''数据类型:'' '''整数''' | | : ''数据类型:'' '''整数''' |
| ; <tt>home</tt> : Blog address (URL)
| | |
| ; <tt>主页</tt> : 博客 地址(URL) | | ; <tt>主页</tt> : 博客 地址(URL) |
| : ''Data type:'' '''String (URI)'''
| | |
| : ''数据 类型:'' '''字符串 (URI)''' | | : ''数据 类型:'' '''字符串 (URI)''' |
|
| |
|
| ; <tt>siteurl</tt> : WordPress address (URL)
| |
| ; <tt>站点url</tt> : WordPress地址 (URL) | | ; <tt>站点url</tt> : WordPress地址 (URL) |
| : ''Data type:'' '''String (URI)'''
| | |
| ''数据类型:'' '''字符串(URI)''' | | ''数据类型:'' '''字符串(URI)''' |
| ; <tt>start_of_week</tt> : The starting day of the week. Default is 0 (Sunday).
| |
|
| |
|
| ; <tt>一周_的_开始</tt> :一周开始的第一天。默认为0(星期天)。 | | ; <tt>一周_的_开始</tt> :一周开始的第一天。默认为0(星期天)。 |
|
| |
| : '''0''' : ''Sunday''
| |
| : '''1''' : ''Monday''
| |
| : '''2''' : ''Tuesday''
| |
| : '''3''' : ''Wednesday''
| |
| : '''4''' : ''Thursday''
| |
| : '''5''' : ''Friday''
| |
| : '''6''' : ''Saturday''
| |
| : ''Data type:'' '''Integer'''
| |
|
| |
|
| |
|
| : '''0''' : ''星期天'' | | : '''0''' : ''星期天'' |
第324行: |
第154行: |
| : '''6''' : ''星期六'' | | : '''6''' : ''星期六'' |
| : ''数据类型:'' '''整数''' | | : ''数据类型:'' '''整数''' |
|
| |
|
| |
| ; <tt>time_format</tt> : Default time format (see [[WordPress:Formatting Date and Time]])
| |
| : ''Data type:'' '''String'''
| |
| ; <tt>users_can_register</tt> : Anyone can register
| |
| : '''1''' : ''Yes''
| |
| : '''0''' : ''No''
| |
| : ''Data type:'' '''Integer'''
| |
| |- valign="top"
| |
| |bgcolor="#fbfbef" style="border:1px solid #ffc9c9;padding:1em;padding-top:0.5em; color: black;" width="50%"|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| ; <tt>时间_格式</tt> : 默认时间格式 (请看[[WordPress:Formatting Date and Time|设定日期和时间格式是]]) | | ; <tt>时间_格式</tt> : 默认时间格式 (请看[[WordPress:Formatting Date and Time|设定日期和时间格式是]]) |
第350行: |
第163行: |
| |- valign="top" | | |- valign="top" |
| |bgcolor="#fbfbef" style="border:1px solid #ffc9c9;padding:1em;padding-top:0.5em; color: black;" width="50%"| | | |bgcolor="#fbfbef" style="border:1px solid #ffc9c9;padding:1em;padding-top:0.5em; color: black;" width="50%"| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| === Miscellaneous === | | === Miscellaneous === |
| === 混杂的 ===
| |
| ; <tt>hack_file</tt> : Use legacy <tt>my-hacks.php</tt> file support
| |
| : '''1''' : ''Yes''
| |
| : '''0''' : ''No''
| |
| : ''Data type:'' '''Integer'''
| |
| ; <tt>html_type</tt> : Default MIME type for blog pages (<tt>text/html</tt>, <tt>text/xml+html</tt>, etc.)
| |
| : ''Data type:'' '''String (MIME type)'''
| |
| ; <tt>secret</tt> : Secret value created during installation used with salting, etc.
| |
| : ''Data type:'' '''String (MD5)'''
| |
| ; <tt>upload_path</tt> : Store uploads in this folder (relative to the WordPress root)
| |
| : ''Data type:'' '''String (relative path)'''
| |
| ; <tt>uploads_use_yearmonth_folders</tt> : Organize my uploads into month- and year-based folders
| |
| : '''1''' : ''Yes''
| |
| : '''0''' : ''No''
| |
| : ''Data type:'' '''Integer'''
| |
| ; <tt>use_linksupdate</tt> : Track links' update times
| |
| : '''1''' : ''Yes''
| |
| : '''0''' : ''No''
| |
| : ''Data type:'' '''Integer'''
| |
| |valign="top" bgcolor="#f0f0ff" style="border:1px solid #c6c9ff;padding:1em;padding-top:0.5em; color: black;" width="50%"|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
| ; <tt>hack_文件</tt> : 使用 legacy <tt>my-hacks.php</tt>文件支持 | | ; <tt>hack_文件</tt> : 使用 legacy <tt>my-hacks.php</tt>文件支持 |
| : '''1''' : ''是的'' | | : '''1''' : ''是的'' |
第408行: |
第185行: |
| |valign="top" bgcolor="#f0f0ff" style="border:1px solid #c6c9ff;padding:1em;padding-top:0.5em; color: black;" width="50%"| | | |valign="top" bgcolor="#f0f0ff" style="border:1px solid #c6c9ff;padding:1em;padding-top:0.5em; color: black;" width="50%"| |
|
| |
|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
| === Permalinks ===
| |
| === Permalinks === | | === Permalinks === |
|
| |
| ; <tt>permalink_structure</tt> : The desired structure of your blog's permalinks. Some examples:
| |
| : ''/%year%/%monthnum%/%day%/%postname%/'' : Date and name based
| |
| : ''/archives/%post_id%/'' : Numeric
| |
| : ''/%postname%/'' : Post name-based
| |
| : You can see more examples by viewing [[WordPress:Using Permalinks]].
| |
| : ''Data type:'' '''String'''
| |
| |- valign="top"
| |
| |bgcolor="#fbfbef" style="border:1px solid #ffc9c9;padding:1em;padding-top:0.5em; color: black;" width="50%"|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| ; <tt>permalink_结构</tt> : 你的博客的permalinks想得到的结构。一些例子: | | ; <tt>permalink_结构</tt> : 你的博客的permalinks想得到的结构。一些例子: |
第441行: |
第196行: |
| |bgcolor="#fbfbef" style="border:1px solid #ffc9c9;padding:1em;padding-top:0.5em; color: black;" width="50%"| | | |bgcolor="#fbfbef" style="border:1px solid #ffc9c9;padding:1em;padding-top:0.5em; color: black;" width="50%"| |
|
| |
|
| | | === private=== |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| === Privacy === | |
| === 秘密===
| |
| | |
| ; <tt>blog_public</tt>
| |
| : '''1''' : ''I would like my blog to be visible to everyone, including search engines (like Google, Sphere, Technorati) and archivers.''
| |
| : '''0''' : ''I would like to block search engines, but allow normal visitors.''
| |
| : ''Data type:'' '''Integer'''
| |
| |valign="top" bgcolor="#f0f0ff" style="border:1px solid #c6c9ff;padding:1em;padding-top:0.5em; color: black;" width="50%"|
| |
| | |
| | |
| | |
| | |
|
| |
|
| ; <tt>博客_公共的</tt> | | ; <tt>博客_公共的</tt> |
第468行: |
第203行: |
| : ''数据类型:'' '''整数''' | | : ''数据类型:'' '''整数''' |
| |valign="top" bgcolor="#f0f0ff" style="border:1px solid #c6c9ff;padding:1em;padding-top:0.5em; color: black;" width="50%"| | | |valign="top" bgcolor="#f0f0ff" style="border:1px solid #c6c9ff;padding:1em;padding-top:0.5em; color: black;" width="50%"| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
| |
|
| === Reading === | | === Reading === |
|
| |
| === 阅读===
| |
|
| |
| ; <tt>blog_charset</tt> : Encoding for pages and feeds. The character encoding you write your blog in (UTF-8 is recommended).
| |
| : ''Data type:'' '''String'''
| |
| ; <tt>gzipcompression</tt> : WordPress should compress articles (with gzip) if browsers ask for them.
| |
| : '''1''' : ''Yes''
| |
| : '''0''' : ''No''
| |
| : ''Data type:'' '''Integer'''
| |
| ; <tt>page_on_front</tt> : The ID of the page that should be displayed on the front page. Requires ''show_on_front'''s value to be '''page'''.
| |
| : ''Data type:'' '''Integer'''
| |
| ; <tt>posts_per_page</tt> : Show at most '''x''' many posts on blog pages.
| |
| : ''Data type:'' '''Integer'''
| |
| ; <tt>posts_per_rss</tt> : Show at most '''x''' many posts in RSS feeds.
| |
| : ''Data type:'' '''Integer'''
| |
| ; <tt>rss_excerpt_length</tt> : Length of excerpts displayed in RSS feeds. Requires ''rss_use_excerpt'' to have a value of '''1'''.
| |
| : ''Data type:'' '''Integer'''
| |
| ; <tt>rss_language</tt> : Language for RSS feeds (metadata purposes only)
| |
| : ''Data type:'' '''String (ISO two-letter language code)'''
| |
| ; <tt>rss_use_excerpt</tt> : Show an excerpt instead of the full text of a post in RSS feeds
| |
| : '''1''' : ''Yes''
| |
| : '''0''' : ''No''
| |
| : ''Data type:'' '''Integer'''
| |
| ; <tt>show_on_front</tt> : What to show on the front page
| |
| : '''posts''' : ''Your latest posts''
| |
| : '''page''' : ''A static page (see page_on_front)''
| |
| : ''Data type:'' '''String'''
| |
| |- valign="top"
| |
| |bgcolor="#fbfbef" style="border:1px solid #ffc9c9;padding:1em;padding-top:0.5em; color: black;" width="50%"|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| ; <tt>博客_charset</tt> : 为网页和feeds编码。字符编码 你在(推荐UTF-8)写你的博客。 | | ; <tt>博客_charset</tt> : 为网页和feeds编码。字符编码 你在(推荐UTF-8)写你的博客。 |
第546行: |
第233行: |
| |- valign="top" | | |- valign="top" |
| |bgcolor="#fbfbef" style="border:1px solid #ffc9c9;padding:1em;padding-top:0.5em; color: black;" width="50%"| | | |bgcolor="#fbfbef" style="border:1px solid #ffc9c9;padding:1em;padding-top:0.5em; color: black;" width="50%"| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
| |
|
| === Themes === | | === Themes === |
| === 主题===
| |
|
| |
| ; <tt>template</tt> : The slug of the currently activated theme (how it is accessed by path, ex. ''/wp-content/themes/'''''some-theme''': some-theme would be the value)
| |
| : ''Data type:'' '''String'''
| |
| |valign="top" bgcolor="#f0f0ff" style="border:1px solid #c6c9ff;padding:1em;padding-top:0.5em; color: black;" width="50%"|
| |
|
| |
|
| |
|
| |
|
| |
|
| ; <tt>模板</tt> : 当前激活主题的slug (它是怎样通过路径得到访问的, ex. ''/wp-content/themes/'''''一些主题''':某个主题会是那个值) | | ; <tt>模板</tt> : 当前激活主题的slug (它是怎样通过路径得到访问的, ex. ''/wp-content/themes/'''''一些主题''':某个主题会是那个值) |
| : ''数据类型:'' '''字符串''' | | : ''数据类型:'' '''字符串''' |
| |valign="top" bgcolor="#f0f0ff" style="border:1px solid #c6c9ff;padding:1em;padding-top:0.5em; color: black;" width="50%"| | | |valign="top" bgcolor="#f0f0ff" style="border:1px solid #c6c9ff;padding:1em;padding-top:0.5em; color: black;" width="50%"| |
|
| |
|
| |
|
| |
|
| |
|
| === Writing === | | === Writing === |
|
| |
|
| |
| === 写 ===
| |
|
| |
|
| |
| ; <tt>default_category</tt> : ID of the category that posts will be put in by default
| |
| : ''Data type:'' '''Integer'''
| |
| ; <tt>default_email_category</tt> : ID of the category that posts will be put in by default when written via e-mail
| |
| : ''Data type:'' '''Integer'''
| |
| ; <tt>default_link_category</tt> : ID of the category that links will be put in by default
| |
| : ''Data type:'' '''Integer'''
| |
| ; <tt>default_post_edit_rows</tt> : Size of the post box (in lines)
| |
| : ''Data type:'' '''Integer'''
| |
| ; <tt>mailserver_login</tt> : Mail server username for posting to WordPress by e-mail
| |
| : ''Data type:'' '''String'''
| |
| ; <tt>mailserver_pass</tt> : Mail server password for posting to WordPress by e-mail
| |
| : ''Data type:'' '''String'''
| |
| ; <tt>mailserver_port</tt> : Mail server port for posting to WordPress by e-mail
| |
| : ''Data type:'' '''Integer'''
| |
| ; <tt>mailserver_url</tt> : Mail server for posting to WordPress by e-mail
| |
| : ''Data type:'' '''String'''
| |
| ; <tt>ping_sites</tt> : When you publish a new post, WordPress automatically notifies the following site update services. For more about this, see [[WordPress:Update Services]]. Separate multiple service URLs with line breaks. Requires ''blog_public'' to have a value of '''1'''.
| |
| : ''Data type:'' '''String (possibly multi-line)'''
| |
| ; <tt>use_balanceTags</tt> : Correct invalidly-nested XHTML automatically
| |
| : '''1''' : ''Yes''
| |
| : '''0''' : ''No''
| |
| : ''Data type:'' '''Integer'''
| |
| ; <tt>use_smilies</tt> : Convert emoticons like <tt>:-)</tt> and <tt>:P</tt> to graphics when displayed
| |
| : '''1''' : ''Yes''
| |
| : '''0''' : ''No''
| |
| : ''Data type:'' '''Integer'''
| |
| ; <tt>use_trackback</tt> : Enable sending and receiving of trackbacks
| |
| : '''1''' : ''Yes''
| |
| : '''0''' : ''No''
| |
| |}
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| ; <tt>默认的_类别</tt> : 文章将会被置于默认的类别ID 。 | | ; <tt>默认的_类别</tt> : 文章将会被置于默认的类别ID 。 |