Support

Account

Home Forums General Issues Bulk Importing Data with File Fields Reply To: Bulk Importing Data with File Fields

  • All right, I think I found all the connections…

    We’ve got:

    1. Original custom post in wp_posts with post_type = ‘publication’, in my case. In my example, the ID = 1171.
    2. File is stored in wp_posts as well with post_type = ‘attachment’. I see post_parent = 1171 and ID = 1264.
    3. File is associated with the correct field a) in the wp_postmeta table with a post_id = 1264 and a meta_key = ‘_wp_attached_file’. The meta_id = 6000.
    4. AND in b) the wp_postmeta table with a post_id = 1171 and meta_key = ‘publication_download_file’ (my field name) and a meta_value = 1264