diff --git a/acf-json/group_5dbe918ed857e.json b/acf-json/group_5dbe918ed857e.json new file mode 100644 index 0000000..514d4b8 --- /dev/null +++ b/acf-json/group_5dbe918ed857e.json @@ -0,0 +1,245 @@ +{ + "key": "group_5dbe918ed857e", + "title": "Video Metadata", + "fields": [ + { + "key": "field_5de0205e50c4f", + "label": "Video Title", + "name": "video_title", + "type": "text", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "", + "placeholder": "", + "prepend": "", + "append": "", + "maxlength": "" + }, + { + "key": "field_5dbe91a574803", + "label": "Video Thumbnail", + "name": "video_thumbnail", + "type": "text", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "", + "placeholder": "", + "prepend": "", + "append": "", + "maxlength": "" + }, + { + "key": "field_5dbe979474804", + "label": "Featured Languages", + "name": "featured_languages", + "type": "post_object", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "post_type": [ + "languages" + ], + "taxonomy": "", + "allow_null": 0, + "multiple": 1, + "return_format": "object", + "ui": 1 + }, + { + "key": "field_5dbe9891c33d2", + "label": "Video Description", + "name": "video_description", + "type": "textarea", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "", + "placeholder": "", + "maxlength": "", + "rows": "", + "new_lines": "" + }, + { + "key": "field_5de81d1501ef1", + "label": "Youtube Publish Date", + "name": "youtube_publish_date", + "type": "number", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "", + "placeholder": "", + "prepend": "", + "append": "", + "min": "", + "max": "", + "step": "" + }, + { + "key": "field_602b00373e14d", + "label": "Dropbox Link", + "name": "dropbox_link", + "type": "url", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "", + "placeholder": "" + }, + { + "key": "field_5dbe97f0fe51b", + "label": "YouTube Link", + "name": "youtube_link", + "type": "url", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "", + "placeholder": "" + }, + { + "key": "field_5dbe97f8fe51c", + "label": "Wikimedia Commons Link", + "name": "wikimedia_commons_link", + "type": "url", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "", + "placeholder": "" + }, + { + "key": "field_5dbe980afe51d", + "label": "Video License", + "name": "video_license", + "type": "text", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "", + "placeholder": "", + "prepend": "", + "append": "", + "maxlength": "" + }, + { + "key": "field_5dbe9810fe51e", + "label": "License Link", + "name": "license_link", + "type": "url", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "", + "placeholder": "" + }, + { + "key": "field_5dbe9824fe51f", + "label": "Attribution", + "name": "attribution", + "type": "textarea", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "", + "placeholder": "", + "maxlength": "", + "rows": "", + "new_lines": "" + }, + { + "key": "field_5de5db7fdb1b4", + "label": "Public Status", + "name": "public_status", + "type": "text", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "", + "placeholder": "", + "prepend": "", + "append": "", + "maxlength": "" + } + ], + "location": [ + [ + { + "param": "post_type", + "operator": "==", + "value": "videos" + } + ] + ], + "menu_order": 0, + "position": "normal", + "style": "default", + "label_placement": "top", + "instruction_placement": "label", + "hide_on_screen": "", + "active": true, + "description": "", + "modified": 1613430864 +} \ No newline at end of file diff --git a/components/video-preview.php b/components/video-preview.php index 052f1fe..e985514 100644 --- a/components/video-preview.php +++ b/components/video-preview.php @@ -4,6 +4,7 @@ $video_thumbnail $featured_languages $video_description + $dropbox_link $youtube_link $wikimedia_commons_link $video_license @@ -37,24 +38,22 @@ - +
Featured Languages - +
-

- +

[] - +

-

Sorry, languages aren't loading right now. @@ -63,15 +62,22 @@ - +

Distribution - +

This video is not publicly available.

+ +

+ + Dropbox + +

+

@@ -101,9 +107,9 @@ class="wt_video-preview__link wt_video-preview__link--inline" - +

Licensing - +