And their legs get soldered into the pads at the top left and top right that look like 3 squares. They go in from the other side though so the only thing that will be visible from the component side is the pins sticking through.
You can use wires in lieu of pcb mount pots, just follow the same layout.