No I understood what you meant, and couldn’t find the duplicate, was just curious if there was anything else in the functions.php that caused the problem.
And changing $thePost seemed to do it for me 🙂 cheers!
I still seem to have problems though with the location rules 🙁