WP Manifestindependent plugin directory
manifest / editor / age-when-published

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.

★ 1stars
5release downloads
v2.0latest · 1 year ago

Install

Download age-when-published.zip From the v2.0 release on GitHub, Nov 23, 2024

Upload it under Plugins → Add New Plugin → Upload Plugin, then activate.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/itsviney/age-when-published/releases/download/v2.0/age-when-published.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

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.

age examples

And here's the very basic settings page.

settings page

Releases

1 release. Each count is every asset in that release; expand a row for the breakdown.

Tag
Published
Assets
Downloads
v2.0 latest
Nov 23, 2024 1 year ago
age-when-published.zip
5