I have an array for a metabox like this:
$meta_boxes = array(
"featured" => array(
"name" => "featured",
"title" => $options['featuredtext'],
"description" => "",
"type" => "radio",
"class" => "radio",
"rows" => "",
"width" => "",
"options" => array("1" => "Yes", "2" => "No", )
),
"price" => array(
"name" => "price",
"title" => $options['pricetext'],
"description" => "",
"type" => "text",
"class" => "text",
"rows" => "",
"width" => "",
"options" => ""
), )
And several more values, can somebody guide me or help me with mapping a custom field in a regular form to one of this "price" or "featured" custom fields?
When I click on the dropdown of custom fields available the mentioned fields are not available there and I'm afraid that this is happening because they are inside the array.
I'll appreciate and help with this as it seems simple but I cannot find a way to populate the fields.