Plugin Name
开发者 |
tmoorewp
|
更新时间 |
2011年4月16日 01:36 |
PHP版本: |
3.0 及以上 |
WordPress版本: |
3.1.1 |
详情介绍:
Similar to the New York Times website. Displays an "X Minutes ago" message for up to an hour, then a "NEW TODAY" flag.
安装:
- Use the WordPress Installer ( Plugins -> Add New ).
- Place the following code in the Loop of your index.php template where you want to display the time since posting:
<?php if( function_exists( 'wcs_show_time' ) ) { echo wcs_show_time( get_the_ID() ); }?>
- Style the output using the class name "updated_time" in your theme's style.css
更新日志: