import a location for showing on a map

Pending

Import WP Addon - Advanced Custom Fields Updated 23 hours ago 13 Replies

Jack asked 3 weeks ago on March 15, 2025 at 8:28 am

I want to import a csv with company details including address, long and lattitude (made with ACF), to a custom post type, but it doesnt work. I hope someone can help me with this issue

J

James replied Support Agent

2 weeks ago on March 17, 2025 at 2:03 pm

Hi Jack,

Just to help me understand where you are, have you looked at this guide to import into an acf google maps field: https://www.importwp.com/docs/import-advanced-custom-fields-data/#import-acf-google-maps-field-data.

If you have and this still does not work, can you please export 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.

And also export and attach a copy of your csv file.

Thanks

James

JV

Jack replied

2 weeks ago on March 18, 2025 at 8:34 am

Hello James,

Thanks for youre feedback i only use openstreetmap, work that on the same way?

J

James replied Support Agent

2 weeks ago on March 18, 2025 at 9:25 am

Are you able to export your acf field groups? Via ACF > Tools

JV

Jack replied

2 weeks ago on March 18, 2025 at 9:41 am

J

James replied Support Agent

2 weeks ago on March 20, 2025 at 10:06 pm

Hi Jack,

If you install at activate the attached plugin, this will then allow you to import sections into your open street maps field.

This allows for the following sections to be imported into the field type:

'lat' => '',
'lng' => '',
'zoom' => '',
'address' => '',
'label' => '',

To use this in the importer you need to select the field from the dropdown, then in the value field you can choose which parts you want to import (e.g. lat, lng,zoom):

lat={1}|lng={2}

Screenshot attached showing the populated field.

James

 

JV

Jack replied privately

2 weeks ago on March 21, 2025 at 3:46 pm

J

James replied Support Agent

2 weeks ago on March 22, 2025 at 3:34 pm

Please try this one, looks like the previous version was just an empty folder.

JV

Jack replied privately

4 days ago on March 29, 2025 at 7:37 am

J

James replied Support Agent

4 days ago on March 29, 2025 at 5:56 pm

To see what you have setup, can you please export 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.

JV

Jack replied privately

2 days ago on March 31, 2025 at 6:05 am

J

James replied Support Agent

2 days ago on March 31, 2025 at 6:10 pm

Hi Jack,

From your importer config it looks like you have set the custom field name to {7} when it should be chosen from the dropdown as the ACF maps field that you are trying to import to?

James

JV

Jack replied privately

24 hours ago on April 1, 2025 at 10:23 am

J

James replied Support Agent

23 hours ago on April 1, 2025 at 10:37 am

In your screenshot you have the field name set to {7} which is incorrect,

If you are using acf, then instead you want to uncheck the "Enable text field", which should change the text input back to a dropdown and then select the custom field name from the list, it should be prefixed with either the text "ACF - " or "Advanced Custom Fields - "