Tuesday, 27 August 2013

Dynamic Post Meta Boxes Within custom post type

Dynamic Post Meta Boxes Within custom post type

I want to create a custom meta box within a custom post type that supports
multiple inputs;
e.g. People Involved In Race:
Person One Field :
Person Two Field :
Person Three Field :
ect.
The problem is, it is not known how many 'Persons' will be added on each
post. On one post there could be two, on another there could be 10. Is
there a way that in the admin panel, the user can click maybe a 'Add
Person' field within the custom meta box? with the option to remove it
also.
I don't want to use a plugin for this...

No comments:

Post a Comment