If your child does not like a certain food, keep offering the food to them, but never force them to eat it. Studies also show that it may take offering a child a certain food numerous times before they will even decide to try it. However, if you force your child to eat foods they don't like you will most likely turn them away from ever eating these foods again.
Lead by example. Children are very "monkey see, monkey do" and like to model the behaviors of their parents. Keep offering your child foods they don't like, show them that you enjoy eating these foods, but then let your child decide for themselves whether they want to eat the food or not.