Title: Plugin not working with theme
Last modified: August 30, 2016

---

# Plugin not working with theme

 *  [davidbvogel22](https://wordpress.org/support/users/davidbvogel22/)
 * (@davidbvogel22)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/plugin-not-working-with-theme-1/)
 * The theme I’m using is not responding at all to this plugin. Here’s the PHP that
   seems to currently be handling generating the excerpt. Is there something here
   that is blocking this plugin’s ability to work?
 *     ```
       // Excerpt "more" text settigns
       function new_excerpt_more() {
         if(get_post_format(get_the_ID()) == 'link'){
           return '...<div class="read-more-link"><a href="'. get_field( 'external_link' ) . '">' . __('Read More', 'pluto') . '</a></div>';
         }else{
           return '...<div class="read-more-link"><a href="'. get_permalink( get_the_ID() ) . '">' . __('Read More', 'pluto') . '</a></div>';
         }
       }
       add_filter( 'excerpt_more', 'new_excerpt_more' );
   
       function os_excerpt($limit = 16, $more = TRUE) {
         if(!$limit){
           $limit = 16;
         }
         if($more){
           return wp_trim_words(get_the_excerpt(), $limit, new_excerpt_more());
         }else{
           return wp_trim_words(get_the_excerpt(), $limit, "");
         }
   
       }
   
       function os_quote_excerpt($limit = 16){
         return wp_trim_words(get_the_excerpt(), $limit, '...<span class="quote-read-more-link">' . __('Read More', 'pluto') . '</span>');
       }
       ```
   
 * [https://wordpress.org/plugins/advanced-excerpt/](https://wordpress.org/plugins/advanced-excerpt/)

Viewing 1 replies (of 1 total)

 *  [Siberian Siren](https://wordpress.org/support/users/siberian-siren/)
 * (@siberian-siren)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/plugin-not-working-with-theme-1/#post-6438003)
 * I am not surprised that no one has answered you yet. I cannot get help either.
   Advanced Excerpt was working perfectly until the last one or two updates to WordPress.
   Now nothing seems to be working, not even Contact form 7.

Viewing 1 replies (of 1 total)

The topic ‘Plugin not working with theme’ 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/)

## Tags

 * [Issues](https://wordpress.org/support/topic-tag/issues/)

 * 1 reply
 * 2 participants
 * Last reply from: [Siberian Siren](https://wordpress.org/support/users/siberian-siren/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/plugin-not-working-with-theme-1/#post-6438003)
 * Status: not resolved