跳到内容

Custom Templates

v1.2.1

JohnnyPea · 2016年10月9日 上架

Custom post content templates based on post types.

正在使用
40+
评分
暂无
累计下载
3,526
最近更新
2017年1月27日
需要 WordPress 4.4+已测试到 4.7.40

The plugin allows you to create custom templates and modify content output for single post pages in particular post type.

Shortcodes

  • [tmpl_field name=ANY_POST_PROPERTY]

Post properties:

ID
post_author
post_date
post_date_gmt
post_content
post_title
post_excerpt
post_status
comment_status
ping_status
post_password
post_name
to_ping
pinged
post_modified
post_modified_gmt
post_content_filtered
post_parent
guid
menu_order
post_type
post_mime_type
comment_count
filter
  • [tmpl_field name=cf_ANY_CUSTOM_FIELD]

e.g. [tmpl_field name=cf_my_custom_field]

  • [tmpl_field name=tax_ANY_TAXONOMY_SLUG]

e.g. [tmpl_field name=tax_post_tag]

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums