WP Manifestindependent plugin directory
manifest / media / wp-youtube-toolkit

WP YouTube Toolkit

A tiny plugin for integrate youtube feeds in WordPress

by Mehedi Hasan Nahid · github.com/mehedidb/wp-youtube-toolkit · website

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/mehedidb/wp-youtube-toolkit/archive/refs/heads/main.zip

🎬 WP YouTube Toolkit Pro

Advanced WordPress plugin to fetch YouTube videos using API or RSS with full control.


🚀 Features

  • Channel Videos (API)
  • Playlist Videos (API)
  • Shorts Filter (API ≤ 60s)
  • RSS Feed (No API)
  • RSS Shorts (basic)
  • Offset / Limit / Random
  • Exclude videos
  • Transient caching

📦 Installation

  1. Upload plugin to /wp-content/plugins/
  2. Activate plugin

🔧 Usage

Channel Videos

YT_Service::api([
 'api_key' => 'KEY',
 'channel_id' => 'CHANNEL_ID',
 'max' => 5
]);

Playlist Videos

YT_Service::api([
 'api_key' => 'KEY',
 'source_type' => 'playlist',
 'playlist_id' => 'PLAYLIST_ID'
]);

Shorts

YT_Service::api([
 'api_key' => 'KEY',
 'channel_id' => 'CHANNEL_ID',
 'only_shorts' => true
]);

RSS

YT_Service::rss('CHANNEL_ID', [
 'max' => 5
]);

⚠️ Notes

  • API Shorts = accurate
  • RSS Shorts = approximate
  • Use caching for performance

🎉 Ready for production 🚀