Home › Forums › General Issues › ACF data not showing in the front without a manual post update. › Reply To: ACF data not showing in the front without a manual post update.
For those with issues, you cannot use the standard WP importer to import ACF relationship fields. ACF stores POST IDs in relationship fields. Post IDs will change when using this importer.
As stated in my previous reply: The post that will be related must exist. You will need to hook into whatever you are using for doing the import and get the value of the relationship for the post and call update_field() for that field on the post being imported. The import must be done correctly in the first place, the import tool must be aware of ACF and it must create the field and the ACF field key reference in the database.
The other plugin is designed to work with ACF and will not function with importing for many reasons, some of them mentioned above.
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.