Home › Forums › Calendar Products › Events Calendar PRO › What about featured video?
- This topic has 4 replies, 2 voices, and was last updated 11 years ago by
George.
-
AuthorPosts
-
April 12, 2015 at 5:46 am #954864
VLADIMIR
ParticipantWhat about featured video?
I read the whole forum but couldn’t find a way.
I tried the plugin
https://wordpress.org/plugins/featured-video-plus – does not workApril 12, 2015 at 7:07 am #954869George
ParticipantHey Vladimir,
Is your goal here to have featured videos in the same place, and serve the same purpose, as featured images?
If so, this is unfortunately not possible with code customization beyond the scope of the support forums here.
Some ideas about that, however, would be to store the video URL in a Custom Field for each event, and then modify the event templates to load this URL in the featured-image area instead of the image.
For learning about custom fields and how to access the data stored in them, check out the function get_post_meta() → http://codex.wordpress.org/Function_Reference/get_post_meta
Once you pull that data into a template, you can then add the necessary HTML and/or JavaScript for the video player you need there, and reference that URL as the video URL. You can learn about customizing templates in The Events Calendar and Events PRO here → https://theeventscalendar.com/knowledgebase/themers-guide/
I’m sorry about how little detail may be here, but this is a very specific customization, so there’s little we could recommend without knowing the specifics of your website, your design needs, how your videos will be played on your site, etc.
If you really need this feature and would be interested in hiring a developer to build it for you, we have a list of freelancers that we often recommend – you can email us at [email protected] and ask for the list of developers if you’re interested.
I hope this helps, Vladimir!
Cheers,
GeorgeApril 12, 2015 at 2:44 pm #954928VLADIMIR
Participantok
April 12, 2015 at 4:47 pm #954933VLADIMIR
ParticipantI found an elegant solution:
1) Plugin Featured Video Plus https://wordpress.org/plugins/featured-video-plus/
2) Events -> Settings -> Display -> Add HTML before event content -> shortcode [featured-video-plus]
3) Profit.April 13, 2015 at 8:35 am #955068George
ParticipantNice! That’s a great set of steps for sure 🙂
Best of luck with your site Vladimir!
Cheers,
George -
AuthorPosts
- The topic ‘What about featured video?’ is closed to new replies.
