Active
Project:
Wordpress Import
Version:
6.x-2.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
1 Mar 2011 at 06:51 UTC
Updated:
6 Apr 2011 at 18:10 UTC
It seems like there is a bug with importing custom post types.
I was able to get my regular posts to import just great, albeit with the easily fixable formatting issue.
But then when I went to import my custom post type, the module seems to see the custom posts (1300+ of them), before import in the "green text" area, but after I set the options to import, it doesn't actually import any of them. In the progress screen where I saw momentary titles being shown on the screen when I was importing my regular posts, I'm now not seeing anything come up. Bug?
Comments
Comment #1
lavamind commentedI'm not sure what you mean by "custom post type". Do you mean posts created with a 3rd party plugin? If so, which plugin?
Also, if you could post your XML file it would help a lot.
Comment #2
TrevorG commentedCustom Post Types http://codex.wordpress.org/Post_Types
are akin to our custom content types with CCK, although of course, CCK is vastly superior and a much more mature module than the relatively new-to-WP custom post type.
So there were only Posts and Pages, now there is official support for Custom Post Types in WP core, and have been since 2.9.1 or 3.0 or something. I don't really know or care much because I will never use WP again for anything other than a simple single user blog. Even then, drupal still can scale to that level.
So here is what a regular post looks like in my xml:
And here is a custom post type called Related Resources, which we use for linking to additional information on a topic:
Note, we do not use the field like a normal post, we use custom fields.
But I can't see why this module see all 1300 Related Resources in the green type preview screen, then doesn't import them?
Comment #3
lavamind commentedThis would be quite some work to support. Patches welcome.