Return to Snippet

Revision: 12266
at March 7, 2009 16:26 by Bluewall


Initial Code
<?php function gpp_excerpt($text) { return str_replace('[...]', '<br /><a href="'.get_permalink().'">Read More &rarr;</a>', $text); } add_filter('the_excerpt', 'gpp_excerpt'); ?>

Initial URL
http://graphpaperpress.com/2009/02/18/tip-how-to-change-the-default-wordpress-excerpt/

Initial Description


Initial Title
change the default Wordpress excerpt [...]

Initial Tags
wordpress

Initial Language
PHP