The shorter side of the plug headers are soldered to the Pico W.
The socket headers are soldered to the PiCowbell board with the socket side pointing up as shown in the picture.