Viewing 1 replies (of 1 total)
  • I wouldn’t recommend editing a plugin because you’ll lose your changes when it updates. Having said that, there is an easy fix for this problem. Change:

    if ( $instance['excerpt_length'] > 0 ) add_filter('excerpt_length', $new_excerpt_length);

    on line 159 of ultimate-posts-widget/ultimate-posts-widget.php to read

    if ( $instance['excerpt_length'] > 0 ) add_filter('excerpt_length', $new_excerpt_length, 999);

    The 999 tells the widget’s function to override the built in function by running after it.

    Phil

Viewing 1 replies (of 1 total)

The topic ‘excerpt doesn't work’ is closed to new replies.