• Resolved wandelhalle

    (@wandelhalle)


    Can I import more than one custom field with the same name? For example:

    "tree","tree"
    "Oak","Beech"

    Thanks a lot.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor dvkob

    (@dvkob)

    wandelhalle: You can do

    "tree"
    "Oak,Beech"

    Thread Starter wandelhalle

    (@wandelhalle)

    dvkob, thanks for your reply.
    I tried this, but I think when enclosed in quotes, the comma is not interpreted as a separator. In the wp_postmeta table, it results in

    |meta_key|meta_value|
    +--------+----------+
    |tree    |Oak,Beech |

    But what I want is

    |meta_key|meta_value|
    +--------+----------+
    |tree    |Oak       |
    |tree    |Beech     |

    Is this possible?

    Plugin Contributor dvkob

    (@dvkob)

    wandelhalle:

    I think when enclosed in quotes, the comma is not interpreted as a separator.

    That’s right.

    Since columns in the csv file are identified by name in the plugin, column names have to be unique, so having two keys with the same name is not possible.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: CSV Importer] More than one custom field with the same name’ is closed to new replies.