Custom Fields
Re-Envisioned
Support MB Custom Table Meta Box, custom table, and WP All Import (WPAI)

  • Creator
    Topic
  • #31770
    Bellul
    Participant

    I have a MB custom post type with MB custom fields. The post title is the regular WP Title field. The custom fields data are saved to a MB custom table.

    I tried today to import simple text data using WPAI. But WPAI didn't detect any of the custom fields (I had manually saved data before to the post type). So I wrote the column names myself. The import seemed to work well - no complains from WPAI. The new posts are created. BUT no new data shows up in the custom table.

    All custom fields data are saved to the postmeta table instead of the custom table! So is the case that if I use a custom table to store data, MB and WPAI will not work together at all? I know that MB does not support WPAI yet, but was under the impression (after reading other topics in this forum) that it should at least work with simple (text) fields.

    Do you have a solution right now for this problem? Something like this suggestion for ACF: https://wordpress.org/support/topic/import-custom-fields-into-custom-table/ ? Any code to help me soklve this? Any other suggestion? You sometimes in this forum recommend the plugin "WP Ultimate CSV Importer", but when I asked them, they said: "We do not have support for the Metabox plugin".

    In this topic https://metabox.io/support/topic/display-wp-all-import-images-in-image-advanced-field/ you say on October 23, 2021: "We are working to create an integration plugin between MB and WP All Import. Hopefully, it will be released soon." What do you mean by "soon"? This year? I really do hope so!! If you need a beta tester, I will happily be of assistance!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Author
    Replies
  • #31783
    Long Nguyen
    Moderator

    Hi,

    Because we've received a lot of feature requests and reporting issues so I do not have the estimated time for this question. The development team is working tirelessly to create the integration but it will take time to do that. Thanks for your patience.

    #31785
    Bellul
    Participant

    Thanks Long! Appreciate that you work on this integration!

    In the meantime, what would you suggest me to do to solve the issue of importing simple posts to custom fields where the data should be saved to a custom table instead of to "postmeta"?

    Since this standard tutorial of yours does not seem to work: https://metabox.io/create-and-import-project-portfolio/, would it work to first import it to the postmeta table and then as a second step to move the data to the custom table, which you describe here: https://metabox.io/move-custom-fields-data-to-custom-tables/ ? Will that work?

    Or do you have any other suggestion?

    #31980
    Bellul
    Participant

    Long, did you see my follow up question from November 7? In waiting for an add-on, would it work to first import it to the post and postmeta tables and then as a second step to move the data to the custom table, which you describe here: https://metabox.io/move-custom-fields-data-to-custom-tables/ ? Will that work?

    #31985
    Long Nguyen
    Moderator

    Hi,

    Yes, you can import the data to the default table wp_postmeta then move it to the custom table. But please notice that WPAI can work with some simple field types of Meta Box like text, email, number, single_image ... It does not work with complicated fields like group, cloneable, fields with setting 'multiple' => true (image_advanced, image ...)

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.