https://github.com/edent/wordpress-on-this-day-plugin
A plugin to show blog posts published "on this day"
https://github.com/edent/wordpress-on-this-day-plugin
blog hacktoberfest hacktoberfest2022 wordpress wp-plugin
Last synced: 29 days ago
JSON representation
A plugin to show blog posts published "on this day"
- Host: GitHub
- URL: https://github.com/edent/wordpress-on-this-day-plugin
- Owner: edent
- License: mit
- Created: 2016-11-21T15:23:36.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-06-28T22:30:26.000Z (almost 3 years ago)
- Last Synced: 2025-04-04T19:16:08.225Z (about 1 year ago)
- Topics: blog, hacktoberfest, hacktoberfest2022, wordpress, wp-plugin
- Language: PHP
- Homepage:
- Size: 4.88 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WordPress On-This-Day Plugin
This simple plugin generates an HTML page or RSS feed of your blog posts which were published "on this day" in the past.
For example, if today is 21st of November 2016 then this will show a list of blog posts written on
* 2015-11-21
* 2014-11-21
* 2013-11-21
And so on.
* RSS demo at https://shkspr.mobi/blog/?on_this_day
* HTML demo at https://shkspr.mobi/blog/on-this-day/
## Limitations
### Times
The entries in the RSS feed are generated on an hourly basis.
For example, if the time is 1300 the RSS feed will only show blog posts published **on or before** 1300 on their original publication day.
This allows services like IFTTT to post the feed to Twitter throughout the day rather than all at once.
### Location
This plugin lives at `https://example.com/?on_this_day`. The results are *not* cached.
It can be placed on any WordPress page with the shortcode `[edent_on_this_day]`
### Images
The thumbnail from the post is also included.
### Times and Locale
The RSS feed is hardcoded to `GMT` and `en-GB` - this may change in the future.