Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I've been googleing around but failed to find a solution for my need. I'm using wordpress 3.0 and TwentyEleven theme as default pack. In the Dashboard -> appearance->menus that allow user can create menu items from Pages,Categories,and custom link. Now I want to add a box like those boxes above but it would list my custom-post-type's taxonomy and metadata. How can I accomplish with this task ?

I know how to add metabox and taxonomy for custom post type but cannot do with this sort of thing.

share|improve this question

migrated from stackoverflow.com Apr 2 '12 at 7:12

This question came from our site for professional and enthusiast programmers.

add comment

2 Answers 2

From the WordPress Codex Site:

Custom Post Types and Taxonomies

If you have added custom post types and taxonomies, those types will also be available to add as menu items. If you don't see your custom post types or taxonomies, check the Screen Options to insure those modules are set to display.

You probably just have the display disabled. Try looking at the Screen Options for the menu page.

share|improve this answer
add comment

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!

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.