MichDe / wordpress-geo-mashup

Automatically exported from code.google.com/p/wordpress-geo-mashup
1 stars 0 forks source link

"Import Custom Field" doesn't work with Advanced Custom Fields plugin #512

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Geo Mashup 1.4.1
WordPress 3.2.1

Discovered in issue 501. Not sure why - ACF could alter the field key, use its 
own tables, or not use the WordPress API.

Original issue reported on code.google.com by dylankk...@gmail.com on 30 Sep 2011 at 1:44

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
So I know this is really old, and I came across this as I was having the same 
issue, so here it goes. There needs to be a better way to update the geocode 
address field when a post is saved. Right now I believe it's trying to look for 
a slight change in the ACF field, or even the core wordpress meta field. Point 
in case: I have a my_address, my_city, my_state, my_zip ACF field in my custom 
post type. In the Geo Mashup plugin settings, I have those custom fields in the 
Geocode Custom Field box, as well as the Copy Geodata Meta Fields ticked (not 
too sure if it has to be). Now if the ACF fields has data in it already and you 
hit update, the geocode address field will not get updated, but do the 
following, put a space after the my_address field, or any of the my_ fields and 
hit update. NOW the geocode address field gets populated and the map point gets 
added. There is some sort of bug to it. I am trying to use the Bulk Reverse 
Geocode button, but that's not grabbing either the ACF custom fields, or even 
the wordpress core custom fields of the custom post type, so I think that 
functionality needs some work as well.

Original comment by aolin...@gmail.com on 23 Dec 2014 at 4:32