[WordPress] 外掛分享: Dynamic Background Colour

首頁外掛目錄 › Dynamic Background Colour
WordPress 外掛 Dynamic Background Colour 的封面圖片
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
80+
安裝啟用
★★★★★
5/5 分(1 則評價)
3387 天前
最後更新
問題解決
WordPress 4.1+ v1.0 上架:2015-09-01

內容簡介

這個外掛程式可以持續且輕柔地在特定頁面上更改背景和/或透明區域圖片的顏色。

這個外掛程式會以自訂背景(或對於沒有自訂背景的主題,會以固定顏色開始),並透過一個顏色車輪的方式逐漸修改背景顏色,直到適用於特定頁面。
在這些頁面上的包含透明區域的圖片也可以接受此背景色。

請在 http://wordpooldesign.co.uk/wordpress/dynamicbg 查看實時示範。

您可以在「儀表板」>「外觀」>「動態背景」下找到設置畫面,也可以從工具列中找到設置。

致謝

javascript 檔案 getbg.js 包含將 HSL 轉換為 RGB和反之的函數。這個功能可以從幾個來源找到,但我的來源是 Garry Tan (http://axonflux.com/handy-rgb-to-hsl-and-rgb-to-hsv-color-model-c),他的來源是 mjijackson.com(此連結已失效),但最終的來源似乎是在https://en.wikipedia.org/wiki/HSL_and_HSV 的信息。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Dynamic Background Colour」→ 直接安裝(推薦)

原文外掛簡介

Continuously and gently changes color of background and/or pictures with transparent areas on selected pages.
This plugin starts with the custom background (or a fixed color for themes that do not
provide a custom background) and gradually modifies it in a color wheel fashion to selected pages.
Pictures on those pages that contain transparent areas may also be set to receive this
background color.
See a live demo at http://wordpooldesign.co.uk/wordpress/dynamicbg
A settings screen is provided under Dashboard > Appearance > Dynamic Background and also from the toolbar.
Credits
The javascript file getbg.js contains functions that convert hsl to rgb and the reverse. This functionality can be found from several sources but mine were from Garry Tan (http://axonflux.com/handy-rgb-to-hsl-and-rgb-to-hsv-color-model-c) who credits mjijackson.com (this link no longer works) but it seems the ultimate source is the information in https://en.wikipedia.org/wiki/HSL_and_HSV

延伸相關外掛

文章
Filter
Apply Filters
Mastodon