Title: Layers
Author: StripesWP
Published: <strong>2017 年 7 月 5 日</strong>
Last modified: 2025 年 9 月 30 日

---

搜索插件

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

![](https://ps.w.org/layers/assets/icon-256x256.png?rev=1690946)

# Layers

 作者：[StripesWP](https://profiles.wordpress.org/stripeswp/)

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

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

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

## 描述

The simplest and most elegant way of adding full-width, layered content areas to
your website, with a simple shortcode: [layer]…[/layer]. Add as many layers and 
colors and images as you like.

## 安装

 1. Install and activate the plugin.
 2. Create a new page or edit an existing one.
 3. Under Page Attributes, change the Template to Layers and save.
 4. Now, add as many content sections as you like by adding the `[layer]...[/layer]`
    shortcode into the content area of your page.

Example with all the optional parameters:

    ```
    [layer id="" class="" color="" padding="" background-color="" background-image=""]
    Hello World!
    [/layer]
    ```

You may add whatever id you like and as many classes (space-separated) as you like.

Built-in classes include:

    ```
    left
    center
    right
    layer-inner
    overlay
    force-white-text
    force-black-text
    ```

**layer-inner** creates a more narrow content area within the layer, if needed.

**overlay** allows you to fade a background image for more legible text, if needed.

**force-white-text** and **force-black-text** can override theme styles to force
all text within the layer to be white or black, if and when needed.

For _color_, _padding_, _background-color_, and _background-image_ parameters, you
may treat this just like normal CSS, adding either a color name like `red` or color
code like `#ff0000` or a full image URL.

I’ve tried to think of and address common pitfalls that might occur with themes 
and tested with the most popular themes to work out wonky design issues. Even so,
there are just too many variables. It’s inevitable that this plugin will break someone’s
design on the Layers page only (as everything is self-contained), so I’ll be available
to support you by either adding updates to the plugin or offering you custom CSS
for your unique situation.

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

 *   [ StripesWP ](https://profiles.wordpress.org/stripeswp/)
 *   [ Web Guy ](https://profiles.wordpress.org/webguyio/)

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

### 对开发感兴趣吗?

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

## 额外信息

 *  版本 **1.0**
 *  最后更新：**8 月前**
 *  活跃安装数量 **90+**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **6.8.5**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/layers/)
 * 标签
 * [layer](https://cn.wordpress.org/plugins/tags/layer/)[layers](https://cn.wordpress.org/plugins/tags/layers/)
   [panel](https://cn.wordpress.org/plugins/tags/panel/)[Section](https://cn.wordpress.org/plugins/tags/section/)
   [sections](https://cn.wordpress.org/plugins/tags/sections/)
 *  [高级视图](https://cn.wordpress.org/plugins/layers/advanced/)

## 评级

尚未提交反馈。

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

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

## 贡献者

 *   [ StripesWP ](https://profiles.wordpress.org/stripeswp/)
 *   [ Web Guy ](https://profiles.wordpress.org/webguyio/)

## 支持

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

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

## 捐助

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

 [ 捐助此插件 ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=DTRTUYSPKJN8N)