Update wp-content/themes/spaceatcreate/space-events.php

Added function getEventsData(eventtype,limit)