views:

10

answers:

0

Hi. I'm trying to add a feature to have multiple featured images to a theme I'm creating similarily to this (from the theme Habitat by Kriesi on themeforest.net):

http://s3.envato.com/files/1163033/images/5_backend_post.png

You can see there on the right that there is a way to add as many featured images as you want. This requires that you have a custom field with the same name and multiple values. This is fine conventonially, however I want to use a custom metabox, and I'm struggling to figure out a way to get all the values from multiple text fields and add them to one custom field name.

How can this be achieved?