Based on the info you provided there are two parts need to be replaced.
The thermal fuse Part number: 3392519
The heating element Part number: 279838
The fuse is open and that's why the motor isn't running.
The element broke and touching the box.
Here are the breakdown diagrams and Replacement parts for Whirlpool LEQ7030KQ0 DRYER | AppliancePartsPros.com
Thank you. Post the results.