• Resolved kitsmedia

    (@kitsmedia)


    has the problem of excerpt filter not working been resolved yet? I’m using 2012 and none of the work arounds seem to work. No excerpts is a deal breaker.

Viewing 1 replies (of 1 total)
  • Plugin Author Daniel Floeter

    (@kometschuh)

    The last solution from the request before works also for 2012?
    The good news is we’ll implement this change in the next version as option.
    You’re welcome in writing us feetback, escapally if you have other aims and you can teach us a better one ??

    You can try to add the priority 9999 as parameter to the filter ‘excerpt_length’ in line 752:

    add_filter(‘excerpt_length’, array($this,’excerpt_length_filter’), 9999);

    cat-posts.php, line 752

    function setExcerpFilters($instance) {
    	
    	if (isset($instance['excerpt']) && $instance['excerpt']) {
    	
    		// Excerpt length filter
    		if ( isset($instance["excerpt_length"]) && ((int) $instance["excerpt_length"]) > 0 ) {
    			add_filter('excerpt_length', array($this,'excerpt_length_filter'), 9999);
    		}
Viewing 1 replies (of 1 total)
  • The topic ‘excerpts not working’ is closed to new replies.