WordPress truncate posts question (plugin related)

This is a rather sloppily coded plugin, unfortunately. However, to answer your questions:

  1. Replace the function gopiplus_clean with this

    function gopiplus_clean( $excerpt, $length = 0 ) {
    $string = strip_tags( str_replace( '[...]', '...', $excerpt ) );
    if ( $length > 0 ) {
        $words_array = preg_split( "/[\n\r\t ]+/", $excerpt, $length + 1, PREG_SPLIT_NO_EMPTY );
        $words = count( $words_array );
        if ( $words <= $length ) {
            return $excerpt;
        }
        $array = array_slice( $words_array, 0, $length );
        $string = implode( ' ', $array );
    }
    return $string;
    }
    
  2. Replace if ($displayreadmore == "YES") (in 2 places) with

    if ($displayreadmore == "YES" && (str_word_count($post_content) > $displaydesc)) 
    
  3. Just enter ‘fade’ into the settings instead of the slide versions. It will work.