WP Manifestindependent plugin directory
manifest / content / time-shortcode

Time Shortcode

Register a [time] shortcode to wrap a timestamp and render as a <time> element.

★ 2stars
136composer installs

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/humanmade/time-shortcode/archive/refs/heads/main.zip

On Packagist as humanmade/time-shortcode:

composer require humanmade/time-shortcode
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

This plugin registers a [time] shortcode which can wrap any date string and render it into a <time> element. That time element can then be transformed into something relative to the user using separate frontend logic.