Wiltshire Council has approved a planning application for new education facilities.