Breastfeed before giving solids for the first year. Then you breastfeed after.
Basically for the first year solids are just for experiencing and learning new things. They don't need it nutrition wise because they are getting all they need from your breast milk.
Once they hit a year though they need to start getting more nutrition so they need the solids to get what else they need.
Or at least that was my understanding of it all.