Revert back to fixed version with add category function. Old category_name_url function reinstated. Will try and complete challenge of building function again.