We obtain Fredholm type formulas for partial degenerations of theta functions on (irreducible) nodal curves of arbitrary genus, with emphasis on nodal curves of genus one. An application is the study of ‘many-soliton’ solutions on an elliptic (cnoidal) background standing wave for the Korteweg–de Vries (KdV) equation starting from a formula that is reminiscent of the classical Kay–Moses formula for N-solitons. In particular, we represent such a solution as a sum of the following two terms: a ‘shifted’ elliptic (cnoidal) background wave and a Kay–Moses type determinant containing Jacobi theta functions for the solitonic content, which can be viewed as a collection of solitary disturbances on the cnoidal background. The expressions for the travelling (group) speed of these solitary disturbances, as well as for the interaction kernel describing the scattering of pairs of such solitary disturbances, are obtained explicitly in terms of Jacobi theta functions. We also show that genus N + 1 finite gap solutions with random initial phases converge in probability to the deterministic cnoidal wave solution as N bands degenerate to a nodal curve of genus one. Finally, we derive the nonlinear dispersion relations and the equation of states for the KdV soliton gas on the residual elliptic background.