WordPress:Template Tags
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:
- WordPress:Stepping Into Template Tags (an introduction to Template Tags)
- Anatomy of a Template Tag (details of how to put Tags into Template files)
- 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)
更多关于模板标签的信息, 参见如下内容:
- 走进模板标签 (模板标签的介绍)
- 模板标签解析 (如何添加标签到模板文件中的细节介绍)
- 如何传递标签参数 (如何使用标签的参数的详细内容)
- 包括标签 (附加的标签没有在这里显示, 涉及到把一个模板文件纳入到另一模板文件中)
- 条件式标签 (更多条件式标签没有显示在这里,涉及到让你的模板操作更灵活)
- 模板 (全面的模板、主题和标签资源列表)
- 走进模板 (模板文件介绍)
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")。
External Resources
- szub.net: WordPress Template Tags reference page
- Solutoire.com: Template Tag Dreamweaver extension (TAGStention)
- French translation: http://codex.wordpress.org/fr:Marqueurs_de_Modele