Customize Consent Preferences

We use cookies to help you navigate efficiently and perform certain functions. You will find detailed information about all cookies under each consent category below.

The cookies that are categorized as "Necessary" are stored on your browser as they are essential for enabling the basic functionalities of the site. ... 

Always Active

Necessary cookies are required to enable the basic features of this site, such as providing secure log-in or adjusting your consent preferences. These cookies do not store any personally identifiable data.

No cookies to display.

Functional cookies help perform certain functionalities like sharing the content of the website on social media platforms, collecting feedback, and other third-party features.

No cookies to display.

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic source, etc.

No cookies to display.

Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.

No cookies to display.

Advertisement cookies are used to provide visitors with customized advertisements based on the pages you visited previously and to analyze the effectiveness of the ad campaigns.

No cookies to display.

YouTube Related

(En inglés para todo el mundo, pronto en español / In english for everybody, soon in spanish)

First of all, thanks to David Appleyard, because this is a modified version of his Flickr Related Plugin, but instead of photos with Flickr, the plugin gets videos from YouTube.

What the plugin does?

  • Integrates with Simple Tags Plugin for WordPress (but you can change easily to get tags from other plugins/stuff)
  • Takes the first Simple tag, and uses it to look for related videos on YouTube
  • Displays the three most recent related videos on your WordPress blog post
  • Updates videos automatically

Simple Installation

The plugin is easy to install, but it requires the Simple Tags Plugin to work (or similar). I strongly suggest you install this, and get it working correctly before you attempt to install the YouTube Related Videos plugin.

These are some simple installation instructions for the plugin:

  • Download and install Simple Tags Plugin
  • Download the plugin file, rename to php, and place it in your plugins directory, and activate it with WordPress Web Administrator
  • Insert the following code into wp-comments.php, where you want the YouTube Videos to appear (generally just below the line containing “You can start editing here”:
    youtuberelated($id);
  • Begin adding Simple tags to your posts, and watch the related videos appear

Notes

  • I recommend you to take a look to the source code, maybe you have to change some dev_id of YouTube or videos shown variable. It’s very easy.
  • You can even use it in this way: youtuberelated(0, "yourtag") so you can force it to use that tag.

Demo of this

As you can see Simple Tags for this article is «snowboard» and you will see YouTube’s videos related to this :)

[tags]snowboard[/tags]

youtuberelated(0,’snowboard’);

Alex

Ciudadano del mundo. Me encanta llevarme mi cámara fotográfica para inmortalizar esencias y experiencias en lugares diferentes, donde la gente vive diferente, pero donde todos disfrutamos cada día de puestas de un mismo Sol.

77 Comments