WordPress – Add custom fields in search

Add the following code into your functions.php file:

Source:

http://joanpique.com/