Import .csv to ACF and hand over to WP Go Maps

New home Forums Pro Add-on Import .csv to ACF and hand over to WP Go Maps

Tagged: 

  • This topic has 1 reply, 2 voices, and was last updated 9 months ago by Dylan.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #78177
    motioncompany
    Participant

    Hi,
    I am very new to WP Go Maps. Seems that it is a great plugin.
    I have a questions regarding import from a file and hand over it from ACF.

    I have to import a .csv with over 100 markers.
    This .csv has the fields:
    coordinates, e.g. “48.8642700307016, 2.2937079661732196”
    organisation, e.g. “aaa” (this is similar to WP Go Maps categories)
    title, e.g. “Eiffel Tower”
    description, e.g. “Champ de Mars, 5 Av. Anatole France, 75007 Paris”

    How to import is not my question but i need an advice how to hand over this data to WP Go Maps.

    Thanks and best
    Matthias

    #78192
    Dylan
    Moderator

    Hi Matthias,

    Thank you for getting in touch we do appreciate your time.

    You can import the data directly to our database tables, but this data would not be converted into ACF posts, unfortunately, instead the data imported via our imported is all stored directly to our tables.

    If you need to leverage ACF to manage your data, you can enable our ACF integration, whereby the plugin will pull all of the data from the ACF posts into the map in realtime.

    Importing would then need to be done directly into WordPress posts. Our maps will use the title, and description from the post directly. The coordinates would need to be added as a custom field (using ACF) as documented here: https://docs.wpgmaps.com/advanced-custom-fields

    The field defined in our documentation controls the marker positions, but it is important to note that we do not edit/update ACF posts from our side, meaning it is a one-way integration, where we simply pull the ACF post data, and that custom field (Google Map) to place the marker on the map. This allows the ‘more details’ link in our plugin to point back to the page/post where the data originated from.

    I hope this helps? If you have more specific questions, or if I have misunderstood your initial request, please do let me know.

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