=== WP general purpose shortcodes === Contributors: aheadlabs Donate link: https://paypal.me/aheadlabs Tags: shortcode, date Requires at least: 4.6 Tested up to: 6.3 Stable tag: trunk Requires PHP: 5.2.4 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html General purpose shortcodes for WordPress. == Description == General purpose shortcodes for WordPress. Just install the plugin from the [WordPress plugins directory](https://developer.wordpress.org/plugins/wp-general-purpose-shortcodes/) and start adding the shortcodes to your content. That easy. ## Shortcodes ### [ahl_year] This shortcode adds the current year with 4 digits. E.g.: You write ``[ahl_year]`` and you get something like `` 2018 ``. ### [ahl_yearsFromDate] 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 == Frequently Asked Questions == Please, send me any questions you have so I can answer them. == Changelog == = 0.2.4 = * Updated version compatibility = 0.2.0 = * Added the shortcode: [ahl_yearsFromDate] = 0.1.0 = * Added the first shortcode: [ahl_year] == Upgrade Notice == = 0.2.0 = Added a new shortcode. == Screenshots == 1. There are no screenshots.