Title: Posts On This Day
Author: Jeremy Herve
Published: <strong>2021 年 3 月 9 日</strong>
Last modified: 2026 年 5 月 22 日

---

搜索插件

![](https://ps.w.org/posts-on-this-day/assets/banner-772x250.png?rev=2490298)

![](https://ps.w.org/posts-on-this-day/assets/icon.svg?rev=2909306)

# Posts On This Day

 作者：[Jeremy Herve](https://profiles.wordpress.org/jeherve/)

[下载](https://downloads.wordpress.org/plugin/posts-on-this-day.1.5.7.zip)

 * [详情](https://cn.wordpress.org/plugins/posts-on-this-day/#description)
 * [评价](https://cn.wordpress.org/plugins/posts-on-this-day/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/posts-on-this-day/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/posts-on-this-day/#developers)

 [支持](https://wordpress.org/support/plugin/posts-on-this-day/)

## 描述

If you’re familiar with services like Google Photos, TimeHop, or even Facebook Memories,
you most likely enjoyed getting little reminders of what happened in your life in
years past. This little widget brings this feature to your site.

This widget, just like Google Photos does, will give you a list of posts that were
published at around this time (within a week) in the past years. You can choose:

 * how many years back it should go.
 * how many posts should be displayed at maximum.
 * what post types to pick old posts from.
 * whether you’d like to display thumbnails for those posts.
 * whether you’d like to group your posts by year.
 * whether you’d like to look for posts on the exact day, years past, or around 
   this time (within a week).

Banner image: [@rirri01](https://unsplash.com/@rirri01)

## 屏幕截图

 * [[
 * Widget settings

## 安装

 * The usual. Go to Plugins > Add New, search, and install.
 * You can then go to Appearance > Widgets or Appearance > Customize to set up your
   widget in one of your widget areas.

## 常见问题

### I want to customize the look of my widget

You have 3 ways to do so.

 1. You can add custom CSS to your site, targetting the `.posts_on_this_day` container
    and its contents to have the widget fit your needs.
 2. If you’re comfortable with PHP, you can add a code snippet that hooks into the `
    jeherve_posts_on_this_day_post_markup` filter to customize the look of each single
    post in the widget. That’s a good way to change the size of the images displayed
    for each post, for example.
 3. You can also use the `jeherve_posts_on_this_day_widget_before_posts` and `jeherve_posts_on_this_day_widget_after_posts`
    filters to add extra markup around the list of posts in the widget.

## 评价

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

### 󠀁[A lovely little addition to any site](https://wordpress.org/support/topic/a-lovely-little-addition-to-any-site/)󠁿

 [Alex](https://profiles.wordpress.org/flaminhotdog/) 2025 年 12 月 16 日

I have used this plugin for years and have always loved it – it’s great if you have
posts buried from long ago that deserve some limelight, and if you enjoy seeing 
what you were writing about in years past. It works perfectly for its intended purpose
and offers a decent amount of flexibility, and the developer is very responsive 
to issues and feedback.

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

### 󠀁[НЕ подходит](https://wordpress.org/support/topic/%d0%bd%d0%b5-%d0%bf%d0%be%d0%b4%d1%85%d0%be%d0%b4%d0%b8%d1%82/)󠁿

 [Andrew](https://profiles.wordpress.org/papex/) 2025 年 5 月 12 日 3 回复

Он только делает список все постов за этот день. На нашем сайте их сотни. Нам столько
не надо. Нам надо выбрать из них. Этого нет.

 [ 阅读所有2条评价 ](https://wordpress.org/support/plugin/posts-on-this-day/reviews/)

## 贡献者及开发者

「Posts On This Day」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Jeremy Herve ](https://profiles.wordpress.org/jeherve/)

「Posts On This Day」插件已被翻译至 4 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/posts-on-this-day/contributors)
为本插件所做的贡献。

[帮助将「Posts On This Day」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/posts-on-this-day)

### 对开发感兴趣吗?

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

## 更新日志

### [1.5.7] – 2026-02-27

 * General: the plugin now requires PHP 8.3.
 * Query: use the site’s configured timezone instead of UTC when determining “today”,
   fixing a bug where the widget could show yesterday’s posts on sites with non-
   UTC timezones.
 * Caching: fix cache duration calculation to use consistent timezone-aware DateTime
   objects, and include the current date in the cache key for more reliable daily
   invalidation. Props @mrclicko.

### [1.5.6] – 2025-12-16

 * Widget: add 2 new filters, `jeherve_posts_on_this_day_widget_before_posts` and`
   jeherve_posts_on_this_day_widget_after_posts`, allowing one to add extra markup
   around the list of posts in the widget.

### [1.5.5] – 2023-05-08

 * Widget: add a new filter, `jeherve_posts_on_this_day_widget_year_heading`, allowing
   one to customize the heading used to display years in the widget.

### [1.5.4] – 2023-04-27

 * Query: do not display private and password-protected posts in the widget.

### [1.5.3] – 2021-08-06

 * Query: create new filter to allow setting a custom amount of years to fetch posts.

### [1.5.2] – 2021-04-15

 * Caching: cache data until midnight of the same day, instead of caching it for
   24 hours.

### [1.5.1] – 2021-04-13

 * Add an option to only search for posts on the exact day, years past.
 * Improve the display of each post when no post thumbnail can be found.

### [1.5.0] – 2021-03-19

 * Check for types more strictly.
 * The plugin now requires PHP 7.1.

### [1.4.1] – 2021-03-08

 * Avoid displaying posts twice.

### [1.4.0] – 2021-03-08

 * Add option to pick post types.

### [1.3.0] – 2021-03-08

 * Add option to group by year.

### [1.2.0] – 2021-03-08

 * Add option to display post thumbnails.

### [1.1.3] – 2021-03-07

 * Update plugin URI for public release.

### [1.1.2] – 2021-03-07

 * Initial public release.

## 额外信息

 *  版本 **1.5.7**
 *  最后更新：**2 天前**
 *  活跃安装数量 **50+**
 *  WordPress 版本 ** 5.6 或更高版本 **
 *  已测试的最高版本为 **7.0**
 *  PHP 版本 ** 8.3 或更高版本 **
 *  语言
 * [Chinese (Taiwan)](https://tw.wordpress.org/plugins/posts-on-this-day/) 、 [English (US)](https://wordpress.org/plugins/posts-on-this-day/)、
   [French (France)](https://fr.wordpress.org/plugins/posts-on-this-day/) 、 [Spanish (Chile)](https://cl.wordpress.org/plugins/posts-on-this-day/)
   和 [Spanish (Spain)](https://es.wordpress.org/plugins/posts-on-this-day/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/posts-on-this-day)
 * 标签
 * [on this day](https://cn.wordpress.org/plugins/tags/on-this-day/)[widget](https://cn.wordpress.org/plugins/tags/widget/)
 *  [高级视图](https://cn.wordpress.org/plugins/posts-on-this-day/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  2 条 5 星评价     ](https://wordpress.org/support/plugin/posts-on-this-day/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/posts-on-this-day/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/posts-on-this-day/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/posts-on-this-day/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/posts-on-this-day/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/posts-on-this-day/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/posts-on-this-day/reviews/)

## 贡献者

 *   [ Jeremy Herve ](https://profiles.wordpress.org/jeherve/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/posts-on-this-day/)