Add an embedded YouTube video as a media type? (2 posts)

  1. Andrew Jacob Johnson
    Posted 3 years ago #

    I have a blog set up such that all of the attached photos for a given post are displayed automatically in a gallery-type way.

    I also want to upload videos in the same way, but I'd like to store them on YouTube.

    So could I make a custom media type that includes the YouTube video's embed code so that it can have its own custom page styled just like a photo's page?

    Thanks in advance!

  2. esmi
    Forum Moderator
    Posted 3 years ago #

    You don't need to create a custom post type. You can just use WordPress' Post_Formats.

Topic Closed

This topic has been closed to new replies.

About this Topic