General purpose shortcodes for WordPress.
Author: | Iván Sainz (Ahead Labs) (profile at wordpress.org) |
WordPress version required: | 4.6 |
WordPress version tested: | 6.3 |
Plugin version: | 0.2.4 |
Added to WordPress repository: | 11-12-2018 |
Last updated: | 26-07-2023 |
Rating, %: | 0 |
Rated by: | 0 |
Plugin URI: | https://github.com/aheadlabs/wp-general-purpo... |
Total downloads: | 663 |
Click to start download |
General purpose shortcodes for WordPress.
Just install the plugin from the WordPress plugins directory 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
FAQ
ChangeLog