number of words in exceprt
WordPress Plugins and good code samplesAugust 2007
/*
Plugin Name: Longer Excerpt
Plugin URI: http://miche.netsons.org/projects/longer-excerpt/
Description: This plugin allows you to choose how many words do you want to show in feeds, if you have set them to show only summaries of each post. Configure the desired number by editing this plugin: default in WP is 56, not much fair for readers; default in this plugin is 200. <a href=”http://miche.netsons.org/projects/longer-excerpt/”>More</a>…
Version: 0.1
Author: Andrea Micheloni
Author URI: http://miche.netsons.org/
License: CC BY-NC-SA
License URI: http://creativecommons.org/licenses/by-nc-sa/2.5/
*/
$tm_length=20;
//What do you want to put after the truncated entry?
//Default in WP normally is “[..]”
$tm_other='[…]’;
// *** END EDITING HERE, PLEASE 😀 ***