• Resolved radiofranky

    (@radiofranky)


    Hi,
    I was wondering how to import CSV posts with custom fields.
    For example, I looked into table “postmeta” and each field contain two meta_key. I have a custom field called “coupon_code” and I also see ACF generates another coupon_code with “_coupon_code” with some value “field_iudi3weiie9”.

    What and how is this “field_deiidisee” generated? If I want to import posts with those fields via CSV. Do I need to add both “coupon_code” and “_coupon_code” in order for ACF to recognized the “coupon_code” field?

    Your help is appreciated.

    http://wordpress.org/extend/plugins/advanced-custom-fields/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi, this is something I’d really like to do as well. Any help on this would be greatly appreciated 🙂

    Plugin Contributor Elliot Condon

    (@elliotcondon)

    Hi radiofranky,

    The underscore custom field is a reference to the field object.
    The field object holds all the data that you can edit in the “edit field group” screen.

    This reference allows ACF to save data in 1 format, but return data depending on the field object’s settings.

    A good example of this is the image field. It will save the ID, but can return either the ID, url or object.

    If you don’t have this reference, ACF will not be able to format the value and will return it as is.

    tumateix

    (@tumateix)

    I have the same problem, I tried to upload a cvs with my custom fields created with ACF, and it doesn´t recognise my fields. The file only get and reads correctly the custom fields of the post, but no any field I created.

    Is it a problem of the name I´m using? I even try the Field Key, some like CF:_value and nothing, I see in my wbpd that the field is not created.

    How can I know the correct name for my fields so I can create the CVS correctly and get my post fields populated.

    Any Ideas? Thanks!!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Advanced Custom Fields] CSV import with advanced custom fields’ is closed to new replies.