Return to Snippet

Revision: 23479
at February 8, 2010 12:08 by hstothard


Initial Code
-----------------------------
Functions.php
-----------------------------

<?php function new_excerpt_length($length) {
	return 8;
}
add_filter('excerpt_length', 'new_excerpt_length'); ?>

----------------------------------------
Functions.php > remove brackets on dots
----------------------------------------

function new_excerpt_more($more) {
	return '[.....]';
}
add_filter('excerpt_more', 'new_excerpt_more');

Initial URL

                                

Initial Description

                                

Initial Title
Wordpress - modifying excerpts

Initial Tags
wordpress

Initial Language
PHP