and like us on FB

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="http://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

The video ID is either the full video URL or simply the numeric video ID (preferred).

width

The width of the video container.

height

The height of the video container is automatically determined so may be left blank. If formatting requires its inclusion, simply include it in your shortcode.

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: Shortcode (V0.2) | | Plugin Page

Shortt URL for this post: http://shor.tt/2jHF