Title: YouTubeNails
Author: alvaron
Published: <strong>6. februar 2011</strong>
Last modified: 5. januar 2012

---

Søk gjennom innstikk

Dette innstikket **er ikkje testa med dei tre siste utgåvene av WordPress**. Det
kan henda det ikkje blir vedlikehalde lenger, og kan ha problem med nyare versjonar
av WordPress.

![](https://s.w.org/plugins/geopattern-icon/youtubenails.svg)

# YouTubeNails

 Av [alvaron](https://profiles.wordpress.org/alvaron/)

[Last ned](https://downloads.wordpress.org/plugin/youtubenails.zip)

 * [Detaljar](https://nn.wordpress.org/plugins/youtubenails/#description)
 * [Omtalar](https://nn.wordpress.org/plugins/youtubenails/#reviews)
 *  [Installasjon](https://nn.wordpress.org/plugins/youtubenails/#installation)
 * [Utvikling](https://nn.wordpress.org/plugins/youtubenails/#developers)

 [Hjelp](https://wordpress.org/support/plugin/youtubenails/)

## Skildring

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 (http://www.cybwarrior.com/media-library-gallery/) by
Raphael Verchere(http://www.cybwarrior.com)

Video Thumbnails 1.0.7(http://sutherlandboswell.com/2010/11/wordpress-video-thumbnails/)
by Sutherland Boswell(http://sutherlandboswell.com)

and

Simple Video Embedder(http://www.press75.com/the-simple-video-embedder-wordpress-
plugin/) by James Lao(http://jameslao.com/)

Special thanks to Felipe Caroé http://www.felipecaroe.com/ 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 https://wordpress.org/extend/plugins/about/validator/

## Skjermbilete

[⌊Configuring the widget.⌉⌊Configuring the widget.⌉[

Configuring the widget.

[⌊See it working on http://www.felipecaroe.com/galeriavideos/⌉⌊See it working on
http://www.felipecaroe.com/galeriavideos/⌉[

See it working on http://www.felipecaroe.com/galeriavideos/

## Installasjon

See it working on: http://www.felipecaroe.com/galeriavideos/

 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») ) register\_sidebar(array( «name» =
> «wp\_youtubenails», «before\_widget» => », «after\_widget» => », «before\_title»
=> », «after\_title» => », ));_/

Or

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 http://
code.google.com/intl/en-UK/apis/youtube/2.0/developers_guide_protocol.html; $cpad–
the result table cellpadding; $cpin – the result table cellspacing;

## Vanlege spm.

It`s very easy to use as you see, let me know about doubts and issues alvaron8@gmail.
com;

## Omtalar

There are no reviews for this plugin.

## Bidragsytarar og utviklarar

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

Contributors

 *   [ alvaron ](https://profiles.wordpress.org/alvaron/)

[Omset “YouTubeNails” til ditt eige språk.](https://translate.wordpress.org/projects/wp-plugins/youtubenails)

### Interested in development?

[Les kjeldekoden](https://plugins.trac.wordpress.org/browser/youtubenails/), sjekk
[SVN-lageret](https://plugins.svn.wordpress.org/youtubenails/) eller abonner på 
[utviklingsloggen](https://plugins.trac.wordpress.org/log/youtubenails/) med [RSS](https://plugins.trac.wordpress.org/log/youtubenails/?limit=100&mode=stop_on_copy&format=rss).

## Endringslogg

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

2.0.0

Now YouTubeNails is a configurable widget.

## Om

 *  Version **3.0.0**
 *  Last updated **14 år sidan**
 *  Active installations **10+**
 *  WordPress version ** 3.0.3 eller nyare **
 *  Tested up to **3.2.1**
 *  Language
 * [English (US)](https://wordpress.org/plugins/youtubenails/)
 * Tags
 * [thumbnails](https://nn.wordpress.org/plugins/tags/thumbnails/)[video](https://nn.wordpress.org/plugins/tags/video/)
   [youtube](https://nn.wordpress.org/plugins/tags/youtube/)
 *  [Avansert vising](https://nn.wordpress.org/plugins/youtubenails/advanced/)

## Vurderingar

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/youtubenails/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/youtubenails/reviews/)

## Contributors

 *   [ alvaron ](https://profiles.wordpress.org/alvaron/)

## Hjelp

Har du noko å seia? Treng du hjelp?

 [Sjå hjelpeforumet](https://wordpress.org/support/plugin/youtubenails/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://www.wpworks.wordpress.com/)