Update events.php

Added function the_events for a custom query
Merge pull request #16 from starverte/the_events-function

Update events.php