Include Custom Fields and Advance Custom Fields ( ACF ) in WordPress Search Result or Search Page. Just copy paste it in your function.php file.