该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Pataphysics

描述

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

安装

  1. Upload the plugin files to the /wp-content/plugins/pataphysics directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress

评价

此插件暂无评价。

贡献者及开发者

「Pataphysics」是开源软件。 以下人员对此插件做出了贡献。

贡献者

帮助将「Pataphysics」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.1

Release Date – 29 January 2017

  • Add a Pataphysical date widget

1.0

Release Date – 28 January 2017

  • Initial release : pataphysical date shortcode