跳到内容

Falling Cherry Flower

v1.1.0

dogrow · 2017年9月8日 上架

Falling cherry flowers or autumn leaves on selected pages, with reduced-motion support and a pause button.

正在使用
100+
评分
暂无
累计下载
4,345
最近更新
2026年10月21日
需要 WordPress 6.3+已测试到 7.1.5PHP 8.2+

贡献者

截图

Falling Cherry Flower
Falling Cherry Flower

Add [ytmr_falling_flower] to a post, page or Shortcode block to display falling flowers.

Examples:

  • [ytmr_falling_flower]
  • [ytmr_falling_flower type=”autumnleaf” speed=”3″]

The type defaults to cherryflower. Speed must be an integer from 0 (slowest) to 5 (fastest); the default is 2. Invalid values use the defaults.

Only one overlay is created per page. When several shortcodes are rendered, the first one supplies the settings.

Scripts and styles are loaded only when the shortcode is rendered. The animation uses CreateJS/EaselJS, shares its ten images, and is limited to 150 flowers and approximately 50 frames per second. It stops updating in hidden tabs. Visitors can pause or resume the animation using the button at the bottom right. The animation is disabled when the device requests reduced motion and is hidden when printing.

This plugin does not send analytics or contact external services. Images and scripts are served from your site’s configured URLs.

Third-party libraries

CreateJS EaselJS 1.0.0 is bundled under the MIT license. No CDN is required.

  • Project: https://github.com/CreateJS/EaselJS/tree/1.0.0
  • Minified distribution: js/easeljs.min.js
  • Corresponding readable source: js/easeljs.js
  • License: js/EaselJS-LICENSE.txt

Plums

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

导航

说明

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

© 2026 Plums