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

Next Date

描述

Want to always have the next date from a list displayed on a page of your site? Nextdate picks the next upcoming date from your list and displays it in the format you like!

Perhaps you have a recurring monthly meeting or event and you want to always display the next date to keep the page current.

Use the [nextdate] shortcode with a list of dates to get the next date from the list.

The dates parameter is required and should include a comma separated list of valid dates in any format that PHP will recognize, for example 5/15/2011, 2012-01-15, 21.9.2013, Tuesday, next Thursday

You can also specify a default value like [nextdate dates="5/15/1993, 7/19/2008" default="No upcoming party" /] to display a default value when none of the dates are in the future.

You can optionally specify a PHP friendly date format, for example [nextdate dates="next Thursday" format="l, F jS" /] to format the date. By default, dates are returned back in the F j, Y format, i.e. September 18, 2013.

For an example of usage, see how the Bay Area Mastermind lists their next upcoming event dates.

安装

To install the plugin, download it, upload to your WordPress site, activate and use the shortcode.

评价

此插件暂无评价。

贡献者及开发者

“Next Date” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Next Date”翻译成您的语言。

对开发感兴趣吗?

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

更新日志

Version 1.0

  • 9/18/2013: Plugin Added