You would need to have the lat, long and address in separate csv columns and then use the Really Simple CSV Importer meta filter “really_simple_csv_importer_save_meta” to combine them into an array for ACF.
Here is some info that may help from the Really Simple CSV Importer plugin author
https://gist.github.com/hissy/ebb1d317f9abc190b901
Elliot has released a fix for this issue, just re download version 5.0.8 and install. Worked for me :). You can also access previous version from the My Account page.
Hey @elliot
The latest update for ACF fixed this issue, sorry I should have mentioned I was trying to do this from the functions file, thanks for the update.
PS – is this a custom built support forum theme, is it available to buy? one of the best I’ve used.
if get_post_meta works, shouldn’t get_field work?
Hey @elliot
Yeah
$post->ID = the right post ID (1682)
$link = get_post_meta( $post->ID, 'external_link', true );
gives me the string I need ‘this is the link’
but
$link = get_field("external_link",$post->ID); = nothing,
if I do a var_dump of $link it shows bool(false)
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.