UCDavisLibrary / wp-post-migration-tool

Tool to migrate wp post from old site to gutenberg site
MIT License
1 stars 0 forks source link

Import exhibits #2

Open spelkey-ucd opened 2 years ago

spelkey-ucd commented 2 years ago

ACF Meta Field Conversion

Old Field Slug New Field Slug New Field Type Notes
curator curator taxonomy Each term will need to be created prior to exhibit import
author (not acf) curators meta meta.curators takes an array of person post type IDs. person ids can be queried using author email or kerb. On the old site, we allow for multiple authors through the Guest Author plugin, but this is not exposed in the API. Somebody will have to manually enter additional curators (there don't appear to be many exhibits that do this).
exhibit_location exhibit-location taxonomy Each term will need to be created prior to exhibit import
online_exhibit isOnline meta
permanent_exhibit isPermanent meta
exhibit_location isPhysical meta false if exhibit_location is empty
start_date dateFrom meta should be in format yyyymmdd
end_date dateTo meta should be in format yyyymmdd
curation_notes curationNotes meta
content (not acf) and ucd_pages_flexible_content content post content concated with ucd_pages_flexible_content. ucd_pages_flexible_content will need to be parsed to best of our ability