php – Trying to create a Video News Page, that contains only the video and the title of the post that it was first uploaded to
I’m trying to create a new Page that contains only Videos, which are first uploaded inside a post that also contains some text and a title, which title I want to use to represent that particular Video.
At first, I came up with an idea that was adding the tag “Video” to all the posts that contain a video in it, then calling that post with the post ID, and removing all of the content, but I don’t know how to do it with code.
Here is an example that I found, and it looked good to me.
Content Post
Here is a post that has a specific title and contains a video
Video Post
Here you can see that same Video with the same title but on a different page.
Would appreciate your help!
Leave an answer