PostAge Tracker

By CodeRevolution

0+ active installationsVersion 1.0.0

A lightweight plugin that adds a [post_age] shortcode to display how old a post is (e.g., "3 days ago").

Description

PostAge Tracker provides a simple shortcode [post_age] that shows the age of a post based on its publication date. Ideal for blogs, news sites, or any site wanting to highlight content recency.

Additional Information

  • Purpose: A simple tool to display post age, perfect for emphasizing content freshness.
  • Performance: Uses core WordPress functions for efficiency.
  • Future Plans: Potential premium features like custom date formats or styling options may be added.
  • Support: Reach out via the WordPress.org support forum for help.

Installation

  1. Upload the postage-tracker folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Use the [post_age] shortcode in your posts or pages to display the post’s age.

FAQ

How do I use the plugin?

Add the [post_age] shortcode to any post or page content where you want to show the post’s age.

Does it work outside of posts?

It only works within singular post contexts (e.g., single posts or pages), not on archives or homepages.

Screenshots

Changelog

1.0.0

  • Initial release.