Adding calendar function based on WordPress' get_calendar #25