Home › Forums › Front-end Issues › Field values not showing up (front-end) after XML import › Reply To: Field values not showing up (front-end) after XML import
Hi Elliot,
Yes this was WP export data and then WP import data (xml).
All the custom field values exist in the database and for each value there’s a hidden value with the same field name with an underscore before it.
But because you pointed this out, I’ve just compared values of the reference field (by turning on ‘key’ in the screen options) and they don’t match. I don’t know why, I guess the import and/or export screwed up.
Should everything work if I update the values of the reference fields? We’re talking 700+ custom posts, so then I’d make a loop which goes through all the posts and then use update_post_meta($post_id, '_f_city', 'field_correct_value');
.
Thanks,
Joost
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.