Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
To display YouTube video with player when the video URL has been entered in a custom field attached to a CPT in WordPress. Details: http://sridharkatakam.com/how-to-render-youtube-video-url-with-player-when-using-views
[pb_vidembed title="" caption="" url='[types field="youtube-link" class="youtube-video" raw="true"][/types]' type="yt" w="270" h="217"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.