Custom post types importing as posts
-
I saw that this has happened before here, but it looks like OP never followed up.
I have a column heading for wp_post_type, with the post type as ‘grant’ and while I’ve been able to successfully import CSV files for posts of ‘grant’ type in the past, I’m currently not able to get it to work.
Incidentally, I checked the DB for postmeta, and it appears that the post meta does get imported, as do taxonomy term relationships.
Once I saw that, I managed a workaround using Convert Post Types plugin. This plugin supplies an interface where you can convert all posts of any one type into another, with the ability to limit the posts being converted to a specific category (post category is the only taxonomy you can use as a limiter btw). So this works going from post to grant; wouldn’t work going the other way.
I imported the grants as posts, then gave them all a new category ‘convert-to-grant’, and converted them using the above plugin.
I would dearly LOVE to *not* have to make a tutorial for my client explaining how they can do this workaround, so if you have any insights on how to get grants to be grants and not posts, I’d love it!
- The topic ‘Custom post types importing as posts’ is closed to new replies.