WordPress.org

Support

Support » Plugins and Hacks » Advanced Excerpt » [Resolved] [Plugin: Advanced Excerpt] Broken custom

[Resolved] [Plugin: Advanced Excerpt] Broken custom

Viewing 7 replies - 1 through 7 (of 7 total)
  • Nico

    @nicor-1

    ok the problem come from the line 119 var $options does not work, this one by rempalcer $this->custom_options and everything works as before

    This problem is a duplicate of: the_advanced_excerpt() no longer overrides options

    Thanks for finding a solution! This will be fixed in the next update.

    please be clear explaining the solution… post the entire block of code, I’ve tried this fix, but the bug persist… please be fast 😉

    Nico

    @nicor-1

    just replace the line 119 and 120 of the plugin with this :
    (is_array($this->custom_options))
    $r = array_merge($this->default_options, $this->custom_options);

    You save my site NicoR, thank you very much…
    all the best 🙂

    m4tthumphrey

    @m4tthumphrey

    The solution still isn’t 100% clear to someone who doesn’t know what they are doing.

    Replace lines 118 – 124 of /plugins/advanced-excerpt.php with the following:

    // Merge options
          if (is_array($this->custom_options))
            $r = array_merge($this->default_options, $this->custom_options);
          else
            $r = $this->default_options;
    
          extract($r, EXTR_SKIP);

    To the plugin author, this needs to be fixed ASAP as it ruins the page design. Just update to 4.0.1

    Mine does not work at all. Is this the reason why? Do I need to update the code as this states? The site where I’m trying to suppress the shortcode and control the excerpts is here: http://www.floralnewsprint.com
    As you can see, no worky.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] [Plugin: Advanced Excerpt] Broken custom’ is closed to new replies.
Skip to toolbar