• How to import ACF field values from a CSV in existing pages?

    Is this a feature of the add-on, or ACF pro version?

    I’ve been trying for days with WP Import, but it will simply not populate the ACF fields.

Viewing 1 replies (of 1 total)
  • Plugin Author Konrad Chmielewski

    (@hwk-fr)

    Hello,

    Thanks for the feedback!

    Unfortunately this feature doesn’t exists either in ACF or ACF Extended (this plugin). I’m not a user of WP Import, so I cannot confirm if it allows such functionality. I would recommend to contact their support for more information.

    Other than that, you could develop your own script that would read the csv file and import it in PHP. Using the PHP function fgetcsv() (see documentation), or libraries such as PHPLeague CSV or parsecsv-for-php, in combination with the ACF function update_field() to update fields (see documentation).

    If you need further assistance with this custom development, I would recommend to check the ACF Support Forum. There are plenty of developers there which might help you with this task.

    Hope it helps!

    Have a nice day!

    Regards.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.