• Resolved Jignesh Bhavani

    (@bejignesh)


    Currently the plugin does not have the option to manage custom fields for the attachment post type. suppose media items have some extra fields that should also be exported/imported.

    While importing or exporting the articles, I couldn’t find any field mapping option for the custom meta fields of attachments.

    When exporting I was able to create a new custom XML field and got the image_credit values of all the images separated by | just like <URL> has all the image URLs but when importing, Is there any way we can store this in a custom meta field image_credit values for individual images?

Viewing 1 replies (of 1 total)
  • Plugin Author WP All Import

    (@wpallimport)

    Hi @bejignesh,

    Is there any way we can store this in a custom meta field?image_credit?values for individual images?

    It’s not something that’s possible with our built-in options, but you could do it with custom code and our API: https://www.wpallimport.com/documentation/action-reference/.

    For example, you could use a snippet like this – https://d.pr/n/wVu0vu – to add “Media” as an export/import option. Just keep in mind that this is an unsupported workaround, and it’s important to use the “Choose which data to update” option in the import so that you can choose to only update the custom field you’re importing.

Viewing 1 replies (of 1 total)
  • The topic ‘Import Custom Fields of Attachment Post type’ is closed to new replies.