Add Dynamic Multiple Boxes WordPress

I’ve created a custom post type in wordpress called Product, and created a custom box called “What’s Included”. How would I create an “Add New Included Item”, to create dynamic boxes?

It would look similar to how you can add multiple custom fields, but instead of one field, it’s a “What’s Included” object.

Read More

Any ideas?


'What’s Included' => array(
array( '_wi_title', 'Title'),
array( '_wi_thumbnail', 'Thumbnail'),
array( '_wi_title', 'Description', 'textarea')
),

Related posts

Leave a Reply

1 comment

  1. Have you considered using a custom taxonomy? Sounds like it would fit your needs perfectly, although it is indeed possible to create a dynamic form in a custom meta box. A non-hierarchal taxonomy would allow you to repeat items you include often, as well.