WordPress: Template Tags:修订间差异

来自站长百科
跳转至: 导航、​ 搜索
无编辑摘要
无编辑摘要
第1行: 第1行:
__TOC__
__TOC__
Template tags are used within your blog's [[WordPress:Templates]] to display information dynamically or otherwise customize your blog, providing the tools to make it as individual and interesting as you are. Below is a list of the general user tags available in WordPress, sorted by function-specific category.<br />
模板标签是用在你的blog中的 [[WordPress:Templates|模板]]中,显示动态信息或者自定义你的blog,它提供的独立有趣的工具。下面是WordPress中一般用户使用的标签列表,按照功能分类。<br />
模板标签是用在你的blog中的 [[WordPress:Templates|模板]]中,显示动态信息或者自定义你的blog,它提供的独立有趣的工具。下面是WordPress中一般用户使用的标签列表,按照功能分类。<br />
For further information on template tags and templates in general, see the following:
* [[WordPress:Stepping Into Template Tags]] (an introduction to Template Tags)
* [[WordPress:Template Tags/Anatomy of a Template Tag|Anatomy of a Template Tag]] (details of how to put Tags into Template files)
* [[WordPress:Template Tags/How to Pass Tag Parameters|How to Pass Tag Parameters]] (details of how to use Parameters with Tags)
* [[WordPress:Include Tags]] (additional tags not shown here, related to including one Template file within another)
* [[WordPress:Conditional Tags]] (more additional tags not shown here, related to making your Templates more flexible with options)
* [[WordPress:Templates]] (a comprehensive list of Template, Theme, and Tag resources)
* [[WordPress:Stepping Into Templates]] (introduction to Template files)


更多关于模板标签的信息, 参见如下内容:
更多关于模板标签的信息, 参见如下内容:
第21行: 第10行:
* [[WordPress:Templates|模板]] (全面的模板、主题和标签资源列表)
* [[WordPress:Templates|模板]] (全面的模板、主题和标签资源列表)
* [[WordPress:Stepping Into Templates|走进模板]] (模板文件介绍)
* [[WordPress:Stepping Into Templates|走进模板]] (模板文件介绍)
If you have an interesting twist on the implementation of a template tag, you're encouraged to add to its documentation for the benefit of other WordPress users. However, first see [[WordPress:Contributing to WordPress]] for help and guidelines on editing Codex pages.


如果你有什么有趣的关于模板标签的运行的想法,我们鼓励你添加到它的文件中,这样对WordPress其他用户有一定的好处。尽管如此,首先查看 [[WordPress:Contributing to WordPress|为WordPress做贡献]]获得编辑Codex页面的帮助和指导。
如果你有什么有趣的关于模板标签的运行的想法,我们鼓励你添加到它的文件中,这样对WordPress其他用户有一定的好处。尽管如此,首先查看 [[WordPress:Contributing to WordPress|为WordPress做贡献]]获得编辑Codex页面的帮助和指导。
'''Note:''' Some template tags listed below are new to a specific version of WordPress and will be so noted (example: "Version 2.1"). This means that tag is not available in previous versions. Tags listed as "Deprecated" have been so from version 2.0 or earlier. ''Newer'' deprecated tags are marked with the version from when they were deprecated (i.e. "Deprecated in 2.1"). 


'''注意:''' 下边的一些模板标签列表是一些针对WordPress更新的,将会标注出来(如: " 2.1版") 这意味着在旧版本中这种标签不可用。列出的标签从版本2.0或稍早一些的版本后已经 "不可用"了 。''更新的'' 不可用的标签会使用版本号标记出从哪个版本开始不可用(如"Deprecated in 2.1")。
'''注意:''' 下边的一些模板标签列表是一些针对WordPress更新的,将会标注出来(如: " 2.1版") 这意味着在旧版本中这种标签不可用。列出的标签从版本2.0或稍早一些的版本后已经 "不可用"了 。''更新的'' 不可用的标签会使用版本号标记出从哪个版本开始不可用(如"Deprecated in 2.1")。

2008年5月4日 (日) 13:42的版本

模板标签是用在你的blog中的 模板中,显示动态信息或者自定义你的blog,它提供的独立有趣的工具。下面是WordPress中一般用户使用的标签列表,按照功能分类。

更多关于模板标签的信息, 参见如下内容:

如果你有什么有趣的关于模板标签的运行的想法,我们鼓励你添加到它的文件中,这样对WordPress其他用户有一定的好处。尽管如此,首先查看 为WordPress做贡献获得编辑Codex页面的帮助和指导。

注意: 下边的一些模板标签列表是一些针对WordPress更新的,将会标注出来(如: " 2.1版") 这意味着在旧版本中这种标签不可用。列出的标签从版本2.0或稍早一些的版本后已经 "不可用"了 。更新的 不可用的标签会使用版本号标记出从哪个版本开始不可用(如"Deprecated in 2.1")。

作者标签

分类标签

评论标签

日期和时间标签

一般标签

Geo 标签

Geo 功能WordPress 1.5时被移到一个插件中执行. 圆括号中的标签是这个插件的版本.

链接标签

链接管理标签

Permalink 标签

文章标签

Loop中, 这些值可以通过$post对象来存取。


Tag 标签

Trackback 标签

External Resources

其他资源