oEmbed field mapping
Map WordPress ACF oEmbed fields to URLs in Optimizely CMP for embedding rich media content seamlessly.
Optimizely Content Marketing Platform (CMP) supports mapping the ACF oEmbed field to the structured content URL type field.
JSON example
{
"core": {
"key": "acf_oembed_field",
"name": "ACF oEmbed Field",
"is_list": false,
"is_required": false,
"need_internationalization": false,
"min_list_length": 1,
"max_list_length": -1,
"field_type": "url",
"source_id": null,
"source_metadata": "{\"is_custom_post_type_field\": true}", // It is important to identify source_metadata as custom field
"order_index": 0,
"help_text": null,
"editor_metadata": null
},
"base_type": "url",
"default_values": null
}Updated 1 day ago