You would want to create an array of those values from your spreadsheet and loop through them to call the wp_insert_category
function on each one.
http://codex.wordpress.org/Function_Reference/wp_insert_category
Related Posts:
- How to create 450 categories in wp
- Custom Query to search through categories
- How Do I Merge Categories With phpMyAdmin
- Disallow categories from this MySQL query
- Accessing WordPress MySQL Database via Data Connection in Visual Studio 2010 using C#
- Change the category of all posts in it
- How to run select query of post with category and tags for API?
- How to get related tags based on a category?
- SQL to migrate post types to taxonomy
- Drop posts from categories in MySql
- WordPress Post # of # filtered by category slug
- Can Categories be used to hack a Multisite-like setup w/ a single MySql db?
- How to list all categories and their IDs using SQL query?
- How Do I Delete WordPress Posts Older Than 400 Days, From A WordPress Category
- WordPress: Using the category slug get the category ID using mysql query
- How do I merge WooCommerce categories with the same name?
- Bulk Change WordPress category Slug
- how to get postmeta info based on multiple categories?
- finding out the top 5 source ( source is a custom taxonomy ), in a given category
- How to make that all posts with a category belong also to another
- Only one category per post
- How to get permalinks with category base working with sub-categories
- WP 3.9 TinyMCE no longer loads on category description editor
- Exclude categories from search query
- Why is per_page not working with categories in WP API?
- How to order the get_categories result
- List posts by category exclude current post
- How can I calculate the total number of categories at different hierarchy levels?
- How to add a background image to category and display image on category page
- Display only deepest category on a single post?
- How we add new categories by wp_insert_post
- Listing all posts from current category on page
- Hide uncategorized products from the shop page
- I want exclude the particular category in sidebar
- wp_list_categories() – adding a div to each li?
- How Can You Exclude Categories From Your RSS Feeds?
- Help with multiple dropdown tags search
- How to get category URL with the slug?
- weekly archive for custom category
- ?cat=-1 Indexed Versions Of Homepage
- How get permalink for the current category or tag?
- using checked function to verify value against an array
- wp_list_categories depth and number
- Category index featured image
- Order categories by most posts
- need to add custom field in more products
- Sorting category products not working
- Show category from “Next post” and “Previous post” [edited]
- Custom archive.php: retrieve right post categories?
- Add category only if post has custom taxonomy category
- How to customize categories panel?
- Get posts from 2 different categories
- Random Featured Image Based on Category
- Failing in_category or has_category in the_content_feed
- Display a list of subcategories a post belongs to
- Display unused categories in dropdown
- Show Pages in Categories
- get_posts ignoring ‘category’ and displaying all posts
- How to change the thumbnail size to a specific category?
- Get paged category link programmatically
- Some of the category description not showing up in category page
- Function to automatically rename the base category permalink
- Add theme-color meta tag to head?
- How to get an array with all categories and corresponding names?
- Is it possible to have a template that works on multiple categories where the link address contains the specific category?
- WordPress Customizer: Dropdown with Category output
- Custom tax_query filter not working for Woocommerce product categories
- display a link to all the categories of current post, including parents
- How do order product categories – on a parent category page – in Woocommerce?
- Display only subcategories of a category and not sub-subcategories
- Exclude parent category when getting category posts by slug
- category link not working for a specific slug, works for others
- Shows only one Category in home page
- Exclude the category in WordPress
- Global navigation in multisite: problem with categories
- Placing category specific banner/html at top of respective category pages
- How to remove category name for only one category?
- Get parent category field from child category [closed]
- Can a Woocommerce product category URL contain “&”?
- How can I display all products from all categories on one page with woocommerce?
- Unable to create pagination for Category.php
- Posts says they are uncategorized but they are not
- Meta Box: display single image on an archive-template
- I just want to list ONLY the child categories, but not grandchildren
- Search Replace Database ONLY for posts of certain category?
- Categories Help and video uploads
- Display only children of custom hierachial taxonomy
- Read More showing only on first post
- Filtered post assigned to categories
- Paginations in Category Page Leads to Sample Pages
- Allow a user to ‘subscribe’ to different post categories?
- If on Category Page add “active” class?
- Show only one category in main query, issues on tag page
- Bringing Ajax Loading Feature on Category Pages
- single category widget with conditional terms
- Remove the current item from a menu
- Show category-ID in custom category-list
- Dynamically Adding Category Specific Content To Specific Category & Subcategory Pages
- Custom EndPoint not working when strip child category in URL
- How to add custom prefix before category base for category page URL?