توضیحات
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
- Head over to the TimeSpan menu under Settings
- Fill out the options on that page
- 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).
- 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:
- Head over to the TimeSpan menu under Settings
- Fill out the options on that page
- Check the box at the bottom labeled “Automatically insert the time to read at the top of Posts”.
- 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!
نصب
- Upload the timespan folder to the /wp-content/plugins/ directory
- Activate the TimeSpan plugin through the ‘Plugins’ menu in WordPress
- 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!
نقد و بررسیها
توسعه دهندگان و همکاران
علاقه مند به توسعه هستید؟
کد را مرور کنید, را بررسی کنید مخزن SVN, یا مشترک شوید گزارش توسعه توسط RSS.
گزارش تغییرات
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)
* Plugin First Launches