[WordPress] 外掛分享: Adaptive Background

首頁外掛目錄 › Adaptive Background
WordPress 外掛 Adaptive Background 的封面圖片
全新外掛
安裝啟用
尚無評分
1097 天前
最後更新
問題解決
WordPress 4.4+ v1.0.0 上架:2023-03-15

內容簡介

以下文章要點:

* JavaScript 插件用於 Adaptive Background 。
* 在支援 HTML5 的任何瀏覽器中運作。
* 您可以添加任何類型的圖像以添加適應性背景,
* 它將採用圖像顏色以添加相同的背景顏色。
* 它的工作方式就像 Instagram 故事。當您在故事線上上傳任何圖像時,它將自動採用基於上傳圖像的背景顏色。
閱讀有關 Shortcode 的信息:
[adaptive_backgrounds media_id=”6″ img_url=”www.wordpress.org/logo.png”]

media_id(可選):設置將在前端使用的圖像的媒體 ID。
img_url(可選):設置圖像的直接第三方 URL。
注意:您只需要添加一個圖像選項。如果您使用兩個選項,它將顯示圖像 URL 圖像。

學分

Adaptive Backgrounds 的靈感來自 https://github.com/briangonzalez/jquery.adaptive-backgrounds.js
對於純 HTML 使用:https://github.com/briangonzalez/jquery.adaptive-backgrounds.js

外掛標籤

開發者團隊

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

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

原文外掛簡介

.
* A JavaScript plugin for Adaptive Backgrounds.
* Works in any browser that supports HTML5.
* You can add any type of image to add adaptive background,
* It will adopt image color to add same color background.
* It is work like Instagram Story. When you upload any image on story line it will automatically adopt background color based on uploaded image.
Read about Shortcode:
[adaptive_backgrounds media_id=”6″ img_url=”www.wordpress.org/logo.png”]

media_id (optional) : set media id of image that will use in frontend.
img_url (optional) : set direct third party url of image.
Note : You need to add only one option for image. If you use both options then it will display image url image.

Credits

Adaptive Backgrounds was inspired by https://github.com/briangonzalez/jquery.adaptive-backgrounds.js
For plain HTML use : https://github.com/briangonzalez/jquery.adaptive-backgrounds.js

文章
Filter
Mastodon