Thanks for your help guys but the reply I put has sorted it very well. No bother with having to edit any files other than functions.php (which for a child theme is perfect)
This was the link again http://adambalee.com/search-wordpress-by-custom-fields-without-a-plugin/
Thanks again for your help.
Paul