Embedding YouTube videos in a custom post type


show more Embedding YouTube videos in a custom post type provides you with in-depth training on Design. Taught by Morten Rand-Hendriksen as part of the Create an Online Portfolio with WordPress show less
please wait ...

Embedding YouTube videos in a custom post type

One of the huge benefits of hosting your videos on a site like YouTube or Vimeo is that they make it easy to place the videos on your own site. We have created a custom post type for our videos and now it's time to put some videos up on the site in these custom post types. The newer versions of WordPress come with video embedding support built-in, making it easier than ever to place videos from YouTube and other video sharing sites right on your pages. All you have to do is grab the URL and WordPress will do the rest of the work for you. As you can see here, we have the video we upload previously.

So I am just going to grab the clean URL for this video, copy it, and now I can go into my Dashboard under Videos, click Add new video, call it Pizza Primavera, and then go under HTML and simply paste in the URL to the video. Now of course, I have to add a Meal type. So I will add Dinner. Ingredients, I will just say pizza crust, tomatoes, and cheese.

And then I have to pick a Video type, ...

Embedding YouTube videos in a custom post type
Video duration: 4m 23s 3h 13m Advanced

Viewers:

Embedding YouTube videos in a custom post type provides you with in-depth training on Design. Taught by Morten Rand-Hendriksen as part of the Create an Online Portfolio with WordPress

Subjects:
Design Web
Software:
WordPress
Author:
please wait ...