I think you can retrieve all your custom Categories as term object. Than create your categories and wp_insert_term()
should help you. In ACF field setting – include your taxonomy in Locations rules. Yoast meta save data in meta_query. For taxonomy – wp_termmeta. For each your category – extract meta fields and import to new term.
This should be one loop for old categories.
I might you understand me. Sorry for my English.
Related Posts:
- How to Manage and link certain custom taxonomy?
- get_categories for custom post type with a specific custom taxonomy attached
- Order get_terms() By Custom Field
- How can I add the featured image functionality to a custom taxonomy?
- Combine two taxonomies in a hierarchical tree
- How can I select a primary category?
- How to make custom taxonomy check boxes like ‘Categories’
- How to create non-unique sub-category slugs?
- How to get next previous category in same taxonomy?
- Getting WordPress custom taxonomy/category?
- Display empty taxonomy terms with get_terms()
- Return category slug / title from category ID
- How to get the number of child categories a specific parent category has?
- How can I convert some categories to a custom taxonomy?
- Add custom taxonomy under the category title
- Get multidimensional array that reflects category hierarchy
- Change existing taxonomy settings when using custom taxonomy
- How to get the id from the custom category?
- How to “group” (categorize) the Pages together?
- How can I edit the ‘Most Used’ tab in the categories meta-box to show another custom taxonomy?
- Display custom taxonomy attached to the post on post single page
- Question on using custom structures for categories
- Notice: Trying to get property of non-object in : custom fields category
- Targeting categories in custom fields
- Echo text using is_tag
- Same menu for different taxonomies to reach different content
- How could I write a get_categories_by_year() function?
- Assign a custom post to a custom taxonomy based on custom field value
- Custom Fields Value As Taxonomy
- How to get posts using category slug in ClassiPress?
- How can i add service category here? [duplicate]
- How to set the same base url for two different taxonomies?
- Get WooCommerce product category list in functions.php
- ACF Custom field not showing in Timber Taxonomy page
- Why use hierarchical taxonomies instead of many custom taxonomies?
- Renaming default category taxonomy?
- Display List of Categories Within a Custom Taxonomy
- How to add a post with new Taxonomy without assigning to default category?
- Get Posts Under Custom Taxonomy
- Control term order on a per-post basis
- Can a Child Category Have More than One Parent?
- Custom Taxonomy Template Post List with Sort Order
- Create terms when registering taxonomy?
- Removed slug from CPT, now How/where do I hook the filter to the taxonomy term archive pages link?
- wp_list_categories, Add class to all list items with children
- Connecting WordPress gallery to custom categories (taxonomy)
- How to get the depth of a category’s subcategories
- New categories are now going to 404s
- How to put enctype=”multipart/form-data” in categories form?
- Best way to programmatically link to multiple categories (union/intersection) [closed]
- “Reversable” and “Re-useable” Subcategories (or other taxonomic structure)
- If statement within PHP echo
- How to create new category for custom post type?
- Hide custom field if empty
- display taxonomy slug from term ID
- Force a user’s posts category
- Search Posts / Pages with multiple options?
- Categories of custom taxonomy don’t show any posts
- How to change a post category when the ACF datepicker Field is today
- How to organize custom categories for filtering and selecting
- Custom sub taxonomy order by
- Why don’t posts show up in my categories on the frontend?
- How to display products name in a non-alphabetical order, in a custom field (taxonomy)?
- Get posts from specific taxonomy term
- How many categories can WordPress handle before performance suffers?
- Targeting Parent Category Pages
- echo get_post_meta of all post in a category to fill up a select field
- WP REST API not retrieving all categories
- Some categories missing on wp-admin/edit-tags.php?taxonomy=category
- custom page for custom Taxonomy
- How add body_class from wp_termmeta
- Filter By Category Dropdown List With Custom Taxonomies
- query_posts by category_name and custom taxonomy
- How to schedule categories?
- Showing HTML if Post is In Certain Taxonomy Term
- I need to exclude from a query a category and a few custom taxonomies
- Copy post taxonomy?
- How to load several hierarchical categories from functions.php
- Displaying a custom field in Category Archives
- Posts not listing out sub category in hierarchy
- Combining these queries? (Same taxonomy term + same category as post)
- Link posts together (relative, not grouped)
- Adding tinymce to Custom Field boxes on Category edit page
- Disable Category Taxonomy
- Sort categories by custom field in WordPress admin
- Custom field with terms from another taxonomy programmatically
- Filtering posts in category by tag URL
- Grab all the posts for particular category
- How can I add different custom fields for each category in the same post?
- How to show category list in WordPress
- Image Upload Custom Form Field for Category and Custom Taxonomy
- How to load terms of a custom taxonomy of a product in woocommerce cart page
- Dynamically creating content on custom URL without getting 404
- get_adjacent_post_link excluded_terms ignored
- ACF plugin categories bug in WordPress 3.9
- Category base 404 – fix
- Create Cross Promoting Categories in WordPress Using ‘pre_get_posts’
- How to Organize my Photo Albums?
- hide_empty property not working when using get_terms
- How to make /category/ URL load properly instead of 404 error?