I need to migrate ~2,000 flat HTML pages into a WordPress site using X Theme.
I could build a single example of a page in Cornerstone, then use the wp_post
database record as a template, writing a script to swap out the titles, content, images. Then it’s just a SQL statement to insert.
However, looks like a lot of the Cornerstone content is stored in wp_postmeta
. Is this relationship defined anywhere?
I’m assuming you don’t have a content import tool, but correct me if I’m wrong.
Can you provide some guidance on the best way to import this content? Happy to write my own scripts but I need to understand better the relationship between the two tables.
I could import them as regular WordPress content but I hate to force the content editors to use Cornerstone for some pages and the default WordPress WYSIWYG for others.
Thanks for any assistance.