怎么在rarbg看片:WordPress模板标签

来源:百度文库 编辑:偶看新闻 时间:2024/04/29 21:58:30

模板标签是一种可用在博客模板中以显示动态信息或定制博客的工具。本文稍后会根据模板标签的不同功能,分别列出WordPress中常见的有效模板标签。

更多关于模板和模板标签的信息请参考以下资料:

  • 初识模板标签——模板标签简介
  • 模板标签解析——详细论述如何在模板文件中添加信息
  • 如何传递模板标签参数——详细论述怎样使用标签参数
  • Include标签——将一个模板文件中的内容包含到另一个模板文件的标签
  • 条件标签——条件标签为模板提供多个选项,使模板更加灵活
  • 常用函数——介绍WordPress核心函数
  • Deprecated Functions——WordPress停止使用的函数
  • 模板——WordPress模板、主题以及标签资料列表
  • 初识WordPress模板——WordPress模板文件简介

注意:如果有用户希望为模板标签贡献自己的聪明才智,可以帮助WordPress修改模板标签说明文档,使所有WordPress用户受益。但之前请先熟悉

模板标签

Include标签

  • get_header
  • get_sidebar
  • get_search_form
  • comments_template
  • get_footer

博客资料标签

  • bloginfo
  • bloginfo_rss
  • get_bloginfo
  • get_bloginfo_rss

列表&下拉式标签

  • wp_list_authors
  • wp_list_categories
  • wp_list_pages
  • wp_list_bookmarks
  • wp_list_comments
  • wp_get_archives
  • wp_page_menu
  • wp_dropdown_pages
  • wp_dropdown_categories
  • wp_dropdown_users

登录/登出标签

  • is_user_logged_in
  • wp_login_url
  • wp_logout_url
  • wp_lostpassword_url
  • wp_loginout
  • wp_register

日志标签

  • the_ID
  • the_title
  • the_title_rss
  • the_title_attribute
  • single_post_title
  • the_content
  • the_content_rss
  • the_excerpt
  • the_excerpt_rss
  • wp_link_pages
  • posts_nav_link
  • next_post_link
  • next_posts_link
  • previous_post_link
  • previous_posts_link
  • next_image_link
  • previous_image_link
  • sticky_class
  • the_category
  • the_category_rss
  • the_tags
  • the_meta

评论标签

  • wp_list_comments
  • comments_number
  • comments_link
  • comments_rss_link
  • comments_popup_script
  • comments_popup_link
  • comment_ID
  • comment_id_fields
  • comment_author
  • comment_author_link
  • comment_author_email
  • comment_author_email_link
  • omment_author_url
  • comment_author_url_link
  • comment_author_IP
  • comment_type
  • comment_text
  • comment_excerpt
  • comment_date
  • comment_time
  • comment_form_title
  • comment_author_rss
  • comment_text_rss
  • comment_link_rss
  • permalink_comments_rss
  • comment_reply_link
  • cancel_comment_reply_link
  • previous_comments_link
  • next_comments_link
  • paginate_comments_links

分类标签

  • the_category
  • the_category_rss
  • single_cat_title
  • category_description
  • wp_dropdown_categories
  • wp_list_categories

Tag标签

  • the_tags
  • tag_description
  • single_tag_title
  • wp_tag_cloud
  • wp_generate_tag_cloud

作者标签

  • the_author
  • the_author_link
  • the_author_posts
  • the_author_posts_link
  • the_author_meta
  • wp_list_authors
  • wp_dropdown_users

日期和时间标签

  • the_time
  • the_date
  • the_date_xml
  • the_modified_time
  • the_modified_date
  • the_modified_author
  • single_month_title

编辑链接标签

  • edit_post_link
  • edit_comment_link
  • edit_tag_link
  • edit_bookmark_link

永久链接标签

  • permalink_anchor
  • get_permalink
  • the_permalink
  • permalink_single_rss

链接管理器标签

  • wp_list_bookmarks
  • get_bookmarks
  • get_bookmark

引用通告标签

  • trackback_url
  • trackback_rdf

标题标签

  • wp_title
  • single_post_title
  • single_cat_title
  • single_tag_title
  • single_month_title
  • the_search_query

查询标签

  • get_posts
  • query_posts

Geo标签在WordPress 1.5中,Geo功能被转移到插件中实行。下面括号中的标签表示插件版本。

  • print_Lat (the_Lat)
  • print_Lon (the_Lon)
  • print_UrlPopNav (the_UrlPopNav)
  • print_AcmeMap_Url (the_AcmeMap_Url)
  • print_GeoURL_Url (the_GeoURL_Url)
  • print_GeoCache_Url (the_GeoCache_Url)
  • print_MapQuest_Url (the_MapQuest_Url)
  • print_SideBit_Url (the_SideBit_Url)
  • print_DegreeConfluence_Url (the_DegreeConfluence_Url)
  • print_TopoZone_Url (the_TopoZone_Url)
  • print_FindU_Url (the_FindU_Url)
  • print_MapTech_Url (the_MapTech_Url)