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 am developing an events manager for Wordpress.

I have post_type = 'event' and taxonomy 'event_place'

And I want delete block with taxonomy select in post page, because user can do it at custom metabox.

enter image description here

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

Use remove_meta_box

remove_meta_box( 'categorydiv', 'post-type-name', 'side' ); 

And hook it to 'admin_menu' as in the Codex.

function my_remove_cat_box() {
     remove_meta_box( 'categorydiv', 'post-type-name', 'side' ); 
}
add_action( 'admin_menu', 'my_remove_meta_boxes' );

I am guessing a little at the first parameter--'categorydiv'--, but that is what it looks like based on your screen shot.

share|improve this answer
    
Thanks, a lot! remove_meta_box('{taxonomy_name}div', ....) is work good! –  Ozerich Nov 23 '12 at 20:41
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.