跳到内容

YearAlert — Footer Year Auto-Updater

v1.0.1

yearalert · 2026年11月19日 上架

Keeps the copyright year in your footer fresh — automatically, forever. Zero configuration: just activate. No account, no settings, no code to paste.

正在使用
10 以下
评分
暂无
累计下载
100
最近更新
2026年11月20日
需要 WordPress 5.0+已测试到 7.1.5PHP 7.0+

贡献者

截图

Before and after: a stale © 2021 footer becomes the current year automatically.
Before and after: a stale © 2021 footer becomes the current year automatically.
Activate and done — no settings page to configure.
Activate and done — no settings page to configure.

An outdated copyright year in your footer — a stale © 2021 — makes your site look abandoned. YearAlert fixes that automatically and permanently.

Activate the plugin and it keeps the year in your footer current on every page load. There is nothing to configure — no account, no API key, no settings page, no code to paste. It runs entirely inside your own site: no data is sent anywhere, and there is no server to depend on.

It’s careful about what it changes. YearAlert only updates a 4-digit year when it is:

  • in a copyright context — the same text contains ©, “Copyright” or “(c)”; or
  • in the footer zone — the bottom of the page, where copyright lines live.

That means project or product names (“Apollo 2020”) outside the footer are left untouched, and a 4-digit run inside a longer number — an order or registration id — or a phone number is never rewritten. Founding dates (“Est. 1998”, “Family owned since 2012”, “desde 2011”) are never touched anywhere, not even in the footer next to your ©, and in a line with a © only the copyright year itself moves.

Features

  • Zero configuration — activate and you’re done.
  • Updates single years (© 2021) and year ranges (2019–2024 updates only the end year).
  • Idempotent — never rewrites a year that is already current.
  • Leaves founding dates, product names and long ID numbers alone.
  • Opt-out per element: add data-yearalert-ignore to any element to exclude it and its contents.
  • Wrapped so it can never break your page.
  • No external requests, no tracking, no account.

Plums

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

导航

说明

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

© 2026 Plums