Funny or Die (FOD) is an Emmy-winning comedy video website founded by Will Ferrell and Adam McKay's production company, Gary Sanchez Productions , with original and user-generated content. This article will show you how to include responsive FOD videos in your WordPress post or page with shortcode.
The Result
If I were to include this video I would use the shortcode of [funnyordie v="https://www.funnyordie.com/videos/74/the-landlord-from-will-ferrell-and-adam-ghost-panther-mckay"]
or simply [funnyordie v="74"]
(just the video ID). The responsive result is as follows.
WordPress Shortcode
Copy and paste the WordPress function into your theme's functions.php
file or, if you sensibly have one installed, your custom functions plugin.
If you require shortcode to work in a sidebar widget, you'll have to enable the functionality with a filter. If you're using our custom functions plugin, you'll have that feature enabled by default.
Shortcode Attributes
v
width
height
Considerations
- Most of the FOD videos are also on YouTube. However, you'll lose the integrated features of the default FOD player.
Download
Title: Embed FunnyOrDie Videos in WordPress
Description: Embed FunnyOrDie Videos in a WordPress Post or Page With Shortcode.
Download • Version 0.2, 1.0K, zip, Category: WordPress Shortcodes