跳到内容

WP general purpose shortcodes

v0.2.4

aheadlabs · 2018年12月11日 上架

General purpose shortcodes for WordPress.

正在使用
10 以下
评分
暂无
累计下载
1,579
最近更新
2023年7月26日
需要 WordPress 4.6+已测试到 6.3.15PHP 5.2.4+

贡献者

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

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums