Support » Plugins » [Plugin: CSV Importer] Import to Custom Post Type?

  • Ian


    This plugin is pretty much awesome. Totally amazing database tool.

    The new custom taxonomies update is going to make my life a million times easier.

    The only thing left I have to ask for is if it could also have a field for custom post TYPES. Is this possible? Is there a way I can do it now somehow?

Viewing 15 replies - 1 through 15 (of 17 total)
  • Ian


    Any ideas?

    I am also having the same issue. I’d like to import into a custom post type, but I don’t currently see that as an option.



    I’ll add custom post types to my list of feature requests.



    Let me add my vote 🙂

    Ryan Miller


    Plus 1. Seems like a natural progression of the plugin.



    I agree. Can’t wait!



    Another vote from me 🙂



    Support for custom post types has been added in 0.3.2. Grab it while it’s hot! 🙂

    Thanks for your votes. I would also be very interested to read more usage reports to help me think about new features and ways to make the plugin better.

    Suggestion: import them as regular pages and then convert them to the intended Custom Post Type using another plugin.



    dvkob, this new custom post types is perfect for what I needed in my CMS site. Have you thought about adding something like adding a cron functionality to import daily content? Do you have any suggestions on how to do this with the current version of the plugin?

    I actually had to hack this plugin in order to get custom post types to work. I’m running 0.3.3.

    ellie.roepken, could you share how you hacked to get this to work?

    I changed the cells in the column “csv_post_type” in sample.csv to my type (“towns”) and imported. Those items were not brought into that post type.

    I’m using GD CPT Tools to create the custom post types, and everything else works fine.

    Looking for a fix or an alternative.

    I changed line 228 of csv_importer.php:
    post_type_exists($type)) || in_array($type, array('post', 'page'));

    Where it says in_array($type, array('post', 'page')), add your custom types to that second parameter.

    I.e.: in_array($type, array('post', 'page', 'book', 'article'))

    Thanks for the hack and your note in the related thread.

    However, I did find a premium plugin, TurboCSV, that supports custom post types, custom taxonomies, and custom fields. I had one issue, but the developer responded quickly.

    That said, I spent quite a few hours seeking a complete workflow for custom post types and taxonomies — from entry to management to queries (missing in core) to presentation — and have decided to wait until the support is more mature.

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘[Plugin: CSV Importer] Import to Custom Post Type?’ is closed to new replies.