We consider a one-dimensional system consisting of electrons with short-ranged repulsive interactions and coupled to small-momentum transfer acoustic phonons. The interacting electrons are bosonized and described in terms of a Luttinger liquid which allows us to calculate exactly the one- and two-electron Green function. For non-interacting electrons, the coupling to phonons alone induces a singularity at the Fermi surface which is analogous to that encountered for electrons with an instantaneous attractive interaction. The exponents which determine the presence of singlet/triplet superconducting pairing fluctuations, and spin/charge density wave fluctuations are strongly affected by the presence of the Wentzel-Bardeen singularity, resulting in the favoring of superconducting fluctuations. For the Hubbard model the equivalent of a phase diagram is established, as a function of: the electron-phonon coupling, the electron filling factor, and the on-site repulsion between electrons. The Wentzel-Bardeen singularity can be reached for arbitrary values of the electron-phonon coupling constant by varying the filling factor. This provides an effective mechanism to push the system from the antiferromagnetic into the metallic phase, and finally into the superconducting phase as the electron filling factor is increased towards half-filling.