Importing from Django- Trying to find all fields needed for successful import

5.09K viewsGeneral
0

I have a fairly large database of about 2000 questions and answers(comments that I will convert to answers) that is in a custom django database. I have imported all the fields in wpposts and wppostmeta except in postmeta I imported history field as blank. Then I realized you use a custom table for ap_meta. So I was wondering if you could suggest fields I need to make it successful. Any tips would be greatly appreciated. Also as many are requesting, I would love an import tool…

1

Here are the function which you can use after inserting question and answer BUT if you importing  using wp_insert_post, then this function get hooked automatically.

https://gist.github.com/rahularyan/371f893f1ae5c6e788fc