[wordpress插件] Custom Templates自定义模板

wordpress 插件 文章 2020-04-10 01:50 457 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

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]
    • [tmpl_field name = ANY_POST_PROPERTY ]

    Post properties:

    帖子属性:

    ID

      ID

    post_author

    post_author

    post_date

    发布日期

    post_date_gmt

    post_date_gmt

    post_content

    post_content

    post_title

    帖子标题

    post_excerpt

    摘录后

    post_status

    后状态

    comment_status

    comment_status

    ping_status

    ping_status

    post_password

    post_password

    post_name

    post_name

    to_ping

    to_ping

    pinged

    ping

    post_modified

    后修改

    post_modified_gmt

    post_modified_gmt

    post_content_filtered

    post_content_filtered

    post_parent

    后父母

    guid

    吉德

    menu_order

    menu_order

    post_type

    post_type

    post_mime_type

    post_mime_type

    comment_count

    comment_count

    filter

    过滤

      • [tmpl_field name=cf_ANY_CUSTOM_FIELD]
      • [tmpl_field name = cf _ ANY_CUSTOM_FIELD ]

      e.g.

      例如

      [tmpl_field name=cf_my_custom_field]

      [tmpl_field name = cf_my_custom_field]

        • [tmpl_field name=tax_ANY_TAXONOMY_SLUG]
        • [tmpl_field name = tax _ ANY_TAXONOMY_SLUG ]

        e.g.

        例如

        [tmpl_field name=tax_post_tag]

        [tmpl_field name = tax_post_tag]

安装步骤

    1. Install.
    2. 安装。

    3. Activate.
    4. 激活。

下载地址
https://downloads.wordpress.org/plugin/custom-templates.zip
-EOF-

AI助手支持GPT4.0