Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

How to import into ACF without parsing the XPath data?

$
0
0

Replies: 0

Hello,

I am importing data with Advanced Custom Fields Add-On by XPath from CSV. One of the fields I am importing is “Category” (my own ACF). One of the category values looks like this:

“Movie, photo, video and radio”

As you can see, it includes commas. But since comma is the default separator for importing multiple values (as I can see in a tooltip), the string is being parsed into multiple values. The problem is, I want to import it as it is, as a single string, without parsing.

See the screenshot: https://imgur.com/4WEDFiW

So the result won’t look like this: “Movie”, “photo”, “video and radio”
But it will look like this: “Movie, photo, video and radio”

Is there a way to import the data without parsing? Or better, change the comma separator to e.g. semicolon, so the data is not being parsed?

I tried importing from CSV as well as from XML, unfortunately same result.

Thank you so much for answers.


Viewing all articles
Browse latest Browse all 59525

Trending Articles