General purpose shortcodes for WordPress.
As of April 2026, WP general purpose shortcodes is a WordPress date plugin with 0 active installations and a 0/5 rating0. It has been downloaded 1.1K+ times in total. Requires WordPress 4.6+ and PHP 5.2.4+. Available on WordPress.org since 2018. Last updated 2 years ago — may have compatibility concerns. Top alternative: WP Meta and Date Remover.
General purpose shortcodes for WordPress.
Just install the plugin from the WordPress plugins directory and start adding the shortcodes to your content. That easy.
This shortcode adds the current year with 4 digits.
E.g.: You write [ahl_year] and you get something like 2018.
This shortcode adds the number of years from a given day to present. You must pass that date as an attibute named date.
E.g.: You write [ahl_yearsFromDate date="2003-01-01"] and you get something like 2015.
Note that date must be written in the format showed in the example: yyyy-mm-dd
| WordPress | 4.6+ requiredTested up to 6.3.8 |
| PHP | 5.2.4+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.