hi
i am working on movies wordpress theme ,this theme need multiple embeds code
i am trying to add multiple textarea with same name to add all embedded code's into an array
$additional = $titan->createMetaBox( array(
'name' => 'Additional Post Options',
'post_type' => 'movie',
));
$additional->createOption([
'name' => 'Textarea 1',
'id' => 'embed[]',
'type' => 'textarea',
'desc' => 'embed code'
]);
$additional->createOption([
'name' => 'Textarea 2',
'id' => 'embed[]',
'type' => 'textarea',
'desc' => 'embed code'
]);```
should be save as array
i got error "Titan Framework Error: All option IDs per namespace must be unique. The id embed[] has been used multiple times."
any idea to make it work with titan framework?
hi i am working on movies wordpress theme ,this theme need multiple embeds code i am trying to add multiple textarea with same name to add all embedded code's into an array
html example
in titan framework