Linux 软件免费装
Banner图

TimeSpan

开发者 paperleaf
更新时间 2015年4月15日 05:14
PHP版本: 3.0.1 及以上
WordPress版本: 4.1
版权: GPLv2 or later
版权网址: 版权信息

标签

Post Blog Time Reading Paper Length PaperLeaf Leaf Paper Leaf Time Span Span

下载

详情介绍:

Welcome to TimeSpan The plugin ships with default settings, but allows you to change everything from: the message shown for a post that will take less than one minute; the message shown for any post over 1 minute; and the words-per-minute used to calculate the reading time. Setup Once the plugin is activated, you have two options: you can include it in your theme files (handy for WordPress developers), or you can let us do all the heavy lifting with automagic setup. Include TimeSpan in Your Theme Files
  1. Head over to the TimeSpan menu under Settings
  2. Fill out the options on that page
  3. Place the ‘echo do_shortcode(‘[time-span]’)’ shortcode wherever you'd like the data to show up in your theme file (e.g. page-home.php).
  4. Click the blue "Save Changes" button.
That's it! Automagic Setup The Automagic Setup will automatically insert the calculated time to read at the top of each of your posts. Here's how to do that:
  1. Head over to the TimeSpan menu under Settings
  2. Fill out the options on that page
  3. Check the box at the bottom labeled "Automatically insert the time to read at the top of Posts".
  4. Click the blue "Save Changes" button.
That's it! Are you guys for hire? We sure are. We're a custom design & WordPress development shop. If WordPress can do it, we can do it. Drop us a line!

安装:

  1. Upload the timespan folder to the /wp-content/plugins/ directory
  2. Activate the TimeSpan plugin through the 'Plugins' menu in WordPress
  3. Configure the plugin by going to the TimeSpan menu that appears in your admin menu (under Settings).

常见问题:

How are you calculating the time to read the post?

We grab the word count of the post, provided by WordPress, and divide that by an average words per minute (WPM). The plugin defaults to 250wpm, which we got from this Wikipedia entry on reading rate and reading for comprehension.

My audience has a unique reading rate / reads at a different WPM. Can I change this?

You sure can – just enter the WPM of your average reader in the "Average Reading Words per Minute" field, found in the TimeSpan menu under settings.

Can I style the text TimeSpan spits out?

Yep. Just target the .timespan class to target the type, and the .ts-time class to target & style the numeral itself.

Are you guys for hire?

We sure are. We're a custom design & WordPress development shop. If WordPress can do it, we can do it. Drop us a line!

更新日志:

= 1.10 = Account for posts which are greater than one minute, and less than two minutes, as per request from @florushj = 1.0.2 = Account for prebuilt themes using custom content filters = 1.0 = Initial Plugin Launch (September 30, 2014)