plugin-icon

WP general purpose shortcodes

作者:aheadlabs·
General purpose shortcodes for WordPress.
版本
0.2.4
最后更新
Jul 26, 2023
WP general purpose shortcodes

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

免费基于付费套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 6.3.8
这个插件是可用的下载,适用于您的站点。