When the new theme lacks custom post types that existed in the previous theme, some pages may no longer display. The data is not deleted – it will reappear if you switch back to the original theme. Alternatively, please follow the steps to migrate custom post types.