Maytag oven won't heat

My oven just recently stop heating up. I noticed that the heating element lights up, but the gas does not flow into the oven. First I checked the wiring which seems to be fine. Then I tapped on the oven safety valve which then came on and started the gas flow into the oven. I ordered a new valve and installed it which was very easy, but it does the exact same thing. If I tap on it, it comes on. Any answers before I return this part?

Thanks, I just ordered the the ignitor and will give it a shot.:slight_smile: