Title: Post types meta boxes
Last modified: August 31, 2016

---

# Post types meta boxes

 *  Resolved [Paul](https://wordpress.org/support/users/eartboard/)
 * (@eartboard)
 * [10 years ago](https://wordpress.org/support/topic/post-types-meta-boxes/)
 * Hello,
 * I tried to remove some meta boxes on a custom post type but the options in screen
   options didn’t hiding. Also the “Post Slug” option hides the permalink too not
   only the meta box “Slug”.
 * I saw that it hides meta boxes with CSS. Wouldn’t be better to hide them using“
   remove_meta_box” ([https://codex.wordpress.org/Function_Reference/remove_meta_box](https://codex.wordpress.org/Function_Reference/remove_meta_box))?
 * [https://wordpress.org/plugins/adminimize/](https://wordpress.org/plugins/adminimize/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Contributor [Frank Bueltge](https://wordpress.org/support/users/bueltge/)
 * (@bueltge)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/post-types-meta-boxes/#post-7381706)
 * I remove the boxes with this core function, but only for boxes, if I can get 
   his registered ID from the install. For the custom meta data is it much easier
   to define a custom css selector, not only the ID of the box.
 *  Thread Starter [Paul](https://wordpress.org/support/users/eartboard/)
 * (@eartboard)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/post-types-meta-boxes/#post-7381721)
 * Thank you for your answer but I am not sure if I understand.
 * I removed the core metabox “Slug” with the following code and works as expected.
   It completely removes “Slug” metabox and “Slug” option in Screen Options.
 * `remove_meta_box( 'slugdiv', 'book', 'normal' );`
 * If I use Adminimize and check the “Post slug” it doesn’t work the same way.
 *  Plugin Contributor [Frank Bueltge](https://wordpress.org/support/users/bueltge/)
 * (@bueltge)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/post-types-meta-boxes/#post-7381741)
 * Yes, it works also with Adminimize. But Adminimize give the user the chance to
   add own options, custom meta boxes and or areas of the meta boxes. That is the
   point, that the plugin also allow it to remove via css, only not visible, not
   unregistered.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Post types meta boxes’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/adminimize_000000.svg)
 * [Adminimize](https://wordpress.org/plugins/adminimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/adminimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/adminimize/)
 * [Active Topics](https://wordpress.org/support/plugin/adminimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/adminimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/adminimize/reviews/)

## Tags

 * [remove_meta_box](https://wordpress.org/support/topic-tag/remove_meta_box/)

 * 3 replies
 * 2 participants
 * Last reply from: [Frank Bueltge](https://wordpress.org/support/users/bueltge/)
 * Last activity: [9 years, 12 months ago](https://wordpress.org/support/topic/post-types-meta-boxes/#post-7381741)
 * Status: resolved