functions.php 파일에 추가 해서 검색 단어를 하이라이트 시킬수 있는 팁
get_the_content는 add_filter로 하이라이트 시킬 수 없으니 검색 페이지에서 is_searh인지를 체크 해서 직접 함수 호출 해주는 방식으로 해결 가능
if ( is_search() ) { echo highlight_results(wp_trim_words( get_the_content(), 80, '... ' )); } else { echo wp_trim_words( get_the_content(), 80, '... ' ); }