Linux 软件免费装

Plugin Name

开发者 enuratique
更新时间 2012年7月25日 12:05
捐献地址: 去捐款
PHP版本: 2.0.2 及以上
WordPress版本: 3.3.1

标签

utility

下载

1.1

详情介绍:

Originally I used the "Countdown Timer" plugin written by Andrew Ferguson to accomplish what I wanted, however, his implementation to output in just days also outputted extraneous text that I was not interested in. On top of that, the actual count algorithm was flawed. Rather than hack this plugin to pieces to get the output I needed, I decided to just roll my own. This is a bare bones, no-frills plugin since this is my first attempt at it. This means no fancy options or configuration screens. To use the plugin, simply install it and then use the following shortcode to output the number of days until a given date in its place: [days_until date="SPECIFIC DATE"] Where "SPECIFIC DATE" can be any text that that PHP's strtotime function can understand.

安装:

This section describes how to install the plugin and get it working. e.g.
  1. Upload daysuntil.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Place [days_until date="SPECIFIC DATE"] in your content

升级注意事项:

1.0
  • No need to upgrade, this is ground zero

更新日志:

1.1 1.0