In order to visit the temple, you have to leave your shoes in the stalls you will find next to its gates. Note that this is a religious building, you should dress very conservatively.
Between the main temple and its surrounding wall, there is a sidewalk, in the picture.