How to get only text from wordpress post content? May 30, 2022 by Tarik Billa use strip_tags + substr substr( strip_tags( get_the_excerpt() ),0,235);