Banner for Youtubenails
Create a dynamic gallery multiple widget(works as shortcode too), with thumbnails of each post with youtube/vimeo(beta) videos displayed on the conten … Wordpress Tutorial
Noted That:
  • To install correctly this youtubenails.zip .
  • Fisrt Download the youtubenails.zip to your computer
  • Extract/Open youtubenails.zip to Your Computer.
  • Then, Find readme.txt file inside youtubenails.zip and Open readme.txt .
  • Now, Read the Requirements of this plugin. Which Wordpress Version and PHP Version are required to run this Plugin in Your Wordpress Site.
  • Then, Follow the Tips Below.
Start the Tips:

Step-1 : Download " youtubenails.zip " to Your Local Computer.

Step-2 : Then, Login to your " yourdomain.com/wp-admin " Dashboard.

Login to Wordpress Youtubenails

Step-3 : Then, Click on " Plugins " + " Add New " from left Side Menu of Dashboard.

Go to Plugin Install Youtubenails

Step-4 : Now, Click on " Upload Plugin " button.

Click Upload Button Youtubenails

Step-5 : Now, Browse " youtubenails.zip " Downloaded plugin from your computer, Where you downloaded " youtubenails.zip " According to Step – 1 Above then, click on " Install Now "

Upload Plugin Youtubenails

Step-6 : Now, Click on " Active Plugin "

Activate Youtubenails

Step-7 : Then, See left Side Menu. " Youtubenails " folder is added on left Side Menu. Now, Click on " Youtubenails " folder.

Noted that: If you do not see " Youtubenails " folder on left Side Menu then, see at left Side Menu " Settings " or " Tools ".

Step-8 : Now you configure yourself oR Watch video tutorial below about Youtubenails Configurations and Settings or How to work " Youtubenails " in your WordPress site.

oR

After Activated Plugin According to Step-6 then,

  1. Go to " Plugins " + " Installed Plugin " from Wordpress Admin Panel Leftside Menu.
  2. or Direct go to: https://yourdomain/wp-admin/plugins.php
  3. Then, Find " YouTubeNails " Activated Plugin from Plugin List.
  4. Then, Click on " Settings " from Plugin that is YouTubeNails
  5. Now, Edit/Add/Config the setting and Click on " Save Changes " button,
WP Plugin Setting



Guide

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;


Name