I have just realised that the code above returns all custom field data for each page that has it so the above code is incorrect.
If you go to the link and it doesn’t look right it might be because I am trying a few more options.
Any help on how to do this would be much appreciated.