Hello, here’s what I’m currently using with another plugin and ACF (advanced custom fields):
$videoId = get_sub_field(‘youtube_video_id’);
echo youtube_video_embed( $videoId );
But that plugin is slow. How can I use my videoID here with YouTube Lyte in a theme file as per the above?
- The topic ‘How can I use this plugin in a theme?’ is closed to new replies.