This is a rather sloppily coded plugin, unfortunately. However, to answer your questions:
-
Replace the function
gopiplus_clean
with thisfunction 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; }
-
Replace
if ($displayreadmore == "YES")
(in 2 places) withif ($displayreadmore == "YES" && (str_word_count($post_content) > $displaydesc))
-
Just enter ‘fade’ into the settings instead of the slide versions. It will work.