WP Manifestindependent plugin directory
manifest / media / youtube-to-wp-feed

Youtube To WP Feed

A WordPress plugin that imports Youtube videos and playlists to the website.

by Hussain Hamoudi · github.com/huspain/youtube-to-wp-feed

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/huspain/youtube-to-wp-feed/archive/refs/heads/main.zip

A WordPress plugin that imports Youtube videos and playlists into the website.

General Information:

This plugin utilizes Youtube Data API V3 and the plugin, Advanced Custom Fields Pro. ACF Pro must be active in order to activate this plugin.

The following values are required in order to import Youtube videos and playlists:

  • Youtube Data API Key
  • Channel ID of the Youtube channel to pull information from

The API Key can be obtained from the Google Developers Console. More information can be found here.

The Channel ID can be found on the desired Youtube channel's web page. More information can be found here.

While this plugin is active, Youtube videos and playlists will automatically sync daily. In order to manually sync videos and playlists, update the options page. Every time the settings are updated, videos and playlists will sync.

Shortcode Information:

To display playlists as a feed, use this shortcode: [youtube-playlist playlist="{playlist-slug}" link="youtube"].

  • The "playlist" parameter indicates which playlist to display. Use the slug of a "playlists" taxonomy term for the value. If this is not specified, it will default to display all videos.
  • The "link" parameter specifies where each video in the feed will link to. If this value is set to "youtube", then each video will link to its respective video on "youtube.com." If any other value is given, or if left unspecified, then each video will link to its respective post on the website.

To display videos as an iframe, use this shortcode: [youtube-iframe post_id="{post_id}"].
  • The "post_id" parameter accepts the post ID of the youtube video in WordPress (not the video ID in youtube.com). Defaults to the current post ID.