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 can't figure out how to change position of custom taxonomy menu item in the admin panel.

Right now I have custom post type-- custom_1-- and another custom post type-- custom_2.

For custom_2, I've set 'show_in_menu' => 'edit.php?post_type=custom_1' and it works fine. The problem is, I've added a custom taxonomy for custom_2 and it's not showing under the same parent menu item.

Is there any way to alter the position of custom taxonomy menu item?

share|improve this question
add comment

1 Answer

It will definately not show in custom_1 because you probably must have defined it for custom_2.However, you can define a custom submenu with link same as that of the taxonomy in which the parent link is that of custom_2.

Following is what i mean.

add_submenu_page( 'edit.php?post_type=custom_1', 'Page Title', 'Menu Title', 'add_users','edit-tags.php?taxonomy=custom_taxonomy', '' );
share|improve this answer
add comment

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.