How do i add bulk categories and sub-categories

This topic contains 5 replies, has 4 voices, and was last updated by  Wally Cee 9 years, 1 month ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #35270

    Wally Cee
    Expired Member
    Post count: 25

    Hi. I want to add many categories and sub-categories at once. Is there a way of doing this using CSV or any other option?

    #35278

    Simone
    Expired Member
    Post count: 3515

    Unfortunately this is not possible via CSV or with any other tool. It should be done via SQL if you have knowledge with that.

    #35326

    Wally Cee
    Expired Member
    Post count: 25

    Ok, thanks. The categories are found in which table?

    #35336

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    wp_terms like any category within wordpress and the icon which is the only other mandatory field is set in wp_options.

    option_name = tax_meta_gd_place_ID, the option_value is in an array.

    I’ll ask to Stiofan to confirm this, as I’ve personally never uploaded categories via sql.

    Thanks for your patience,

    #35377

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Setting the category via SQL is actually pretty complicated the category icons locations are in a steralized array value so at the moment there is not “easy” way to do it even via SQL.

    #35620

    Wally Cee
    Expired Member
    Post count: 25
    This reply has been marked as private.
Viewing 6 posts - 1 through 6 (of 6 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket