Excerpt ignoring set length
-
Hi,
I have “the_excerpt();” in “index.php”. This works fine, and it is definitetly processing this page and function however, I am trying to limit the amount of words using:
function new_excerpt_length($length) { return 20; } add_filter('excerpt_length', 'new_excerpt_length');in functions.php. This is getting completely ignored, plus I can’t set a more link on the end using the same technique.
Has anyone experienced this ?
Your help is much appreciated.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Excerpt ignoring set length’ is closed to new replies.