I have a custom field [address] that converts a street address and displays it on a google map on the front end post.

Upon manual post update, the latitude and longitude address co-ordinates populate correctly into the [address] custom field and hey presto, the Google Map shows up on the front end post.

The problem I have is this:

The [address] custom field is being populated by an import script (wp-allimport) which updates my posts via daily cron, from a master file.

The cron import update works fine for all post details (e.g. date, images etc), except for the [address] custom field. It does populate the [address] custom field correctly, but the Google Map does not show on the front end.

I believe this is because the post needs to be updated a second time in order for the latitude and longitude co-ordinates to "stick".

How can I rectify this? I have several thousand posts that are updated daily, so doing it manually is not an option!

Things I've tried: I also read these related posts but didn't see anything conclusive. Automate post update for all posts? (I tried Bainternet's suggested code, which simply outputted the custom field data, but but not as the geo-coded map)


  • Does your site use any kind of caching?
    – s_ha_dum
    Apr 18, 2013 at 13:10
  • no, i'm not using any special cache control. Apr 18, 2013 at 21:21

1 Answer 1


I eventually solved this by re-installing WP. It seems there was some kind of corruption which was resolved after a fresh install.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.