开发者 | Lucas Zallio |
---|---|
更新时间 | 2008年8月8日 07:14 |
捐献地址: | 去捐款 |
PHP版本: | 1.2 及以上 |
WordPress版本: | 2.5 |
time2read.php
to the /wp-content/plugins/
directory<? time2read ( [before string] , [divider string], [after string], [�minutes�/�seconds� string) ?>
Examples:
<? time2read("Average time to read",":"," minutes aprox.","minutes"); ?>
This callback will display: Average time to read 3:20 minutes aprox.
<? time2read("Average time to read",":"," seconds aprox.","seconds"); ?>
This callback will display: Average time to read 200 seconds aprox.In these days there's not enough time to read everything we want. So it's important that indicates the user how much time he will need to read the full article to bookmark it and reading when time is available.
As a user, I'd like to see it right below the title. So I know how long it will take me to read the article even before the excerpt
Yes, you can place html tags within before and after parameters of the function.