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

The Single Background

描述

Single Background

Add different background color or responsive background image for every single post or page or custom post type.

The Features

  • One shortcode only and easy to use.
  • Background color or responsive background image.
  • Add different background for every single post or page or custom post type.

实际演示

Rate The Plugin

More Plugins

安装

Installation

  1. Upload ‘the-single-background’ folder to the ‘/wp-content/plugins/’ directory.
  2. 通过 WordPress 的“插件”菜单以激活本插件。

代码

  1. [single_bg url=””] for background image
  2. [single_bg color=””] for background color

[single_bg] Attributes

  1. url=”paste here your background image url”.
  2. color=”paste here color code or string color”.

例子

[single_bg url="http://yoursite.com/my-image.jpg"] this is for background image.
[single_bg color="#000000"] this is for background color.

You can use string color or rgba color, for example:
[single_bg color="black"] this is for string background color
[single_bg color="rgba(0, 0, 0, 1)"] this is for rgba background color

Read explanation of use.

评价

2016 年 9 月 3 日
it's not responsive, it's just deforming my background image when I scale down my browser window.

Top

2016 年 9 月 3 日 1 回复
very good, I don't change background color, this plugin help thanks
阅读所有3条评价

贡献者及开发者

“The Single Background” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“The Single Background”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0.2

  • Fixing background image position (white space at bottom), this update working with WordPress version 4.3.1 or higher only.

1.0.1

  • Fixing background position if user is logged in.

1.0.0

  • First version.