[WordPress] 外掛分享: Youtube Video Search

首頁外掛目錄 › Youtube Video Search
10+
安裝啟用
★★★★★
5/5 分(3 則評價)
15 天前
最後更新
問題解決
WordPress 6.4+ PHP 8.0+ v3.2.3 上架:2012-01-11

外掛標籤

開發者團隊

⬇ 下載最新版 (v3.2.3) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Youtube Video Search」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Live Demo →

Youtube Video Search turns any page on your site into a live YouTube search engine — with your own channel’s videos front and center.
Type a keyword, get real thumbnails, view counts, and a click-to-play embedded player that queues up the rest of the results as a playlist. No page reload, no leaving your site.
It was built with one audience in mind: YouTube creators, video bloggers, course/membership sites, and media or review sites who want visitors to discover their video content without bouncing over to youtube.com — and without a dozen manually-embedded iframes to maintain.
Why creators use it

Your channel comes first. Add your channel(s) once. Every search checks your channel for matches before anyone sees a public result — or restrict search to your channel only, with one checkbox. Either way, your content is what visitors find.
Drop it in anywhere, no code required. A Gutenberg block, a classic widget, a shortcode, or a template tag — pick whichever fits how you build. All four are the exact same search box under the hood, so behavior never differs between them.
It actually helps your SEO, not just your visitors. Your latest uploads are rendered as real, crawlable links directly in the page’s HTML on page load — not hidden behind a search box that only JavaScript can fill in. Every video listing carries schema.org VideoObject structured data (the same markup Google uses for video rich results), and a machine-readable JSON feed of your channel is available for your own tools or AI integrations.
Modern, mobile-first design. A responsive card grid, automatic dark mode, and a fluid video player that looks right from a phone to a widescreen monitor — no theme-specific CSS fighting required.
Your API key never leaves your server. Every YouTube Data API request is proxied through your own site; visitors’ browsers never see your key, unlike plugins that print it straight into page JavaScript.

Features

Gutenberg block — search, insert, done. Live preview in the editor.
Classic widget for any sidebar/footer widget area.
[youtubesearch] shortcode with optional heading/placeholder attributes.
ytps_render_search() template tag for theme developers.
Multiple instances on one page (e.g. widget + block together) work independently, out of the box.
Configure one or more of your own channels; matched videos are shown first, or exclusively, your choice.
Server-rendered, crawlable “latest videos” grid + schema.org JSON-LD for SEO — no JavaScript required for search engines to see real content.
A cached JSON REST feed of your channel’s videos (/wp-json/ytps/v1/videos) for your own tooling or AI agents.
Real-time search suggestions, debounced search-as-you-type, keyboard accessible.
Modern, mobile-responsive card grid with automatic dark mode.
Works with or without an API key configured (shows a friendly notice to visitors instead of breaking).
No third-party CDN dependencies (no Bootstrap, no external jQuery) — uses WordPress core’s own bundled scripts.

Requirements

WordPress 6.4+
PHP 8.0+
A free YouTube Data API v3 key from Google Cloud Console (the plugin installs and displays fine without one; search itself needs a key)

Growing your channel with this plugin
A few ways creators get the most out of a searchable video wall:

Give it a real page. Create a “Videos” or “Watch” page, add the block, link to it from your main navigation. That’s a page search engines can actually index and rank — a bare embed on your homepage isn’t.
Prioritize your channel, don’t restrict it (usually). Leaving “Channel Restriction” unchecked means a visitor searching a topic in your niche sees your videos first, with relevant public results as a fallback — better for discovery than an empty result set when your channel hasn’t covered that exact keyword yet.
Use headings. Every placement method accepts an optional heading (“Watch Our Tutorials,” “Search Our Recipes,” etc.) — it renders as a real on-page

, which helps both visitors scanning the page and search engines understand what the section is.
Combine placements. Sitewide widget in the footer for casual browsing, plus a focused block on your most important content pages — they don’t conflict.
Let the structured data work for you. You don’t need to do anything extra here — once a channel is configured, the schema.org markup and crawlable links are automatic.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon