This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.



Create a dynamic gallery multiple widget(works as shortcode too), with thumbnails of each post with youtube/vimeo(beta) videos displayed on the content linked to the post single. Checks all you video posts, but you can filter them by category and choose the number of posts.

Based on

Media Library Gallery 1.0.2 ( by Raphael Verchere(

Video Thumbnails 1.0.7( by Sutherland Boswell(


Simple Video Embedder( by James Lao(

Special thanks to Felipe Caroé for suggesting the name!

Arbitrary section

This Plugin supports YouTube and Vimeo(beta)
If you decide to use iframe and embed object, please use the html code insert on the post
The plugin works better when urls are pasted on the post editor

This readme file were validated at


  • Configuring the widget.
  • See it working on


See it working on:

  1. Upload youtubenails folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Register a widget sidebar on your functions file, for example, just paste the code below on your theme functions.php

/if ( function_exists(‘register_sidebar’) )
‘name’ => ‘wp_youtubenails’,
‘before_widget’ => ”,
‘after_widget’ => ”,
‘before_title’ => ”,
‘after_title’ => ”,


You if you have already registered any sidebar, you can drag the YouTubeNails widget inside it, at wp-admin

  1. Configure the widget on your wp-admin pannel and save(see screenshot 1)
  2. Use the PHP code bellow where you want the widget to show, on your theme pages
    /* If ( !function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(‘wp_youtubenails’)) : endif; */
  3. Always add the youtube video urls on your posts using the “add video” icon. To add object and iframe tags, use the html edition mode.
  4. The table id for the result table wp_ytbnstb;

To work as short code, call
[ytbn nop=”2″ ln=”1″ catg=”” tbsz=”1″ cpad=”3″ cpin=”3″]

or call it on php as function youtubenails_show(8,1,”,2,3,3);

where the parameters are

$nop – the number of posts you want to show;
$ln – number of columns on each row;
$catg – a specific category;
$tbsz – the thumbnail type based on YouTube API;
$cpad – the result table cellpadding;
$cpin – the result table cellspacing;


It`s very easy to use as you see, let me know about doubts and issues;


There are no reviews for this plugin.

Contributors & Developers

“YouTubeNails” is open source software. The following people have contributed to this plugin.


Translate “YouTubeNails” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.


Supports multiple widgets and shortcodes;
Vimeo supported(beta feature);


Now YouTubeNails is a configurable widget.