Whirlpool Dryer not Heating

My gas dryer is no longer heating. Thought it was the coil valve due to rattle noise and not lighting. We changed that and it is no longer rattling but still no heat. Everything meters out but it still won’t light. The igniter glows but burner doesn’t come on. Help!!!