Hello Jonathan,
I'm glad that you've already found the forums thread -
Retrieve custom setting value added for a site. There are generally 2 ways how to do it - you can use the macros or the API. So if you don't want to use the K# macros... the API is the right one for you.
Best regards,
Martin Danko