Tell us what you are trying to do?
Like many themes, my theme has a 'recent post' element that allows me to place a link w/image to the most recent post (made with Types) into a page. What I want to do is not to link to the CPT post itself, but instead to display the embedded video from the recent post.
So at the top of my page, I'd like to have a video player that always displays the video from whatever post is the most recent post. The video URL changes each week as a new post is added.
I'm sure there are other plugins that can do this but since I am already using Toolset I want to use it for this if possible.
My CPT is called 'sermons', and each sermon post has a vimeo video URL. I am trying to create a landing page where all the sermon series (taxonomy with images) are displayed, and above this I'd like the most recent sermon video. This way users can watch the current video for that week on that page, or they can choose a past series and click to view the posts within that series.
Can you point me in the right direction?
Dear Joe,
Since the 'recent post' element is created/setup by your theme, Toolset plugins can not modify it, so I suggest you create a view to replace the 'recent post' element.
For example, you can create a view to list "sermons" posts, order by the publish time,
https://toolset.com/home/views-create-elegant-displays-for-your-content/
and in the loop, display the custom embedded media field with Types shortcode:
https://toolset.com/documentation/customizing-sites-using-php/functions/#embedded-media
Or custom video field:
https://toolset.com/documentation/customizing-sites-using-php/functions/#video
Thanks, that makes sense. I'll give that a try.