Pataphysics
v1.1rhumbs · 2017年1月28日 上架
Enable a shortcode which displays dates according to the Pataphysical Calendar
- 正在使用
- 10 以下
- 评分
- 暂无
- 累计下载
- 1,044
- 最近更新
- 2018年10月27日
需要 WordPress 2.5+已测试到 5.0.32
贡献者
Enable a widget and a shortcode to display dates according to the Pataphysical Calendar
You can customize the way the date is displayed by specifying a format with these elements :
- %d : day (ex: 23)
- %m : month (ex: 5)
- %y : year (ex: 44)
- %D : day name (ex: ‘Vendredi’)
- %M : month name (ex: ‘Gueules’)
- %S : day saint (ex: ‘Ste Tabagie, cosmogène’)
- %I : day importance (ex: ‘fête suprême quarte’)
Shortcode syntax :
[pataphysics-date] : display the current day with the default format %D %d %M %y
[pataphysics-date date="2017-01-28"] : convert a grégorian calendar date to the Pataphysical calendar.
[pataphysics-date format="%D %d %M %y - %S (%I)"] : display the date with a given format