[WordPress] 外掛分享: Subscribe Button Bar for YouTube Embed Videos

首頁外掛目錄 › Subscribe Button Bar for YouTube Embed Videos
WordPress 外掛 Subscribe Button Bar for YouTube Embed Videos 的封面圖片
10+
安裝啟用
尚無評分
7 天前
最後更新
問題解決
WordPress 5.0+ PHP 7.4+ v1.0.5 上架:2026-01-07

內容簡介

Subscribe Button Bar for YouTube Embed Videos 是一款強大的 WordPress 外掛,旨在無縫整合 YouTube 訂閱功能到您的網站中。它能自動偵測內容中的 YouTube 影片,並在影片下方放置可自訂的訂閱按鈕列,幫助您有效提升 YouTube 訂閱數與觀眾參與度。

【主要功能】
• 智能自動偵測:自動識別文章中的 YouTube iframe
• 短碼支援:可將訂閱列放置於任何位置
• Gutenberg 區塊:在視覺編輯器中輕鬆放置訂閱列
• 彈性頻道輸入:輸入頻道 ID 或 URL,外掛自動處理
• 完全可自訂:調整顏色、文字、主題和佈局
• 響應式設計:在各種裝置上顯示良好

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.5) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Subscribe Button Bar for YouTube Embed Videos」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Subscribe Button Bar for YouTube Embed Videos is a robust WordPress plugin designed to seamlessly integrate YouTube subscription functionality into your website. It automatically detects YouTube videos within your content and strategically places a customizable YouTube subscribe button bar directly beneath them.
This plugin serves as an effective video marketing tool, creating a sleek, non-intrusive call to action that encourages viewers to subscribe to your channel immediately. Whether you aim to increase YouTube subscribers, improve viewer engagement, or ensure a consistent user experience with a fully responsive design, Subscribe Button Bar provides the professional features necessary for channel growth.
Key Features:

Intelligent Auto-Detection: Automatically identifies YouTube iframes within your posts and pages and injects the subscribe bar — no manual setup per post needed.
Shortcode Support: Place the subscribe bar anywhere — pages without videos, sidebars, landing pages — using a simple shortcode.
Gutenberg Block: A native block editor block lets you drop the subscribe bar exactly where you want it in the visual editor.
Flexible Channel Input: Enter your Channel ID, @handle, or paste any YouTube channel URL — the plugin figures out the rest.
Fully Customizable: Tailor colors, text, theme, and layout to match your brand.
Responsive Design: Looks great on desktops, tablets, and mobile phones.
Performance Optimized: Lightweight with no jQuery dependency on the frontend.
MutationObserver Support: Catches YouTube videos added dynamically (AJAX pagination, lazy loading).

Customization Options:

Enable/Disable Toggle: Master switch to turn the subscribe bar on or off globally.
YouTube Channel: Enter your Channel ID, @handle, or any YouTube channel URL.
Theme Selection: Choose between Default (light) and Dark themes.
Subscriber Count: Show or hide the subscriber count on the button.
Layout Options: Default (icon + “Subscribe” text) or Full (channel avatar + channel name).
Custom Text: Add personalized text that appears before the button.
Background Color: Customize the bar’s background color.
Text Color: Customize the text color.
Post Type Control: Restrict the bar to specific post types (posts, pages, custom post types).
Per-Post Exclusion: Exclude specific posts or pages by ID.

Using the Shortcode
Place the subscribe bar anywhere on your site — pages without YouTube videos, sidebars, footers, or landing pages — using:
[subscribe_button_bar]

This uses your global plugin settings. You can override any setting per-use with optional attributes:
[subscribe_button_bar channel="@yourchannel" text="Subscribe for weekly videos!" theme="dark" layout="full" count="hidden" bg_color="#1a1a1a" text_color="#ffffff"]

Shortcode Attributes:
Attribute
Values
Default
Description
url
YouTube or Shorts video URL
(none)
Embed a YouTube video or Short and place the subscribe bar below it. Accepts youtube.com/watch?v=, youtu.be/, youtube.com/shorts/, or youtube.com/embed/ URLs.
channel
Channel ID, @handle, or URL
Global setting
Override the YouTube channel for this bar only.
text
Any string
Global setting
Text displayed before the subscribe button.
theme
default, dark
Global setting
Button color scheme.
layout
default, full
Global setting
default shows the subscribe icon and text; full shows channel avatar and name.
count
true, hidden
Global setting
Show or hide the subscriber count.
bg_color
Hex color (e.g. #ffffff)
Global setting
Background color of the bar.
text_color
Hex color (e.g. #000000)
Global setting
Text color of the bar.
Examples:
Minimal — uses all global settings:
[subscribe_button_bar]
Embed a video with a subscribe bar below it:
[subscribe_button_bar url=”https://www.youtube.com/watch?v=dQw4w9WgXcQ”]
Embed a YouTube Short with a subscribe bar below it:
[subscribe_button_bar url=”https://www.youtube.com/shorts/VIDEO_ID”]
Embed a video and override the channel and text:
[subscribe_button_bar url=”https://youtu.be/dQw4w9WgXcQ” channel=”@yourchannel” text=”Subscribe for more!”]
Bar only — custom channel with dark theme:
[subscribe_button_bar channel=”@yourchannel” theme=”dark” text=”Subscribe for weekly videos”]
Full layout, no subscriber count:
[subscribe_button_bar layout=”full” count=”hidden”]
Using the Gutenberg Block
In the block editor, search for “Subscribe Button Bar” in the block inserter (or type /subscribe). The block renders server-side so it always reflects your current settings.
The block sidebar includes:

Video URL — paste a YouTube video URL or Shorts URL (e.g. youtube.com/watch?v=... or youtube.com/shorts/...). The block will embed the video and place the subscribe bar directly below it. Leave empty to show only the subscribe bar.
Channel Override — enter a Channel ID, @handle, or YouTube channel URL to use a different channel on this specific page. Leave empty to use your global settings.
Custom Text Override — override the button label text for this block only. Leave empty to use your global custom text.

Entering Your YouTube Channel
The plugin accepts any of the following formats in the settings page and in the channel shortcode attribute:

Channel ID: UCxxxxxxxxxxxxxxxxxxxxxx
@Handle: @yourchannel
Channel URL: https://www.youtube.com/channel/UCxxxxxxxxxxxxxxxxxxxxxx
Handle URL: https://www.youtube.com/@yourchannel
Legacy user URL: https://www.youtube.com/user/yourchannel
Custom URL: https://www.youtube.com/c/yourchannel

The plugin parses the input automatically — no need to extract the channel ID manually.
Getting Started:

Install and activate the plugin via the WordPress dashboard.
Navigate to Settings > Subscribe Button Bar.
Enter your YouTube channel — paste your Channel ID, @handle, or any YouTube channel URL.
Configure your desired appearance settings and save.
Embed any YouTube video in a post/page and the subscribe bar will appear automatically. Or use [subscribe_button_bar] to place it anywhere.

External Services
This plugin uses the YouTube Subscribe Button API provided by Google’s Platform Library (https://apis.google.com/js/platform.js). This script is loaded on pages where the subscribe bar is displayed and may send the visitor’s IP address and user agent to Google.
Policies: Google Privacy Policy | YouTube Terms of Service

延伸相關外掛

文章
Filter
Mastodon