Title: [Plugin: Advanced Excerpt] Broken custom
Last modified: August 20, 2016

---

# [Plugin: Advanced Excerpt] Broken custom

 *  Resolved [Nico](https://wordpress.org/support/users/nicor-1/)
 * (@nicor-1)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-advanced-excerpt-broken-custom/)
 * In version 4, no rules are respected on customizations.
 * [http://wordpress.org/extend/plugins/advanced-excerpt/](http://wordpress.org/extend/plugins/advanced-excerpt/)

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

 *  Thread Starter [Nico](https://wordpress.org/support/users/nicor-1/)
 * (@nicor-1)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-advanced-excerpt-broken-custom/#post-2434807)
 * 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
 *  [basvd](https://wordpress.org/support/users/basvd/)
 * (@basvd)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-advanced-excerpt-broken-custom/#post-2434833)
 * This problem is a duplicate of: [the_advanced_excerpt() no longer overrides options](http://wordpress.org/support/topic/plugin-advanced-excerpt-the_advanced_excerpt-no-longer-overrides-options)
 * Thanks for finding a solution! This will be fixed in the next update.
 *  [Alessio Lo Vecchio](https://wordpress.org/support/users/youon/)
 * (@youon)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-advanced-excerpt-broken-custom/#post-2434838)
 * please be clear explaining the solution… post the entire block of code, I’ve 
   tried this fix, but the bug persist… please be fast 😉
 *  Thread Starter [Nico](https://wordpress.org/support/users/nicor-1/)
 * (@nicor-1)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-advanced-excerpt-broken-custom/#post-2434839)
 * 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);
 *  [Alessio Lo Vecchio](https://wordpress.org/support/users/youon/)
 * (@youon)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-advanced-excerpt-broken-custom/#post-2434846)
 * You save my site NicoR, thank you very much…
    all the best 🙂
 *  [m4tthumphrey](https://wordpress.org/support/users/m4tthumphrey/)
 * (@m4tthumphrey)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-advanced-excerpt-broken-custom/#post-2434849)
 * 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
 *  [njrichez](https://wordpress.org/support/users/njrichez/)
 * (@njrichez)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-advanced-excerpt-broken-custom/#post-2434977)
 * 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](http://www.floralnewsprint.com)
   
   As you can see, no worky.

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

The topic ‘[Plugin: Advanced Excerpt] Broken custom’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/advanced-excerpt_ae8159.svg)
 * [Advanced Excerpt](https://wordpress.org/plugins/advanced-excerpt/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-excerpt/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-excerpt/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-excerpt/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-excerpt/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-excerpt/reviews/)

 * 7 replies
 * 5 participants
 * Last reply from: [njrichez](https://wordpress.org/support/users/njrichez/)
 * Last activity: [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-advanced-excerpt-broken-custom/#post-2434977)
 * Status: resolved