WordPress.org

Ready to get started?Download WordPress

Forums

CSV Importer
Multiple Taxonomies (3 posts)

  1. kwttrev
    Member
    Posted 1 year ago #

    I have a custom taxonomy 'Cities' and have tried several ways to import a post into multiple cities - not sure what I am doing wrong but somehow it just imports the first city and the rest after the comma gets ignored. With categories I have no problems.

    csv_ctax_cities
    "0,city1,city2,city3" also tried "0,city1,0,city2,0,city3" If I use city1,city2,city3 then it allocates only city2 to the post.

    Any help would be appreciated!

    http://wordpress.org/extend/plugins/csv-importer/

  2. ennan
    Member
    Posted 1 year ago #

    maybe too late... but in case someone else has the problem:

    csv_ctax_cities
    -------------
    0,city1
    0,city2
    0,city3

    The tree lines go inside the same cell of the csv file.

  3. motocomdigital
    Member
    Posted 1 year ago #

    @ennan your anwswer was very useful. Thank you.

    The documentation was not quite clearer enough for me to understand how to get the terms to appear ticked (selected), and this helped me solve the puzzle of getting the actual boxes selected.

    Top level terms have to be preceded either by an empty string or a 0 (zero).

    I don't get this bit about an empty string, but using a 0 (zero) does the trick and actually selects the tick box.

    However, as you explained, by doing a line break (alt+enter) you can do multiple hierarchy taxonomy terms at once.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.