Along the cliff and the river
Walk the sandstone face. The inscriptions are cut in the rock.
The gorge is in Yulin, on the river under the cliff. Start there, at the water, not up in another quarter of the city. Eat in town before you go down to the river. Walk the sandstone face, and let that face be the whole outing. The inscriptions are cut in the rock you are already walking. The south pagoda is another part of the city, not the entrance to this walk. Do not begin at the pagoda and call the gorge a continuation.
Follow the river under the cliff. The openings and the cut characters are in the same wall. You are not visiting a cave and then, later, a separate stone inscription somewhere else in Yulin. The holes and the cut characters belong to one cliff. Move along the sandstone until you have seen both an opening and the inscriptions without leaving the wall. The porch with the red columns is the entrance set into that rock. Use it as the way into the walk, a porch built into the cliff, not a free-standing gate you could find beside a street. Stand at the red columns, see them against the sandstone, and then continue along the face.
This is one walk under one cliff. Take it as a full pass: the porch, the openings, the cut characters, in whatever order the path along the river gives you. Do not split them into short visits with errands back in town between them. The river is the line you follow. When the face has had that pass, return along it. There is not a second gorge waiting at the end of this one, and there is not a hill walk above the cliff that this day requires. The sandstone, the river, and the porch are the visit.
Yulin's south pagoda is another part of the city. See it on another walk if you want it, but do not treat it as the gate to the river, and do not save it as a last stop you owe this day. The gorge does not start at the pagoda. When you leave the water, you are done. Eat only as you already planned, back in town, not as a reason to open a new sight.