Just as a follow up for anybody looking to add their own meta boxes to the menu screen, you can do it by using ‘nav-menus’ for the post type:
add_action( 'admin_init', 'my_add_meta_box' );
function my_add_meta_box() {
add_meta_box( 'custom-meta-box', __('My meta box'), 'my_nav_menu_item_link_meta_box', 'nav-menus', 'side', 'default' );
}
function my_nav_menu_item_link_meta_box() {
?>
<div class="custom-meta-box" id="custom-meta-box">
Your meta box content goes here
</div>
<?php
}
I hope that helps somebody!
Related Posts:
- How to display submenus on page based on referring top-level parent?
- Is ACF being a honey trap? [closed]
- How to modify the query in taxonomy-custom.php to sort term archives by a custom meta field?
- Get value in custom field with taxonomy [closed]
- Taxonomy menu with post count and multiple parents
- Taxonomy slug by term ID
- Remove Category description textarea
- Custom Fields and performance
- Custom taxonomy – custom sortable column
- Automatically assign taxonomy term if custom meta value exists
- 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
- How to add custom field to custom taxonomy in 4.4
- how to search in custom fields & custom taxonomy for custom search
- Getting yoast title for custom taxonomy
- Outputting an array of term meta values in a custom WooCommerce tab?
- Storing data into custom taxonomies VS post custom fields (post meta)
- List the number of posts for each custom taxonomy and specific custom field value
- Solve product properties with custom taxonomies?
- Is it acceptable to build functionality into a theme built for a client? [closed]
- Recreating the hierarchy of taxonomies for a dropdown form menu?
- Date range filter for manage posts list on edit.php
- Custom fields to taxonomy
- Custom fields ‘for’ custom taxonomy?? Can someone explain why?
- Print terms with taxonomy and metabox value
- Get custom category image from menu
- Styling Taxonomy Terms Individually
- Can I use a Custom Meta Value inside of ‘get_the_terms’?
- How can I hide admin columns showing extra custom taxonomy fields?
- has_term if/echo else/echo function
- How do I modify the “Insert Media” lightbox in the admin to only show media items from a category?
- Controlling Taxonomy Category listings to hide and unhide specifics
- I am trying to display information from a custom table from my wordpress users pages
- Hide product categories and taxonomy terms in menu if empty
- Save custom taxonomy data in different table not in wp_options for my own plugin
- How to add Post Format Taxonomy Archive page in the menu?
- How to get all taxonomies which can be added in menu?
- How to create a dependent drop-down and options in dropdown must be manageable from admin panel
- How to separate posts in loop?
- Search Tool only refreshes Page without showing results
- Display value of custom field of custom taxonomy in single post?
- Removing “s” from search with custom parameters
- How to fetch the data from Advanced Custom post when we search specific keyword or field name related to the post?
- Customizing Primary Menu to include custom taxonomy description
- How do I display a custom field from a custom taxonomy in single.php?
- Multi-select field for Taxonomy can’t save the value
- How to Display a menu only if it has Posts in Custom Menu?
- WordPress implode & wp_insert_post question
- how to store values in database at hierarchical view
- WP REST API – get custom taxonomies based on terms & filter
- When filtering query on custom taxonomy; main menu dissapears
- Copy/clone/associate Custom field to Custom Taxonomy
- saving meta/custom field to tag
- How to support fifteen thousand terms in WordPress?
- Different Taxonomy Values for Each Post
- Adding a custom taxonomy to “nav_menu_item”
- Corrupted nav-menu?
- Filter through custom taxonomy with an array of taxonomy IDs
- What’s the best way to add taxonomy’s image in 2017?
- Loop through custom taxanomy in post and display custom fields from posts
- SQL / wp_update_post: change post custom field to CPT post taxonomy
- Filter by Custom Taxonomy AND Custom Field
- Can You Build Page Templates Without Extra Files
- Extra Meta Data for WordPress Multisite Taxonomy
- Is there a way to nest taxonomies or custom fields deeper than one level below the post type?
- How to use custom slug and custom templates for custom taxonomy?
- Create multiple taxonomies with custom fields values on the fly when creating new posts
- Custom field with terms from another taxonomy programmatically
- Add A CSS Class To A Menu Item When A Custom Taxonomy Term is Present On Single Post
- Count tags for current post and save into custom meta field (and update it on post edit)
- Create new Taxonomy, add extra fields, register terms AND extra fields values?
- custom taxonomies menu
- Dropdown (with onChange) with custom taxonomies
- ACF – Get unique values of array
- Remove Custom metabox from particular page template is used
- ACF Custom field not showing in Timber Taxonomy page
- Pre_get_post custom taxonomy combined with custom fields?
- Adding a checkbox field to a (custom) taxonomy
- Add and Custom category for posts “PAGE”
- How to add all existing Custom Taxonomy to Admin Menu Creations Interface?
- Is it possible to sort the post based on a custom field?
- WordPress Main Menu with dynamic url
- Reset custom taxonomy meta data after saving
- how to filter the data’s comparison operators (>= &
- How to filter a taxonomy meta field to the ‘single_term_title’ filter hook
- Get the original menu item name string instead of the label
- Avoiding stripping of HTML in Custom Taxonomy Meta Field
- add custom fields in custom taxonomy meta box in wordpress-3.5.2
- Use custom field as tag slug
- How can I show custom field according to taxonomy?
- Transfer taxonomy to custom field
- Custom Fields link to other pages, not search
- What is the current page’s Taxonomy?
- Taxonomy Extra Meta [duplicate]
- Advanced WordPress search form based on custom taxonomy and custom meta value
- More than one Hierarchical Taxonomy and SEO
- How much worse is querying custom fields compared to custom taxonomies, quantitatively
- How do I create a term for every value of a post meta?
- How to looping taxonomy terms?
- How to show to show post list under the specific category name using jetengine query?