WordPress: Option Reference:修订间差异

来自站长百科
跳转至: 导航、​ 搜索
无编辑摘要
无编辑摘要
第15行: 第15行:


*在这儿列出更多的选项,遵循类别结构(如果它们还没有列出来)。
*在这儿列出更多的选项,遵循类别结构(如果它们还没有列出来)。
* 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%"
{| 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%"|


{| cellspacing="10" width="100%"
|- valign="top"
|bgcolor="#fbfbef" style="border:1px solid #ffc9c9;padding:1em;padding-top:0.5em; color: black;" width="50%"|
== 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'''


: ''数据类型:'' '''整数'''
: ''数据类型:'' '''整数'''
第110行: 第50行:
; <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''' : ''是的''
第180行: 第82行:
: ''数据类型:'' '''整数'''
: ''数据类型:'' '''整数'''


; <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''' : ''是的''
第237行: 第108行:
: ''数据类型:'' '''整数'''
: ''数据类型:'' '''整数'''


 
; <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''' : ''星期天''
第306行: 第152行:
: '''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|设定日期和时间格式是]])
第332行: 第161行:
|- 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''' : ''是的''
第390行: 第183行:
|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想得到的结构。一些例子:
第423行: 第194行:
|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>
第450行: 第201行:
: ''数据类型:'' '''整数'''
: ''数据类型:'' '''整数'''
|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)写你的博客。
第528行: 第231行:
|- 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 。

2008年5月9日 (五) 10:22的版本

选项是WordPress用来储存不同的参数和配置的多块数据。以下所列的是一些选项和一些来自当前WordPress安装的默认值。通过使用适当的函数,选项可以从wp_选项表添加, 更改, 移除, 和重新找回。这个列表与WordPress2.3.1版本一致,而且不包含那个版本不认可的选项。

定义按一般地输入,可能选项值要是粗体的,而且选项值定义要斜体的。数据在可能的值(如果有的话)的后面,像:

数据类型: 整数

你可以帮助使这个页面更加地完善!

下面是一些你可以帮助做的事情:

  • 通过添加一个描述,可能的值,和选项的数据描述,给无正式文件的选项添加文件。
  • 在这儿列出更多的选项,遵循类别结构(如果它们还没有列出来)。
  • 通过将函数移到合适的更好的类别,当然还安装了打字稿,来更改错误。

阅读给WordPress做贡献来找出更多的关于你可以怎样地给WordPress做贡献!

通过类别浏览

讨论

blacklist_keys
当一个评论的内容中包含以下的任何内容,如名字,URL,电子邮件,或者IP,这个评论就被认为是一个兜售信息。一个词或者每行的IP。它会匹配里面的词,因此"按住"会匹配WordPress。
数据类型: String (可能是多行)
评论_最大的_链接
在队列中保存一个评论,如果它包含了这个选项或者更多的选项的值。
数据类型: 整数
评论_审核
在一个评论出现之前,一个管理者通常要批准评论。
1 : 是的
0 : 真的
数据类型: 整数
评论_通报
当有人发表了一个评论之后,就发电子邮件给我。
1 : 是的
0 : 不是的
数据类型: 整数


default_comment_status
Allow comments (can be overridden with individual posts)
默认的_评论_级别
允许评论(能被个人文章覆盖)
打开 : 允许评论
关闭 : 不允许评论
数据类型: String
默认的_ping_级别
允许从其它的博客的链接通知(pingbacks和trackbacks)。
打开 : 允许来自其它的博客的pingbacks 和trackbacks
关闭 : 不允许来自其它的博客的pingbacks和trackbacks
数据类型: String
默认_pingback_flag
试着通报任何一个从文章中链接到的博客(缓慢发帖速度)。
1 : 是的
0 : 不是的
数据类型: 整型
审核_关键词
当一个评论内容包含了一下任何的词,名字,URL,电子邮件,或者IP,这个评论就会被放在了审核队列中。一个单词或者一行一个IP,它就会匹配里面的词,因此"按住" 就会匹配"WordPress。"
数据类型: String (可能是多行的)
审核_通知
当一个评论被留住评论的时候,给我写一封电子邮件。
1 : 是的
0 : 不是的
数据类型: 整数
require_name_email
:在一个评论出现之前,评论的作者必须填写他的/她的名字和电子邮件。
1 : 是的
0 : 不是的
数据类型: 整数

General

管理_电子邮件 :管理者 电子邮件

数据类型: 字符串
博客描述
博客 tagline
数据类型: 字符串
博客名
博客 标题
数据类型: 字符串
评论_注册
用户必须注册并且登录到评论
1 : 是的
0 : 不是的
数据类型: 整数
日期_格式
默认日期格式(请看日期和时间格式
数据类型: 字符串
默认_角色
注册在博客上的用户的默认角色。
订阅者 :
管理者 :
编辑者 :
作者 :
贡献者 :


数据类型: 字符串
gmt_offset
根据这个值,博客中的时期应该有所不同。
-6 : GMT -6 (aka 中央标准时间, 美国)
0 : GMT (aka 格林尼治标准时间)
数据类型: 整数
主页
博客 地址(URL)
数据 类型: 字符串 (URI)
站点url
WordPress地址 (URL)

数据类型: 字符串(URI)

一周_的_开始
一周开始的第一天。默认为0(星期天)。
0 : 星期天
1 : 星期一
2 : 星期二
3 : 星期三
4 : 星期四
5 : 星期五
6 : 星期六
数据类型: 整数
时间_格式
默认时间格式 (请看设定日期和时间格式是)
数据类型: 字符串
用户_可以_注册
任何人都可以注册
1 : 是的
0 : 不是的
数据类型: 整数

Miscellaneous

hack_文件
使用 legacy my-hacks.php文件支持
1 : 是的
0 : 不是的
数据类型: 整数
html_类型
博客网页默认的MIME 类型(text/html, text/xml+html, 等等。)
数据类型: 字符串(MIME 类型)
秘密
在使用salting等等安装时创建的秘密的值。
数据类型: 字符串 (MD5)
上传_路径
在这个文件夹上储存上载的内容(与WordPress根相关)
数据类型: 字符串 (相关的路径)
上载的内容_使用_年月_文件夹
将上传的内容按月份整理- 文件夹以年份为基础
1 : 是的
0 : 不是的
数据类型: 整数
use_linksupdate
追溯链接的更新时间
1 : 是的
0 : 不是的
数据类型: 整数

Permalinks

permalink_结构
你的博客的permalinks想得到的结构。一些例子:
/%年%/%月num%/%日%/%文章名%/ : 日期和名称基于
/归档/%文章_id%/ : 数字的
/%文章名%/ : 文章名为基础

:通过浏览使用Permalinks,你可以看到更多的例子。

数据类型: 字符串

private

博客_公共的
1 : 我希望每个人都能够看到我的博客,包括搜索引擎(像Google, Sphere, Technorati) 和 archivers.
0 : 我想要阻碍搜索引擎,但是允许一般的访客。
数据类型: 整数


Reading

博客_charset
为网页和feeds编码。字符编码 你在(推荐UTF-8)写你的博客。
数据 类型: 字符串
gzipcompression
如果浏览器要求的话,WordPress 应该(用gzip)压缩文章。
1 : 是的
0 : 不是的
数据类型: 整数
在_首页的_网页
网页的ID应该显示在首页上。需要 显示_在_首页's value to be 网页.
数据类型: 整数
每个_网页上的_文章
博客网页上最多显示x 许多文章。
数据类型: 整数
每个_rss的_文章
在RSS feeds上最多显示x 许多文章。
数据类型: 整数
rss_摘录_长度
摘录的长度显示在RSS feeds。需要rss_使用_摘录来拥有一个1的值。
数据类型: 整数
rss_语言
RSS feeds 的语言(只有元数据目的)
数据类型: 字符串 (ISO两个字母的语言代码)
rss_使用_摘录
Show an excerpt instead of the full text of a post in RSS feeds
1 : 是的
0 : 不是的
数据 类型: 整数
显示_在_首页
在首页上显示什么
文章 : 你最近的文章
网页 : 一个静态的网页 (看看_在_首页)
数据类型: 字符串


Themes

模板
当前激活主题的slug (它是怎样通过路径得到访问的, ex. /wp-content/themes/一些主题:某个主题会是那个值)
数据类型: 字符串

Writing

默认的_类别
文章将会被置于默认的类别ID 。
数据类型: 整数
默认的_电子邮件_类别
当通过电子邮件写的时候,文章就会默认提交的类别的 ID
数据类型: 整数
默认的_链接_类别
链接被默认置入的类别的ID
数据类型: 整数
默认的_文章_编辑_rows
文章框的大小 (in lines)
数据类型: 整数
邮件服务器_注册
用来通过电子邮件向WordPress发表文章的邮件服务器用户名
数据类型: 字符串
邮件服务器_通过
通过电子邮件向WordPress发表文章的邮件服务器密码
数据类型: 字符串
邮件服务器_端口
通过电子邮件向WordPress发表文章的邮件服务器端口
数据类型: 整数
电子邮件服务器_url
通过电子邮件向WordPress发表文章的邮件服务器
数据类型: 字符串
ping_站点
当你发表一篇新的文章,WordPress会自动地通知以下的站点更新服务。关于这个,请看更新服务。 用分行分开多个服务。需要博客_公共 有一个数值1.
数据类型: 字符串 (可能多行)
使用_balanceTags
自动地更正无用地嵌套的XHTML
1 : 是的
0 : 不是的
数据类型: 整数
使用_smilies
显示时, 转换emoticons 像:-):P 为图形
1 : 是的
0 : 不是的
数据类型: 整数
使用_trackback
是能够发出和收到trackbacks
1 : 是的
0 : 不是的