You might benefit from the Berklee School of Music Theory Course. It's available in PDF form and download is free.
Be aware of one thing: trumpet is a Bb instrument, while the course materials are in Concert Pitch. In other words, if you play Concert Pitched music on the piano, you play it one step higher on trumpet. But for just studying theory, don't worry about transposition. That would apply only if you are playing trumpet and piano.