Age When Published
Wordpress plugin that provides a block that shows an age as at the post's publish date, based on a date of birth defined on the Settings page.
Install
The author publishes release zips, so WP-CLI can install straight from GitHub:
wp plugin install https://github.com/itsviney/age-when-published/releases/download/v2.0/age-when-published.zipReadme
Age When Published Wordpress Block
A simple Wordpress block plugin that displays the age of a person when a post was published. The age is calculated from a date of birth specified under Settings > Age When Published.
I built this plugin/block for a private Wordpress site I'm using as a sort-of diary/digital scapbook for my child. I wanted to be able to show how old they were when each post was written. I initially wrote it as a shortcode but when I migrated to a Block theme, I decided to re-write it as a Gutenberg block.
Download
Feel free to clone the repo, or if you just want a zip ready to upload to Wordpress, you can download the latest version here.
Screenshots
Here are a few examples of how it looks on the front-end.
And here's the very basic settings page.
Read the full README on GitHub →
Releases
| Tag | Published | Asset | Downloads |
|---|---|---|---|
| v2.0 | Nov 23, 2024 | age-when-published.zip | 5 |