Dryer doesn't work

I have a dryer that runs but does not dry the clothes. There is some heat when it’s first turned on, but then none later on. I have replaced the ignitor, but still doesn’t work. Any ideas??