Add footer advert and menus, set up functions file