plugin-icon

Years Ago Today

作者:Scott Reilly·
Lists posts published to your site on this day in previous years via admin dashboard widget, block, shortcode, and/or optional daily email.
评级
5
版本
2.0
活跃安装
100
最后更新
Jun 5, 2026
Years Ago Today

This plugin provides a simply admin dashboard widget that lists all of the posts published to your site on this day in previous years. The same listing can be shown on the front-end via the “Years Ago Today” block (WordPress 7.0+) or the [years-ago-today] shortcode. Users have the option (via their profiles) to opt into receiving a daily email that provides a listing and links to all of the posts published to your site on this day in previous years.

Links: Plugin Homepage | Plugin Directory Page | GitHub | Author Homepage

Developer Documentation

Developer documentation can be found in DEVELOPER-DOCS.md. That documentation covers the numerous hooks provided by the plugin. Those hooks are listed below to provide an overview of what’s available.

  • c2c_years_ago_today-email_cron_time : Customize the time of day to email the Years Ago Today email to those who have opted-in to it. By default this is “9:00 am”.
  • c2c_years_ago_today-email-if-no-posts : Override whether the daily Years Ago Today email is sent out on days that don’t have any posts in prior years. By default this value is false, meaning no email is sent in such circumstances.
  • c2c_years_ago_today-email-body-no-posts : Customize the content of the body of the daily Years Ago Today email when it is sent on days that had no posts in prior years.
  • c2c_years_ago_today-first_published_year : Explicitly define the earliest year to be considered when finding earlier published posts.
  • c2c_years_ago_today-post_types : Customize the post types included for consideration. Default ['post'].
  • c2c_years_ago_today-batch_size : Customize the number of daily emails sent per batch. Default 40.
  • c2c_years_ago_today-to_address : Customize the email address specified for the “To:” field of batched emails. Default “noreply@{site-domain}”.
免费基于付费套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 7.0
这个插件是可用的下载,适用于您的站点。