Before entering a Thai temple shoes should be taken off. Also is correct behaviour and proper clothes basic requirement for visiting a temple in Thailand. So are flip-flops, shorts and sleeveless shirts indisposed! When sitting in Thai temples the legs are never stretched out best is to sit on the knees.