-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Importing only last field #1
Comments
This was created for ACF 3. I haven't tested with ACF 4 yet, I'll try to figure it out next week. |
This little patch fixes fields import for ACF 4. It still doesn't properly import locations or options, but it's a start.
|
@dmh-kevin, just FYI, I'm not getting any change of behavior with the patch. |
Before the patch, I was getting the same issue you described. My php field definitions were old, so perhaps an old ACF export didn't provide all of the fields that newer exports have. I'll test more. I only tested against the content on a project where I really did loose the xml dump and database definitions and was able to retrieve all of my fields. |
Please update to work with version 4 |
@alekstrust for ACF4 you could use my little script: https://github.com/iamntz/acf-recovery Although it doesn't have any option as ACF Recovery does, it will restore all of your fileds ;) Enjoy! |
Thanks to iamntz and dmh-kevin. It is now updated. There is an issue when attempting to edit a recovered fieldset while the PHP defined version is still active. |
You guys rock. |
#1 adjust dashboard link to point to correct settings URL.
This doesn't seem to be working with the most current version of ACF. I've tested it with a few WP installs, & it looks to be Recovering the field group correctly, but only the last field in each group. The field group draft (immediately after recovering the group) shows the number of fields that should have been recovered, but if you view the draft, it only displays 1 recovered field. Also, after you publish the group, the recovered field number updates to 1(in the field group list).
The text was updated successfully, but these errors were encountered: