0

I have a custom post type "Events" which contains events details. in this single event may happen in different places. So I want to disply custom fields "Location" and "Images" for the custom post. And I want to repeat this field group for adding multiple 'locations' and image uploader(Bulk image uploader) for each location..How can i do this? Thanks in advance...

0

it need custom code to create repeatable fields but if you want ready-made solution than you may try this : https://github.com/WebDevStudios/CMB2

just include it in your theme/plugin and than check it's example-functions.php file , it have example of repeatable fields :)

here is direct documentation link : http://cmb2.io/docs/field-types#-types-group

it also support many other fields .

Cheers !

  • Thanks for your responce.. i'll try with that and let you know.. :) – pushpa Nov 28 '16 at 5:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.