Removing META Boxes from Post Page
-
Hi,
I want to remove some of the META boxes in the post page so my authors/contributors including myself don’t have access to them. I’ve removed the ones that come originally with WordPress, but for some reason, the META boxes inserted by plugins won’t go away:function remove_post_custom_fields() { remove_meta_box( 'commentstatusdiv' , 'post' , 'normal' ); //removes comments status remove_meta_box( 'commentsdiv' , 'post' , 'normal' ); //removes comments remove_meta_box( 'authordiv' , 'post' , 'normal' ); //removes author remove_meta_box( 'st-clicks-tags', 'post', 'normal'); remove_meta_box( 'socialize-buttons-meta', 'post', 'normal'); remove_meta_box( 'sharebar-settings', 'post', 'normal'); remove_meta_box( 'simpletags-settings', 'post', 'normal'); remove_meta_box( 'postexcerpt', 'post', 'normal'); remove_meta_box( 'slugdiv', 'post', 'normal'); remove_meta_box( 'authordiv', 'post', 'normal'); } add_action( 'admin_menu' , 'remove_post_custom_fields' );
That’s what I’ve added in there, I know all the ‘id’s’ are right, but for some reason, the st-clicks-tags down to simpletags-settings won’t disappear from the post page. Any ideas?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Removing META Boxes from Post Page’ is closed to new replies.