oEmbed from custom field?
-
Hi,
Love the plugin. I am currently working on a site that uses the Vimeo/YouTube video URL in a custom field.
How would I go about using a custom field with with this plugin.
I am using this code to display the custom field in the template:
<div class="video"> <?php if (!((get_post_meta($post->ID, 'video_url', TRUE))=='')) { echo wp_oembed_get( get_post_meta($post->ID, "video_url", true) ); }?> </div>
https://www.ads-software.com/extend/plugins/fluid-video-embeds/
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘oEmbed from custom field?’ is closed to new replies.