Importing specific image from a set as a custom field

Closed

Import WP Addon - Advanced Custom Fields Updated 16 hours ago 3 Replies

Guillaume asked 1 day ago on February 2, 2026 at 3:11 pm

Hi,

I need to import a specific image from a set (lets say the second one) in the provided XML file to add it as a Custom Field (“Advanced Custom Fields – Set Featured Image 2)

The repeater node is <IMAGES>

How can i do that ? (i will need to do that for the third one too)

Thanks a lot !
Regards

Guillaume

J

James replied Support Agent

1 day ago on February 2, 2026 at 7:58 pm

Hi Guillaume,

Sorry i cant see the image you have attached.

If you are wanting to select only a specific node out of a list of child nodes, for example

{/images/image}

would select all the image nodes.

To select the first image you would instead do

{/images/image[1]}

Hope this helps.

If you need more help with this please upload an example xml file and attach your importer settings to this ticket by going to Tools > Import WP > Settings / Tools > Import / Export and select and export your importer as a JSON file.

James

GH

Guillaume replied

18 hours ago on February 3, 2026 at 8:17 am

Hi James,

Thanks a lot: it works perfectly! 

Have a nice day.
Guillaume

 

 
 
J

James replied Support Agent

16 hours ago on February 3, 2026 at 9:33 am

Glad its working,

I am closing this ticket, but if you have any more questions just let me know by replying to this ticket to re-open it.

James