Title: Enzymes
Author: Andrea Ercolino
Published: <strong>2007 年 4 月 18 日</strong>
Last modified: 2010 年 6 月 27 日

---

搜索插件

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

![](https://s.w.org/plugins/geopattern-icon/enzymes.svg)

# Enzymes

 作者：[Andrea Ercolino](https://profiles.wordpress.org/aercolino/)

[下载](https://downloads.wordpress.org/plugin/enzymes.2.3.zip)

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

 [支持](https://wordpress.org/support/plugin/enzymes/)

## 描述

While editing the content (the visual editor is supported), Enzymes let’s you retrieve
properties and custom fields of posts, pages, and authors, and have them appear 
right there (transclusion).

If you want something to appear elsewhere, outside the content, you can use Enzymes
directly from WordPress theme files.

You can also format and modify any transcluded content on the fly, using reusable
code snippets stored inside files or custom fields.

Enzymes makes it very easy to re-use parts of your content around your blog, just
by referencing it.

Here are two little samples, whose preconditions are these:
 * you have a post with
the slug `postcard-from-barcelona`, with a custom field with the key `report` and
the value `warm and sunny (Feb, 2008)` * in the post with the id 1 you have a custom
field with the key marker and the value `return '<span style="background-color:'.
$this->substrate . ';">' . $this->pathway . '</span>';`

#### Simple transclusion: a custom field of a post is made appear in another post

> The weather in Barcelona was always {[ @postcard-from-barcelona.report ]} and 
> we stayed outdoor most of the day.

is sent to the browser as

> The weather in Barcelona was always warm and sunny (Feb, 2008) and we stayed outdoor
> most of the day.

#### Simple evaluation: a custom field is transcluded and highlighed with a yellow marker

> The weather in Barcelona was always {[ @postcard-from-barcelona.report | 1.marker(
> =yellow= ) ]} and we stayed outdoor most of the day.

is sent to the browser as

> The weather in Barcelona was always <span style=”background-color:yellow;”>warm
> and sunny (Feb, 2008)</span> and we stayed outdoor most of the day.

#### Enzymes Manual

I’ve set up a page with [all you need to know about Enzymes](http://noteslog.com/enzymes/).

## 安装

 1. Copy to your plugins folder
 2. Activate Enzymes

## 常见问题

none

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

 *   [ Andrea Ercolino ](https://profiles.wordpress.org/aercolino/)

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

### 对开发感兴趣吗?

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

## 额外信息

 *  版本 **2.3**
 *  最后更新：**16 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 3.0 或更高版本 **
 *  已测试的最高版本为 **3.0.5**
 *  语言
 * [English (US)](https://wordpress.org/plugins/enzymes/)
 * 标签
 * [custom fields](https://cn.wordpress.org/plugins/tags/custom-fields/)[inclusion](https://cn.wordpress.org/plugins/tags/inclusion/)
   [properties](https://cn.wordpress.org/plugins/tags/properties/)
 *  [高级视图](https://cn.wordpress.org/plugins/enzymes/advanced/)

## 评级

尚未提交反馈。

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

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

## 贡献者

 *   [ Andrea Ercolino ](https://profiles.wordpress.org/aercolino/)

## 支持

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

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

## 捐助

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

 [ 捐助此插件 ](http://noteslog.com/)