跳到内容

Adaptive Background

v1.0.0

Ashvin Solanki · 2023年3月16日 上架

Adaptive Background is a plugin for extracting dominant colors from images and applying it to its parent like instagram story when we add image it wil …

正在使用
10 以下
评分
暂无
累计下载
1,393
最近更新
2023年3月16日
需要 WordPress 4.4+已测试到 6.1.17

贡献者

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

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums