Importing Custom Fields From MT Formatted File Into WP
-
I’ve created a Movable Type looking import file from my old Coranto blog. I have a custom field that I’ve given its own like in the MT import.txt file. Like so:
CATEGORY: news
STATUS: publish
MYFIELD : stuff goes hereWhat I’m trying to to is get the data in “MYFIELD” to go into the proper custom field of that post. I titled it MYFIELD in wordpress as well. I figure I need to modify the case section of mt.php under the import folder, similar to:
case: ‘MYFIELD’
XXXXXXXXXXX = $wpb->escape($value);What I dunno is what goes in that XXXXXXXXX there? How do I reference that post’s custom field meta data in code and load into it?
I could use a little help…Thanks!
B.
- The topic ‘Importing Custom Fields From MT Formatted File Into WP’ is closed to new replies.