Title: Happy New Year Lantern（新年快乐灯笼）
Author: dzw6
Published: <strong>2026 年 1 月 28 日</strong>
Last modified: 2026 年 1 月 29 日

---

搜索插件

![](https://ps.w.org/happy-new-year-lantern/assets/icon-256x256.jpg?rev=3449258)

# Happy New Year Lantern（新年快乐灯笼）

 作者：[dzw6](https://profiles.wordpress.org/dzw6/)

[下载](https://downloads.wordpress.org/plugin/happy-new-year-lantern.2.0.1.zip)

 * [详情](https://cn.wordpress.org/plugins/happy-new-year-lantern/#description)
 * [评价](https://cn.wordpress.org/plugins/happy-new-year-lantern/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/happy-new-year-lantern/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/happy-new-year-lantern/#developers)

 [支持](https://wordpress.org/support/plugin/happy-new-year-lantern/)

## 描述

本插件会在网站前台展示一组新年灯笼装饰，并尽量只在需要显示时才加载资源，减少对性能
的影响。

演示视频：https://www.bilibili.com/video/BV1NDi5BGEZ7/?vd_source=daaf1562b90f676edcbbe03e9caf2183

Features:

 * 在“外观  自定义  Happy New Year Lantern”中配置：灯笼位置（左上/右上/两侧）、距离
   顶部、缩放比例、灯笼间距、摆动幅度、摆动速度、发光强度、灯笼文字（最多 6 个字）。
 * 前台提供最小化/展开按钮，状态会在访客本地保存（不影响其他访客）。
 * 支持仅首页显示 / 全站显示，并提供移动端显示开关。
 * 遵循 `prefers-reduced-motion`：当访客启用减少动态效果时会自动禁用动画。

## 屏幕截图

[⌊前台灯笼展示效果。⌉⌊前台灯笼展示效果。⌉[

前台灯笼展示效果。

[⌊在“外观 → 自定义”中的样式设置。⌉⌊在“外观 → 自定义”中的样式设置。⌉[

在“外观  自定义”中的样式设置。

[[

## 安装

 1. 将插件文件夹上传到 `/wp-content/plugins/happy-new-year-lantern/`，或在后台“插件
    安装插件  上传插件”上传 ZIP。
 2. 在“插件”页面启用“Happy New Year Lantern（新年快乐灯笼）”。
 3. 前往“外观  自定义  Happy New Year Lantern”调整样式与显示参数。
 4. 基础显示选项也可在“设置  Happy New Year Lantern”中配置。

## 常见问题

### 为什么前台看不到灯笼？

请检查：
 * 插件是否已启用。 * 是否设置为“仅首页显示”，但你正在访问非首页页面。 *
在移动设备访问时，是否已开启“移动端显示”。 * 选择“两侧同时显示”时，灯笼文字必须为
偶数个字（例如 4/6 个字）。

### 前台最小化按钮会影响所有访客吗？

不会。最小化/展开状态仅保存在当前访客浏览器的本地存储中（localStorage），只影响该
访客自己。

## 评价

![](https://secure.gravatar.com/avatar/7d7e22bb677d6535545a3285cc40db4e6f64ad5f65cc084d428f728de0a69f04?
s=60&d=retro&r=g)

### 󠀁[喜庆](https://wordpress.org/support/topic/%e5%96%9c%e5%ba%86/)󠁿

 [maqingxi](https://profiles.wordpress.org/maqingxi/) 2026 年 1 月 29 日

插件简单易用，春节氛围拉满。

 [ 阅读所有1条评价 ](https://wordpress.org/support/plugin/happy-new-year-lantern/reviews/)

## 贡献者及开发者

「Happy New Year Lantern（新年快乐灯笼）」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ dzw6 ](https://profiles.wordpress.org/dzw6/)

[帮助将「Happy New Year Lantern（新年快乐灯笼）」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/happy-new-year-lantern)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/happy-new-year-lantern/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/happy-new-year-lantern/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/happy-new-year-lantern/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/happy-new-year-lantern/)。

## 更新日志

#### 2.0.1

 * 文档：补充演示视频链接与说明。
 * 发布：按 WordPress.org 要求使用 tags/2.0.1 作为稳定版。

#### 2.0

 * 安全：防止直接访问可执行插件文件。
 * 文档：修正 WordPress.org 审核相关的 readme 元数据。

#### 1.9

 * 性能：仅在需要显示时加载 CSS/JS；通过 CSS 变量控制动画强度。
 * 新增：自定义器设置、前台最小化/展开按钮、灯笼间距与顶部偏移选项。

## 额外信息

 *  版本 **2.0.1**
 *  最后更新：**10 月前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **6.9.11**
 *  PHP 版本 ** 7.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/happy-new-year-lantern/)
 * 标签
 * [customize](https://cn.wordpress.org/plugins/tags/customize/)[customizer](https://cn.wordpress.org/plugins/tags/customizer/)
   [decoration](https://cn.wordpress.org/plugins/tags/decoration/)[lantern](https://cn.wordpress.org/plugins/tags/lantern/)
 *  [高级视图](https://cn.wordpress.org/plugins/happy-new-year-lantern/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  1 条 5 星评价     ](https://wordpress.org/support/plugin/happy-new-year-lantern/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/happy-new-year-lantern/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/happy-new-year-lantern/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/happy-new-year-lantern/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/happy-new-year-lantern/reviews/?filter=1)

[您的评价](https://wordpress.org/support/plugin/happy-new-year-lantern/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/happy-new-year-lantern/reviews/)

## 贡献者

 *   [ dzw6 ](https://profiles.wordpress.org/dzw6/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/happy-new-year-lantern/)