Example Video
Shortcode
[cgu_video id="yaXc2yERzik" cta="CTA Text" caption="Caption Text"]
Parameters
id
(required) The id of the youtube video. This can be grabbed from the youtube page for this video. Click on “share” and copy the id from the url provided. For instance, in the url “https://youtu.be/vvMjAqUdWMI”, the ID is “vvMjAqUdWMI”.
cta
(optional) Provide text to appear next to the play icon. Keep it short.
title
(optional) The title of the video is automatically pulled from YouTube and displayed beneath the video. To hide the title, set title=”false”.
caption
(optional) Provide a caption to appear below a video’s title.
Example Video Group
Shortcode
[cgu_video_group ids="1q8NCe2SxG0,ZrgeEkM2cKc,orxZMYEpGfc,qL8zYwxf4eo" title="Video Group Title"]
Parameters
ids
(required) A comma-separated list of YouTube video IDs. By default, the first video in the list is the “featured” one and will be full width while the subsequent videos will be smaller.
title
(optional) An optional title for the group.
Example Playlist
Shortcode
[cgu_video_playlist user="CGUNews" playlist="PLhqg559k1eTuDjANjREsflVQbyT6e7tIM" title="Playlist Title"]
Parameters
user
(required) The YouTube username that the playlist belongs to.
playlist
(required) The playlist ID. You can find this in the URL of the playlist’s YouTube page. It is the series of letters and number after the “list” parameter. For example, in the URL “https://www.youtube.com/playlist?list=PL92471900CE49C9DA” the playlist ID is “PL92471900CE49C9DA”.
title
(optional) Provide a title for this playlist.