Title: Multiple fields in custom post types
Last modified: June 28, 2023

---

# Multiple fields in custom post types

 *  Resolved [bharti18](https://wordpress.org/support/users/bharti18/)
 * (@bharti18)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/multiple-fields-in-custom-post-types/)
 * Hello,
 * Can I able to add Multiple custom fields under one custom post type? If yes, 
   Can I able to add code (Widget) on the custom fields?and Will it work like a 
   toggle effect?
 * Thank you.

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [2 years, 11 months ago](https://wordpress.org/support/topic/multiple-fields-in-custom-post-types/#post-16854839)
 * I’ve never really heard of a limit of custom fields that can be added to a given
   post screen, but obviously one wouldn’t want to go TOO crazy or else the UI gets
   unwieldy.
 * I’d recommend something like Advanced Custom Fields or CMB2 for helper plugins
   that create UI for meta data like this, and both are able to create fields that
   can store custom code that gets stored in the meta data fields.

Viewing 1 replies (of 1 total)

The topic ‘Multiple fields in custom post types’ is closed to new replies.

 * ![](https://ps.w.org/custom-post-type-ui/assets/icon-256x256.png?rev=2744389)
 * [Custom Post Type UI](https://wordpress.org/plugins/custom-post-type-ui/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-post-type-ui/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-post-type-ui/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-post-type-ui/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-post-type-ui/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-post-type-ui/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * Last activity: [2 years, 11 months ago](https://wordpress.org/support/topic/multiple-fields-in-custom-post-types/#post-16854839)
 * Status: resolved