Title: PB Modular Pattern System
Author: Pat Bloom
Published: <strong>2019 年 8 月 20 日</strong>
Last modified: 2020 年 7 月 29 日

---

搜索插件

![](https://ps.w.org/pb-modular-pattern-system/assets/banner-772x250.png?rev=2142783)

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

![](https://ps.w.org/pb-modular-pattern-system/assets/icon-256x256.png?rev=2142783)

# PB Modular Pattern System

 作者：[Pat Bloom](https://profiles.wordpress.org/patbloom/)

[下载](https://downloads.wordpress.org/plugin/pb-modular-pattern-system.0.4.5.zip)

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

 [支持](https://wordpress.org/support/plugin/pb-modular-pattern-system/)

## 描述

**The PB Modular Pattern System (MPS)** is a design and development system based
on 6 so called ‘patterns’. Patterns can be seen as modular parts (on design and 
code level) that are assembled to bigger pieces of functional components which still
can be updated without the need to rework them in other parts all the time. More
about this on [http://web.mps.systems](http://web.mps.systems)

#### Features

 * Build a WordPress website completely modular – bases on 6 Patterns with MVC model
   approach
 * Create advanced re-usable Partials (and components) that can be injected with
   variables
 * Implement MPS in any (existing) template or use the example theme
 * Choose from front-end frameworks like UIkit, Bootstrap or WP Gutenberg
 * Based on rapid development, BEM and DRY method

## 屏幕截图

[⌊View of the plugin admin settings⌉⌊View of the plugin admin settings⌉[

View of the plugin admin settings

[⌊Code view (in PhpStorm) of core code (Header Image for UIkit 3)⌉⌊Code view (in
PhpStorm) of core code (Header Image for UIkit 3)⌉[

Code view (in PhpStorm) of core code (Header Image for UIkit 3)

[⌊Call of (Header Image) Partial in a template (in PhpStorm)⌉⌊Call of (Header Image)
Partial in a template (in PhpStorm)⌉[

Call of (Header Image) Partial in a template (in PhpStorm)

## 安装

 1. Upload the plugin folder to the ‘/wp-content/plugins/’ directory or install the
    plugin from the WordPress Plugin directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Configure the options under ‘Settings > PB Modular Pattern System’.

## 常见问题

### Will the plugin change code on my website?

No, the plugin is non-destructive and will only work when activated.

### Is this plugin like a “block builder” theme?

No, not really – it can be slightly compared with Sage, but less complex, without
the “node-modules” and Blade. You can code your own partials and components (in 
a regular theme or Sage) and re-use them in a very clean and consistent way or load
them from the MPS core.

### Do I need to use the example theme?

No, it’s an example to show how Blocks and Partials can be created and whats the
folder structure you need to use. But you can use it of course as a starting point!

### Why is the admin section so funky?

Because I like colours and it’s possible 🙂

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

 *   [ Pat Bloom ](https://profiles.wordpress.org/patbloom/)

[帮助将「PB Modular Pattern System」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/pb-modular-pattern-system)

### 对开发感兴趣吗?

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

## 更新日志

#### 0.4.5 [2020.07.29]

 * Added: Ability to add attribute to nav-menu items
 * Updated: Bootstrap framework to 4.5.0
 * Updated: Uikit framework to 3.5.5
 * Updated: Plugin version to 0.4.5
 * Fixed: Minor PHP 7.4 compatibility issue

#### 0.4.4 [2019.08.19]

 * Code cleanup
 * Enhanced code consistency

#### 0.4.3 [2019.06.30]

 * Added support for Sage 9 Framework (thanks to Insaf)

#### 0.4.2 [2019.06.23]

 * Applied WP plugin directory review suggestions

#### 0.4.1 [2019.06.18]

 * (De)registered necessary jQuery script calls
 * Tested on WordPress 5.2.2

#### 0.4 [2019.06.08]

 * Applied WP plugin directory review suggestions
 * Code cleanup

#### 0.3.2 [2019.06.07]

 * Initial version submit to WP plugin directory
 * Code cleanup
 * Added FAQ
 * Added Screenshots

#### 0.3.1 [2019.06.05]

 * Code cleanup

#### 0.3.0 [2019.06.04]

 * First (private) release

#### 0.2.0 [2019.05.17]

 * Initial Release

## 额外信息

 *  版本 **0.4.5**
 *  最后更新：**6 年前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 4.5 或更高版本 **
 *  已测试的最高版本为 **5.4.19**
 *  语言
 * [English (US)](https://wordpress.org/plugins/pb-modular-pattern-system/)
 * 标签
 * [blocks](https://cn.wordpress.org/plugins/tags/blocks/)[framework](https://cn.wordpress.org/plugins/tags/framework/)
   [modular](https://cn.wordpress.org/plugins/tags/modular/)[pattern](https://cn.wordpress.org/plugins/tags/pattern/)
   [system](https://cn.wordpress.org/plugins/tags/system/)
 *  [高级视图](https://cn.wordpress.org/plugins/pb-modular-pattern-system/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/pb-modular-pattern-system/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/pb-modular-pattern-system/reviews/)

## 贡献者

 *   [ Pat Bloom ](https://profiles.wordpress.org/patbloom/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/pb-modular-pattern-system/)