Question
I am using this function to limit the excerpt to the first sentence... function hello_first_sentence( $string ) { $sentence = preg_split( '/(.|!|?)s/', $string, 2, PREG_SPLIT_DELIM_CAPTURE ); return $sentence['0'] . $sentence['1']; } add_filter( 'get_the_excerpt', 'hell
0
, PauloP 3 years 0 Answers 52 views