Title: Hide custom fields
Last modified: August 21, 2016

---

# Hide custom fields

 *  Resolved [WWDP](https://wordpress.org/support/users/wwdp/)
 * (@wwdp)
 * [12 years ago](https://wordpress.org/support/topic/hide-custom-fields-1/)
 * Hi,
 * I’m trying to hide a custom field i made with WCK, but with no luck.
    I tried
   to prefix the fieldname with an underscore (_) and to add a filter for ‘is_protected_meta’,
   but both methods failed.
 * Is it possible to hide custom fields made with WCK and if so, what’s the right
   way to do it?
 * [https://wordpress.org/plugins/wck-custom-fields-and-custom-post-types-creator/](https://wordpress.org/plugins/wck-custom-fields-and-custom-post-types-creator/)

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

 *  Plugin Author [Cristian Antohe](https://wordpress.org/support/users/sareiodata/)
 * (@sareiodata)
 * [12 years ago](https://wordpress.org/support/topic/hide-custom-fields-1/#post-4981327)
 * You can’t hide a custom field unfortunately. Not from the UI.
 * Also, in the database, we’re not storing individual fields, we’re storing the
   ENTIRE metabox in a serialized array. So putting _ in front of it won’t do anything.
 * You could just hide it with CSS.
 * Target it like so:
 *     ```
       .row-birth-day {display:none;}
       ```
   
 * where birth-day is the Field slug.
 * To add css to the admin see this: [http://css-tricks.com/snippets/wordpress/apply-custom-css-to-admin-area/](http://css-tricks.com/snippets/wordpress/apply-custom-css-to-admin-area/)
 *  Thread Starter [WWDP](https://wordpress.org/support/users/wwdp/)
 * (@wwdp)
 * [12 years ago](https://wordpress.org/support/topic/hide-custom-fields-1/#post-4981334)
 * Hi,
 * That will do the trick. Problem solved!
 * Thanks.

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

The topic ‘Hide custom fields’ is closed to new replies.

 * ![](https://ps.w.org/wck-custom-fields-and-custom-post-types-creator/assets/icon-
   256x256.png?rev=2257602)
 * [Custom Post Types and Custom Fields creator - WCK](https://wordpress.org/plugins/wck-custom-fields-and-custom-post-types-creator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wck-custom-fields-and-custom-post-types-creator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wck-custom-fields-and-custom-post-types-creator/)
 * [Active Topics](https://wordpress.org/support/plugin/wck-custom-fields-and-custom-post-types-creator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wck-custom-fields-and-custom-post-types-creator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wck-custom-fields-and-custom-post-types-creator/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [WWDP](https://wordpress.org/support/users/wwdp/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/hide-custom-fields-1/#post-4981334)
 * Status: resolved