I had a baby who would sleep in the carrier, the pushchair, the car, or co-sleep.

I have a 3-year-old who still likes to co-sleep - but has been going to sleep in his bed alone on and off for over 8 months now. After about 10m I could pat him to sleep, but I never really pushed the issue as I was happy to have my cuddles at night. In the day, I went for the pushchair as much as possible and timed our outings so he'd fall asleep in the chair on the way home.