• Resolved Susan Langenes

    (@susanlangenes)


    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!

    https://www.ads-software.com/plugins/wp-csv/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author CPK Web Solutions

    (@cpkwebsolutions)

    Hi Susan

    Thanks for the detailed bug report. Appreciated.

    I’d LOVE to be working on the plugin full time, but unfortunately it doesn’t pay the bills.

    Could be several weeks, but I’ll add your report to the list and try to reproduce/fix at some point.

    Since you’re the first to report it, there’s still a possibility that it’s just your config. If you’re in a hurry, then consider de-activating other plugins to see if they’re interfering with the save operation at all.

    Best wishes

    Paul

    Thread Starter Susan Langenes

    (@susanlangenes)

    Hi Paul and thanks for your quick reply. I definitely understand about needing to pay the bills!

    I’ll play around with deactivating other plugins. The only one we’ve added between now and when we were last able to successfully import is Sucuri Security; seems like a good suspect so I did deactivate it but, alas, no change.

    Many other plugins have been updated, however, so I’ll see if I can slog through them and keep you posted here.

    Plugin Author CPK Web Solutions

    (@cpkwebsolutions)

    Hi Susan

    I’ve tested create and modify. In both cases I can set the wp_post_type to any text I like (even custom post types that don’t exist).

    Have you got another WP site that you could test on? You should get the same results as me.

    Another suggestion would be to create a grant custom post manually, export, and then do a field by field comparison with the ones that are failing to work. Maybe it’s another field (ie post_status) at fault?

    Best wishes

    Paul

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Custom post types importing as posts’ is closed to new replies.