wordpress snippets last updated   : October 6, 2014
we now have 641 snippets

Insert wmode parameter into oEmbeds

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will add the wmode parameter to oembeds. What is oEmbed? For example oEmbed will turn a youtube URL into an embedded video without the need to add any html. Supported websites: YouTube, Vimeo, DailyMotion, blip.tv, Flickr, Viddler, Hulu, Qik, Revision3, Scribd, Photobucket, PollDaddy, Google Video, WordPress.tv, SmugMug, FunnyOrDie.com

read more

Creating oEmbed-Based shortcodes

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will create a youtube shortcode. This is a simple sample of an oEmbed-Based shortcode.

read more

Enable oEmbed in Text/HTML Widgets

wordpress snippet

Adding this PHP snippet to the functions.php of your wordpress theme will enable oembed for widgets.

read more
jqsnipp.com | we just launched jquery snippets website