How can I get my shoes to not smell if I walk long way in the heat?

Baking soda. Sprinkle baking soda inside shoe to get rid of the smell.
Use an antifungal. Try spraying your shoes with an anti fungal and also using it on your feet.