Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Takuro Hishikawa

    (@hissy)

    With post_id field, you can update specific post data.

    Thread Starter blogdropper

    (@blogdropper)

    Hi Takuro,
    I’ve decided to combine all the csv files into 2 files – one that will create the posts, and the 2nd which contains a repeater field will update these posts. I understand that the repeater field needs to be imported as a complete unit, ’cause I cannot use this method to update a repeater once it’s in the post.
    The repeater field consists of: “post title” (or post_id ?), 3 text area fields and 3 multi select taxonomy fields, for each post there can be from 1 to 50 repeater fields, It’s not practical to put all repeater fields into one csv record, so I want to create 1 record in the csv file for each repeater row in the post. So my question now is what is the format of the repeater field, and what are the column header titles, I understand from the plugin faq example csv file that the format is:

    Header:
    “post-title-slug”,”text-area1-slug”,”text-area2-slug”,”text-area3-slug”, “tax_taxonomy1-slug”,”tax_taonomy2-slug”,”tax_taxonomy3-slug”

    Detail line: – Where “text area3” is blank and “tax_taxonomy3” is blank
    “Post Title”,”text area1″,”text area2″,,”black dogs,grey cats,cows”,”black,brown, dark blue”,

    Will the above work if I’m using “Advanced Custom Fields Pro”? I read “Import to Advanced Custom Fields Repeater Field with Really Simple CSV Importer” – https://notnil-creative.com/blog/archives/2913,
    but I don’t understand the format of the csv file or where to find the key to the custom fields, please could you give me an example for the above header and detail line.
    My WordPress/coding skills are a little weak and I’m not sure how to adapt the “RS CSV Importer Customizer” plugin that you give on the page.
    I understand this plugin is for geeks, but it’s also the only one I’ve found that address’s my specific requirements.

    Sorry for the length of this question, but I really need to understand this so that I can import my data and move on with developing my site.

    Many thanks for your help
    David

    Thread Starter blogdropper

    (@blogdropper)

    Hi, About the ACF key value, after more googling I understand I need to create a post with all the fields before I can find the key value for each field, is that correct?

    Thanks
    David

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘can i build a post from several csv files?’ is closed to new replies.