Given that even on accumulating a static charge, we find no spark on touching a wooden frame but would be if touched the metal handle. We have to find the reason for this. The reason is that the wood is an insulator so it does not conduct. So, charge is unable to flow through it. As such, we see no spark.
On the other hand, metals are good conductors. When we are carrying a static charge and touch the metal handle of the door, the charge transfers to it immediately in the form of spark and distributes itself quickly throughout the conductor.