Use a custom image from an advanced custom field?


I have tried to edit the instantsearch.php template so I can use an Advanced Custom Field image instead of WordPress’ usual Featured Image in the instant results list. However it looks like I need to add some code via functions.php or something to make my ACF field available in this template. I had a look but I couldn’t find an example anywhere. Could you let me know how I can achieve this?