Title: WP Component
Author: David Massiani
Published: <strong>2016 年 7 月 15 日</strong>
Last modified: 2017 年 10 月 30 日

---

搜索插件

![](https://ps.w.org/wpcomponent/assets/banner-772x250.png?rev=1455087)

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

![](https://ps.w.org/wpcomponent/assets/icon-128x128.png?rev=1455087)

# WP Component

 作者：[David Massiani](https://profiles.wordpress.org/david-massiani/)

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

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

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

## 描述

Create powerful, intelligent and reusable components.
 Easily define a customized
content structure.

All components that you create are reusable as many times as you like, with any 
content you can imagine.
 When you create a component, it’s easy to specify the 
exact content that you need. You define your own component, your own content and
your own containers.

Then add any section you like (the component) in any format you choose, with any
kind of content, wherever you like, as many times as you like, using your WordPress
content manager!

Then add this beautiful the_wpc() wherever you like, within a page, in an existing
template, or in a custom template.
 Or if you prefer you can set to use WPComponent
directly in your content. (this option is available in wpcomponent settings and 
is on true by default)

## 屏幕截图

 * [[
 * Editing page with available components
 * [[
 * Folder of components selector
 * [[
 * Inside components editing
 * [[
 * Components can be reorder
 * [[
 * code sample of component
 * [[
 * WP Component settings
 * [[
 * Components import/export

## 安装

This section describes how to install the plugin and get it working.

e.g.

 1. Upload `wpcomponent` folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Edit an article or a page and choose a component in your admin sidebar
 4. Editing your first component, save (or update) and let’s go!

## 常见问题

  What type of content can I define?

Editor like WordPress, Image, Title, choice, true or false, link to any content 
and options.
 More feature in futur.

## 评价

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

### 󠀁[Great component!](https://wordpress.org/support/topic/great-component/)󠁿

 [thiagodreis](https://profiles.wordpress.org/thiagodreis/) 2017 年 6 月 12 日

This is a great component. I was lookign for something like this for a long time
ago. Congratulations to the team who created it! Keep up the good work!!

 [ 阅读所有1条评价 ](https://wordpress.org/support/plugin/wpcomponent/reviews/)

## 贡献者及开发者

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

贡献者

 *   [ David Massiani ](https://profiles.wordpress.org/david-massiani/)

「WP Component」插件已被翻译至 1 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/wpcomponent/contributors)
为本插件所做的贡献。

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

### 对开发感兴趣吗?

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

## 更新日志

#### 2.2.4

 * fix editor height
 * add scroll on selector in case of many components

#### 2.2.3

 * fix new editor height
 * fix duplicate switcher

#### 2.2.2

 * fix switcher options

#### 2.2.1

 * fix colorpicker
 * remove unused functions

#### 2.2

 * fix overflow image when have big size
 * feature : add color picker
 * feature : add limit post type in ID field

#### 2.1.9

 * fix js . again

#### 2.1.8

 * fix js undefined

#### 2.1.7

 * fix qtip js error
 * fix switcher option bad value

#### 2.1.6

 * fix Mailpoet Export bug (see : https://github.com/dmassiani/wpcomponent/issues/
   14 )
 * fix renamed image folder
 * ability to preview component with an image has the same name (.png)

#### 2.1.5

 * fix shortcode interpretation

#### 2.1.4

 * Add new type : id

#### 2.1.3

 * Fix internal selectbox default value

#### 2.1.2

 * Fix internal index bug in switch options

#### 2.1.1

 * Features : add disable component option

#### 2.1

 * change strategy about data : post to meta

#### 2.0.0

 * Change name storytelling to wpcomponent
 * add more custom fields

#### 1.4.2

 * fix admin menu

#### 1.4.1

 * fix child theme bug
 * fix remove
 * fix core image extractor
 * fix reset post before loading content

#### 1.4

 * Enable options
 * Enable boolean option
 * Enable select options
 * Enable numeric option
 * Redesign metabox
 * WP Component settings
 * Import / Export Components

#### 1.3.4

 * fix call ajax when multisite with subdirectory

#### 1.3.3

 * fix removed template/example folder error

#### 1.3.2

 * fix removed JSON element bug
 * fix bad naming cause various bug

#### 1.3.1

 * fix metabox id when delete previous content
 * fix empty folder bug
 * fix empty json

#### 1.3

 * introducing structured folder’s selector
 * Add default macro-template in plugins
 * fix editor cumulative height

#### 1.2.1

 * fix tinymce cumulative height

#### 1.2

 * Enable Title content
 * Enable image content
 * Enable sortable reorder
 * Fix remodeling macro-template structure

#### 1.1

 * First version of plugin. Enable Editor content.

## 额外信息

 *  版本 **2.2.4**
 *  最后更新：**9 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 4.1 或更高版本 **
 *  已测试的最高版本为 **4.8.28**
 *  语言
 * [Croatian](https://hr.wordpress.org/plugins/wpcomponent/) 和 [English (US)](https://wordpress.org/plugins/wpcomponent/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/wpcomponent)
 * 标签
 * [component](https://cn.wordpress.org/plugins/tags/component/)[components](https://cn.wordpress.org/plugins/tags/components/)
   [custom fields](https://cn.wordpress.org/plugins/tags/custom-fields/)[macro-template](https://cn.wordpress.org/plugins/tags/macro-template/)
   [template](https://cn.wordpress.org/plugins/tags/template/)
 *  [高级视图](https://cn.wordpress.org/plugins/wpcomponent/advanced/)

## 评级

 5 星（最高 5 星）。

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

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

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

## 贡献者

 *   [ David Massiani ](https://profiles.wordpress.org/david-massiani/)

## 支持

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

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