Etymology
Today it means: A wooden peg formerly used to attach soles to the upper part of shoes. Full definition →
From shoe + peg.
Etymology from Wiktionary, CC BY-SA 4.0.