{"id":593,"date":"2021-03-01T12:36:31","date_gmt":"2021-03-01T12:36:31","guid":{"rendered":"https:\/\/mklasen.com\/?p=593"},"modified":"2022-01-20T17:26:45","modified_gmt":"2022-01-20T17:26:45","slug":"acf-json-not-loading","status":"publish","type":"post","link":"https:\/\/mklasen.com\/acf-json-not-loading\/","title":{"rendered":"ACF JSON not loading?"},"content":{"rendered":"\n
I’ve used Advanced Custom Fields Pro for many years now. I love the ACF-JSON feature which allows automatically saves your fields into a JSON file. This is wonderful for deployments and automatically synchronises your fields to the production environment.<\/p>\n\n\n\n
Today I customised some things directly in the JSON file, and although this changes the fields directly, it does not update the Dashboard UI.<\/p>\n\n\n\n
Usually the changes would show up in “sync available”, but since the modified date of the json file (there’s a parameter all the way in the bottom of the file) did not change, ACF does not see the updated fields.<\/p>\n\n\n\n
Basically, you have two options. Either you:<\/p>\n\n\n\n
Or, my preferred way,<\/p>\n\n\n\n
You’ll find the modified date in the bottom of the JSON file. Change it, save the file and ACF will show that a sync is available!<\/p>\n\n\n\n
<\/p>\n","protected":false},"excerpt":{"rendered":"
I’ve used Advanced Custom Fields Pro for many years now. I love the ACF-JSON feature which allows automatically saves your fields into a JSON file. This is wonderful for deployments and automatically synchronises your fields to the production environment. Today I customised some things directly in the JSON file, and although this changes the fields […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","footnotes":""},"categories":[1],"tags":[],"acf":[],"yoast_head":"\n