WordPress:Template Tags

来自站长百科
Seadragon530讨论 | 贡献2008年5月4日 (日) 11:28的版本
跳转至: 导航、​ 搜索

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.

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

For further information on template tags and templates in general, see the following:

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

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做贡献获得编辑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")。

作者标签

分类标签

评论标签

日期和时间标签

一般标签

Geo 标签

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

链接标签

链接管理标签

Permalink 标签

文章标签

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


Tag 标签

Trackback 标签

External Resources

其他资源