• 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/

Viewing 1 replies (of 1 total)
  • 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.