這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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.

Live Demo

Rate The Plugin

More Plugins

安裝

Installation

  1. Upload ‘the-single-background’ folder to the ‘/wp-content/plugins/’ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.

Shortcode

  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”.

Example

[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 reply
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.