Hello,
I’m trying to import some content I’ve got in a CSV using the WordPress Importer. I’m using a script to parse the CSV to an XML.
Scenario:
I’m able to import all the content in each custom field (if text) except for the images. This is how my XML looks like:
`<item>
<wp:status>publish</wp:status>
<title>Post Title</title>
<content:encoded><![CDATA[My content]]></content:encoded>
<wp:postmeta>
<wp:meta_key>my_custom_field</wp:meta_key>
<wp:meta_value><![CDATA[/http://mydomain.com/wp-content/uploads/2015/01/14_12.pdf]]></wp:meta_value>
</wp:postmeta>
<wp:post_type>my_post_type</wp:post_type>
</item>
`
It looks like my custom field is not being populated.
Does anyone have a solution for this?
I’m using
WordPress 4.0
and
ACF 5.1.5
Thanks in advance
I solved (partially) in the end. It’s possible doing this through the WordPress Importer using an XML. It is pulling through the front-end but it is not in the CMS instead.