Title: Gutenberg Templates
Author: Konstantinos Galanakis
Published: <strong>2018 年 11 月 21 日</strong>
Last modified: 2018 年 11 月 22 日

---

搜索插件

![](https://ps.w.org/block-templates/assets/banner-772x250.jpg?rev=1978236)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/block-templates/assets/icon-256x256.jpg?rev=1978245)

# Gutenberg Templates

 作者：[Konstantinos Galanakis](https://profiles.wordpress.org/kmgalanakis/)

[下载](https://downloads.wordpress.org/plugin/block-templates.zip)

 * [详情](https://cn.wordpress.org/plugins/block-templates/#description)
 * [评价](https://cn.wordpress.org/plugins/block-templates/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/block-templates/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/block-templates/#developers)

 [支持](https://wordpress.org/support/plugin/block-templates/)

## 描述

Gutenberg Templates allows to build dynamic templates with custom fields and taxonomy
and assign them to any content type in WordPress.

The templates will work like PHP templates. You design them once and they automatically
apply to all items of a post type. When you edit a template, changes apply immediately
to all the items that use that template.

Any item can opt-out of the post type template application at any time using a meta
box control on the item edit page.

## 屏幕截图

[⌊Editing a template and adding the Gutenberg Templates post content block.⌉⌊Editing
a template and adding the Gutenberg Templates post content block.⌉[

Editing a template and adding the Gutenberg Templates post content block.

[⌊A rich template design.⌉⌊A rich template design.⌉[

A rich template design.

[⌊Assigning the template to a post type.⌉⌊Assigning the template to a post type.⌉[

Assigning the template to a post type.

[⌊Editing a template not assigned to any post type, targetted to be applied on a
certain item.⌉⌊Editing a template not assigned to any post type, targetted to be
applied on a certain item.⌉[

Editing a template not assigned to any post type, targetted to be applied on a certain
item.

[⌊Editing an item that the post type of which already has a template assignment.⌉⌊
Editing an item that the post type of which already has a template assignment.⌉[

Editing an item that the post type of which already has a template assignment.

[⌊The frontend view of an item with a template assigned.⌉⌊The frontend view of an
item with a template assigned.⌉[

The frontend view of an item with a template assigned.

[⌊The opt-out message.⌉⌊The opt-out message.⌉[

The opt-out message.

[⌊The frontend view of the opted-out item.⌉⌊The frontend view of the opted-out item
.⌉[

The frontend view of the opted-out item.

## 安装

 1. Upload the plugin to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## 常见问题

  Does this plugin use the built-in Gutenberg templates system?

No. This is an alternative implementation approach to Gutenberg’s built-in templates
system.

  What kind of custom fields can I use in templates?

This plugin will ultimately integrate with the native custom fields as well as with
several plugins offering custom fields functionality. Currently, any plugin offering
this option using shortcodes is already supported by injecting the shortcodes inside
blocks during the template design.

## 评价

![](https://secure.gravatar.com/avatar/c459f9d02529b19a05748b3ecbba07f4e1fe19c43ca149673c4327231019c078?
s=60&d=retro&r=g)

### 󠀁[Does not work anymore…](https://wordpress.org/support/topic/does-not-work-anymore-35/)󠁿

 [grzegorzp](https://profiles.wordpress.org/grzegorzp/) 2019 年 3 月 28 日

Well, it seems that this plugin was abandoned :-/

![](https://secure.gravatar.com/avatar/cb1597fcc320ddc39bee58cfaf02e5cc7e1383630aba48e5c18161fc3716f6e8?
s=60&d=retro&r=g)

### 󠀁[Great feature that need to be included in WP core](https://wordpress.org/support/topic/great-feature-that-need-to-be-included-in-wp-core/)󠁿

 [Luis Sacristán](https://profiles.wordpress.org/displaynone/) 2018 年 11 月 22 
日

Most of my clients need templates and this plugin has added a missing Gutenberg 
feature.

 [ 阅读所有2条评价 ](https://wordpress.org/support/plugin/block-templates/reviews/)

## 贡献者及开发者

「Gutenberg Templates」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Konstantinos Galanakis ](https://profiles.wordpress.org/kmgalanakis/)

[帮助将「Gutenberg Templates」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/block-templates)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/block-templates/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/block-templates/)，或通过[RSS](https://plugins.trac.wordpress.org/log/block-templates/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/block-templates/)。

## 更新日志

#### 1.0.1

 * Fixed the “Assigned post type” column on the Gutenberg Template listing page 
   to show the correct name.

#### 1.0

 * Initial release

## 额外信息

 *  版本 **1.0.1**
 *  最后更新：**8 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **5.0.25**
 *  PHP 版本 ** 5.6 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/block-templates/)
 * 标签
 * [gutenberg](https://cn.wordpress.org/plugins/tags/gutenberg/)[templates](https://cn.wordpress.org/plugins/tags/templates/)
 *  [高级视图](https://cn.wordpress.org/plugins/block-templates/advanced/)

## 评级

 3 星（最高 5 星）。

 *  [  1 条 5 星评价     ](https://wordpress.org/support/plugin/block-templates/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/block-templates/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/block-templates/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/block-templates/reviews/?filter=2)
 *  [  1 条 1 星评价     ](https://wordpress.org/support/plugin/block-templates/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/block-templates/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/block-templates/reviews/)

## 贡献者

 *   [ Konstantinos Galanakis ](https://profiles.wordpress.org/kmgalanakis/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/block-templates/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://github.com/kmgalanakis)