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!
Accordions are a great way to group related information while allowing users to interactively show and hide content. In this video, Damon Cook goes in-depth on how to create an accessible accordion block using ACF PRO’s Repeater field.https://t.co/RXT0g25akN— Advanced Custom Fields (@wp_acf) March 2, 2023
© 2023 Advanced Custom Fields.