Changeset 1003422
- Timestamp:
- 10/07/2014 06:08:26 PM (11 years ago)
- Location:
- timespan/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (1 diff)
-
timespan.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
timespan/trunk/readme.txt
r1002751 r1003422 72 72 == Changelog == 73 73 74 = 1.0.2 = Account for prebuilt themes using custom content filters 74 75 = 1.0 = Initial Plugin Launch (September 30, 2014) 75 76 * Plugin First Launches -
timespan/trunk/timespan.php
r1002666 r1003422 4 4 Plugin URI: http://paper-leaf.com 5 5 Description: A simple, easy to use plugin which can be used to display the average time it will take to read a post. 6 Version: 1.0. 16 Version: 1.0.2 7 7 Author: Paper Leaf Design 8 8 Author URI: http://paper-leaf.com … … 78 78 79 79 function auto_TTR( $content ) { 80 if ( get_option('autots') == 1) {81 if ( is_single() ) {80 if ( is_single() && is_main_query() ) { 81 if (get_option('autots') == 1) { 82 82 $word_count = str_word_count( strip_tags( $content ) ); 83 83 $words_per_minute = 250;
Note: See TracChangeset
for help on using the changeset viewer.