This is not how you enable adding your taxonomy terms to menus. To do that you just set show_in_nav_menus
to true
when registering the taxonomy. You have it set to false
.
$args = array(
'labels' => $labels,
'hierarchical' => true,
'public' => true,
'show_ui' => true,
'show_admin_column' => true,
'show_in_nav_menus' => true, // This
'show_tagcloud' => false,
'rewrite' => $rewrite,
'show_in_rest' => true,
);
register_taxonomy(
'my_region_taxonomy',
array(
'post',
'page', // Not here
),
$args
);
Your taxonomy should not actually be a taxonomy for the nav_menu_item
post type.
Related Posts:
- Can I output a custom taxonomy as a submenu in the site navigation menu?
- Using WordPress to make a “Product Search” type navigation drilldown
- Taxonomy menu with post count and multiple parents
- Taxonomy slug by term ID
- Custom taxonomy position in admin panel
- Custom metabox for menu administration page?
- How to display submenus on page based on referring top-level parent?
- Remove pagination from WooCommerce product categories on admin edit navigation menus
- How to dynamically add custom taxonomy terms as a sub-menu of an existing menu item, using custom walker class
- Recreating the hierarchy of taxonomies for a dropdown form menu?
- Show nav link highlighted
- Add/Remove current_page_parent class
- Date range filter for manage posts list on edit.php
- Get custom category image from menu
- add taxonomy as one of menu items
- has_term if/echo else/echo function
- Controlling Taxonomy Category listings to hide and unhide specifics
- Hide product categories and taxonomy terms in menu if empty
- How to add Post Format Taxonomy Archive page in the menu?
- How to get all taxonomies which can be added in menu?
- Tell the difference between a term and page when they have the same ID
- Customizing Primary Menu to include custom taxonomy description
- How to Display a menu only if it has Posts in Custom Menu?
- When filtering query on custom taxonomy; main menu dissapears
- Corrupted nav-menu?
- Using Custom Taxonomies to organise products – struggling to call a correct list
- Add A CSS Class To A Menu Item When A Custom Taxonomy Term is Present On Single Post
- custom taxonomies menu
- How to add all existing Custom Taxonomy to Admin Menu Creations Interface?
- WordPress Main Menu with dynamic url
- Get the original menu item name string instead of the label
- What is the current page’s Taxonomy?
- Error when adding custom taxonomy to wp nav menu
- More than one Hierarchical Taxonomy and SEO
- Navigation won’t update to show full path to single post
- How to looping taxonomy terms?
- Order terms by term_order
- You are not allowed to manage these items – bug introduced in 4.4
- Get taxonomy name of current post
- How to hide custom taxonomy archives same way as hiding custom post types?
- Custom Taxonomy Breadcrumb Navigation
- Create Custom Post Type Archive Page with Sub Categories Navigation Sidebar
- how to change WordPress menu markup/classes
- Set posts_per_page in WP_Query for custom taxonomy
- Why are navigation items saved in the database?
- Redirect to Post List by Taxonomy on User Selection of Taxonomy Dropdown?
- How can I allow a custom taxonomy for certain roles?
- Removing the “Popular Terms” area from the Taxonomy Edit Screen in the Admin Area
- Sorting taxonomy columns by meta value numeric
- How to fix “Supplied nav_menu_item value missing property” after update to WordPress 5.0
- Custom taxonomy query not working with switch_to_blog
- How can I check if a taxonomy has more than one item?
- Metabox to list/store a certain type of post tag
- Get_terms stopped working after WP 4.2
- Using a page as home, how do I prevent nav from setting both home and page links active?
- Show only the grandchildren (using get_terms)
- remove custom taxonomy base / slug [duplicate]
- triple drop down for populating custom taxonomies
- Separator for custom nav menu
- Nav and logo loading each time causing menu to move JointsWP – Foundation 6
- Custom Taxonomy Term Archive Page Template that Filters 2 or more Taxonomies
- Display all posts that use a custom taxonomy
- Override Taxonomy Template
- Using _s theme, menu changes do not affect header menu
- Set tax_query conditionally with new WP_Query
- Separate tags with semicolon
- Show children (sub-navigation) of active menu item only
- How can I get a paginated list of custom taxonomy tags with posts?
- Best way to redirect taxonomy terms to pages
- Switch an entire nav menu if user is logged in
- How to modify mobile nav menu text in theme
- WordPress cannot find user taxonomies on frontend
- Hide echo of no categories from get_object_taxonomies
- Filter with two id of the same value CPT UI(taxanomies)
- get_terms does not return any results for my custom taxonomy?
- How Can I Remove Child Slug From Grandchild Slug When Using Duplicate Grandchild Slugs?
- How to filter and/or sort user taxonomy query inside custom user taxonomy archive page?
- Create multiple taxonomies with custom fields values on the fly when creating new posts
- Custom Taxonomies Archive Page 404
- How to replace custom post type with custom taxonmy in permalinks
- Cloning product not copying custom taxonomies
- deleted_$taxonomy not getting fired
- Displaying Pages in Nav Sub-Menu with Specific Taxonomy Terms?
- Custom column into custom taxonomy (img tag with slug-name as file name)
- ACF Custom field not showing in Timber Taxonomy page
- Displaying subcategories and then posts in taxonomy template
- WP Query : strange behaviour with multiple no-hierarchical tax
- How to set “manage categories” capabilities on a post type taxonomy but not on the general categories?
- Dynamic drop down of child terms and then drop down posts
- Include attachments with a custom taxonomy in search
- List terms and order by second word
- If term and page have the same slug, how can I view the term archive?
- add custom fields in custom taxonomy meta box in wordpress-3.5.2
- How to permanently delete a taxonomy
- Show All Children of WordPress Menu
- Display woocommerce product_cat child terms with thumbnails
- How to make an anchored page in a navigation menu tab
- How to add a custom page template selector to a custom taxonomy?
- add_rewrite_rule pagination 404 error on page 4 and above
- Taxonomies starting with a hyphen (minus) to assign B.C. dates to a post