跳到内容

SK Playlist Embed

v2.6.0

Saroj Khanal · 2026年6月23日 上架

Embed YouTube playlists and channel videos in responsive grid, list, and card layouts with caching, auto-refresh, and SEO-friendly display.

正在使用
10 以下
评分
暂无
累计下载
339
最近更新
2026年8月20日
需要 WordPress 6.0+已测试到 7.1.5PHP 7.4+

贡献者

SK Playlist Embed lets you display YouTube channel videos and playlists on your WordPress site using the YouTube Data API v3. Choose from grid or list layouts with flexible columns (1-5), frontend pagination, and a centered video modal.

Features:

  • Display videos from any YouTube channel or playlist
  • Two layout options: Grid and List
  • Flexible columns (1-5) in grid layout
  • Responsive design — desktop, tablet, and mobile
  • Lightbox modal with autoplay
  • Lazy loading for optimal performance
  • Transient-based caching with configurable duration
  • WP-Cron auto-refresh support
  • Daily scheduled cache refresh
  • REST API endpoints for admin operations
  • Live preview in the admin settings
  • SEO-friendly markup
  • Shortcode: [skplem type="channel|playlist" id="YOUR_ID"]

Obtaining a YouTube API Key

  1. Go to the Google Cloud Console.
  2. Create a new project or select an existing one.
  3. Enable the YouTube Data API v3.
  4. Go to Credentials and create an API key.
  5. Copy the key and paste it in the plugin settings.

Shortcode Usage

Basic usage:

[skplem type="channel" id="UC_CHANNEL_ID"]

With all options:

[skplem type="playlist" id="PL_PLAYLIST_ID" layout="grid" columns="3" max="12" thumbnail="medium" title="yes" description="yes" show_count="yes" paginate="yes" per_page="12"]

Attributes:

  • type — channel or playlist (required)
  • id — YouTube channel ID or playlist ID (required)
  • layout — grid or list (default: from settings)
  • columns — 1 to 5 (default: from settings)
  • max — max videos to show, 1 to 50 (default: from settings)
  • thumbnail — default, medium, or high (default: from settings)
  • title — yes or no
  • description — yes or no
  • show_count — yes or no
  • paginate — yes or no
  • per_page — videos per page (default: 12)

External Services

This plugin uses the YouTube Data API v3 (operated by Google) to fetch video metadata from YouTube channels and playlists.

Data sent: When you enter a Channel ID or Playlist ID, the plugin sends that ID along with your API key to the YouTube Data API v3 to retrieve video titles, descriptions, thumbnails, and publish dates. No personal data is transmitted.

Service links:
* YouTube Terms of Service
* Google Privacy Policy
* YouTube Data API v3 Documentation

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums