wordpress snippets last updated   : August 18, 2014
we now have 638 snippets

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

Add youtube thumbnail posts with custom metabox

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will add a new metabox to your posts that will let you add a youtube video ID eg: oHg5SJYRHA0 to display a thumbnail.

read more

Display youtube video with embed shortcode

wordpress snippet

Adding this snippet to your wordpress theme will let you embed youtube video with a simple shortcode to your posts. Just add the youtube url to the video and your ready to go although you can specify a few paramaters like width, height, name, etc.

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