Coder Social home page Coder Social logo

acf-php-recovery's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

acf-php-recovery's Issues

Importing only last field

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).

Fields disappear from front-end after "recovering"

I tried to use this plugin on WordPress 4.9.8 and ACF Pro 5.7.7 and it didn't work how I hoped. I was able to bring up the fields in the admin panel but it didn't work to edit the fields and I actually lost all the fields in the front end. I had to create new fields manually in the PHP and would still like to use this to recover what the previous developer imported.

Conditional logic

First of all: Great plugin :)
Only issue we're having is that fields with conditional logic are ignored and not imported.

Thanks! How can I donate?

I wanted to donate to your project because you just saved me a ton of time! How can I do that?

Thanks!

Insufficient permissions error

When I try to activate the plugin I get the "you do not have sufficient permissions" error. Maybe it's something about my environment or another plugin.

It looks like manage_options is the requirement, which I meet as an Administrator.

I'll post back if I find anything out.

Bug dans la requête SQL

Salut,
Si le groupe de champs a un apostrophe cela casse la requête SQL et en plus ce n'est pas très secure ;)

$sql = "SELECT ID, post_title FROM $wpdb->posts WHERE post_title LIKE '%{$field_group['title']}%' AND post_type='".ACFPR_GROUP_POST_TYPE."'";

Peut être utiliser un "prepare" ?

Thierry

Cannot save data using recovered fields

This plugin seems to work well, in as far as it recovers the fields from my PHP script. The fields and all subfields, options, etc. appear in wp-admin as they should.

However, none of the values in the generated fields are saved. Editing pre-existing data (i.e. field content) produces the same result. Previously-saved field values are correctly displayed in wp-admin, but no modification of their values is saved. (e.g. the text in the WYSIWYG fields in the attached screenshot.)

screen shot 2016-08-19 at 15 06 01

File location

Were to include my php file that contain the fields to recover?

Location

It appears that the location isn't being imported.

Unable to find options page

I am unable to find the options page. After installing & activating, no submenu is added to "Custom fields".

WP Version: 4.2
ACF version: 4.4.1

Not working with ACF 5.7.12 onwards – "acf_local" function removed

Great plugin!

It doesn't seem to be working with ACF 5.7.12 onwards due to the acf_local function being removed.

ACF support said:

Yes, the `acf_local()` function was removed whilst making improvements to the "Local Fields" component.
Instead of directly accessing the acf_local() data, please make use of the functions available in the "includes/local-fields.php" file such as:
- acf_get_local_field_groups()
- acf_get_local_fields()

I'm not experienced enough with this particular part of ACF to patch it, but I just wanted to let you know.

Thanks,
Lloyd

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.