Plugin hau ez da probatu WordPressen azken 3 bertsio garrantzitsuenekin. Baliteke, jada, mantentze edo euskarririk ez izatea, eta, WordPressen bertsio berriagoekin erabiltzen denean, bateragarritasun arazoak izan ditzake.

Import YouTube videos as WP Posts


English Version

Import YouTube videos as WP Posts is a simple plugin that allow you to search Youtube videos from the admin panel (with keywords, channel or playlist ID) and add the videos you pick to your posts.

It’s a simple way :

  • to feed your WordPress website with real content in minutes
  • to display curated content from Youtube on your website
  • to link a playlist or a channel to your website

How does it work ?

  1. Type a request : keywords, channel ID or playlist ID
  2. Fill some parameters : taxonomy to feed, post type to feed, number of results to show
  3. Some template tags (%title%, %user%, etc.) are available to customize the content you add to your WordPress website
  4. Choose some videos and add them to your website or reject them

Works on every themes : it just feed an existing ressource (e.g. : Posts) with selected Youtube content.

Available in French and English.

Version Française

Import YouTube videos as WP Posts est un plugin tout simple qui permet de chercher des vidéos Youtube depuis l’administration de WordPress et de les ajouter à son site rapidement.

Quelques utilisations :

  • alimenter un site en quelques minutes avec du vrai contenu venant de Youtube
  • afficher un contenu choisi sur son site
  • faire le lien entre une playlist ou une chaîne Youtube

Comment ça marche ?

  1. Tapez une requête : mots-clé, ID de playlist, ID de chaîne
  2. Réglez quelques paramètres : taxonomie à remplir, post type à remplir, nombre de vidéos à afficher, etc…
  3. Il est possible de customiser votre contenu ajouté avec un petit système de template (%title%, %user%, etc.)
  4. Une fois votre recherche effectuée, choisissez des vidéos, ajoutez-les à votre site ou rejetez celle qui ne vous plaisent pas.

Ça fonctionne avec tous les thèmes : le plugin ajoute les vidéos choisies à un type de ressources existant (ex: Articles).


  • Admin interface to search and add Youtube videos as WP posts
  • Admin settings for the plugin (Settings > Youtube importer)


This section describes how to install the plugin and get it working.

  1. Upload /import-youtube-videos-as-wp-post/ folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Set up your Google API key in the Settings page
  4. Search for Youtube content and add it to your WordPress from the ‘Import YouTube videos as WP Posts’ menu


Can I choose the post type and the taxonomy I want to add videos to?


How can I get a Google API key?

To use this plugin, you’ll need to create a Google Youtube API key. Dealing with Google Developers Console can be a bit confusing, you need to : create a project, make the API data you need active and generate a public API key. Here’s how to do that:

  1. Login to Google using your Google account.
  2. Go to the Developers Console > Projects
    Click on “Create a project” (you’ll need to give it a title and an ID)
  3. When your project his created, click on it on the project list
  4. Go to the section API and authentication > API, and search for YouTube Data API v3, and click on the button on the right to make this API active.
  5. Go to the Credentials section > Access to the public API anc click on the button “Make a key” > Server key
  6. On the next box, you’ll need to tell on which domains you allow the use of your app (e.g.,, etc).
  7. Now it should have generated a API Key (e.g. AIzaFyD0aPCQjLFRbLnh4RKbVBlBgVCVSwjbFAg), copy-paste it on the box above.
  8. It’s done, congrats 🙂
I got the message : ‘Your Youtube API access is not defined, go set it on the settings page.’

It’s because you didn’t fill the API key field (in the settings page) with your Google API key.

I got the message : ‘There is an error with your API key, it has been rejected by Google API Service.’

This is mostly because you made a mistake typing / copying your API key. Check the API key field in the Settings page.


2018(e)ko abuztuaren 14(a)
I followed all the steps for the API, and still get an error. I made sure to triple check everything.
2017(e)ko martxoaren 19(a) 1 reply
This plugin is great. I wish there was an “approve all” button, but other than that, it is super easy and the documentation on creating an API key was pretty good too. Saved me a ton of time writing a far worse version myself!
Irakurri 8 berrikuspenak

Laguntzaileak eta Garatzaileak

“Import YouTube videos as WP Posts” software librea da. Ondoko pertsonek egin dizkiote ekarpenak plugin honi.


Aldaketen loga


  • Added an option to use video’s date instead of current date


  • Added a “Approve all” button in order to add all listed videos in a single shot
  • Fixed issues: escaping double quote character, removed unecessary parameters


  • Switched file_get_contents to media_sideload_image, alert now throws Google error messages.
  • Can select a specific post status for created posts


  • Fixed selected category not showing up on query settings page


  • Fixed selected category not showing up on query settings page


  • Fixed playlist importing videos


  • Support HTTP / HTTPS protocol


  • Fix max results number as wp options


  • Fix major bug : max results number is optional now.


  • Fix ressource type ‘video’


  • Plugin init