{"id":268532,"date":"2026-01-08T19:53:28","date_gmt":"2026-01-08T19:53:28","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/subscribe-button-bar-for-youtube\/"},"modified":"2026-06-15T18:39:17","modified_gmt":"2026-06-15T18:39:17","slug":"subscribe-button-bar","status":"publish","type":"plugin","link":"https:\/\/pcm.wordpress.org\/plugins\/subscribe-button-bar\/","author":15876460,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.3","stable_tag":"1.0.3","tested":"7.0","requires":"5.0","requires_php":"7.4","requires_plugins":null,"header_name":"Subscribe Button Bar","header_author":"Jose Varghese","header_description":"Automatically adds customizable YouTube subscribe buttons to your YouTube videos with responsive design. Enhance viewer engagement by encouraging subscriptions with a sleek, customizable subscribe bar that appears above or below your embedded YouTube content.","assets_banners_color":"b8bdbe","last_updated":"2026-06-15 18:39:17","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/buymeacoffee.com\/josevarghese","header_plugin_uri":"","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":10,"downloads":396,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.1":{"tag":"1.0.1","author":"josevarghese","date":"2026-01-13 18:50:09"},"1.0.2":{"tag":"1.0.2","author":"josevarghese","date":"2026-05-06 20:46:14"},"1.0.3":{"tag":"1.0.3","author":"josevarghese","date":"2026-06-15 18:39:17"}},"upgrade_notice":{"1.0.3":"<p>Adds shortcode support, a Gutenberg block, and flexible channel input (Channel ID, @handle, or YouTube URL all work).<\/p>","1.0.0":"<p>Initial release of Subscribe Button Bar for YouTube plugin.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.gif":{"filename":"icon-128x128.gif","revision":3577277,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.gif":{"filename":"icon-256x256.gif","revision":3577277,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3435453,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3435453,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":{"subscribe-button-bar\/subscribe-bar":{"name":"subscribe-button-bar\/subscribe-bar","title":"Subscribe Button Bar"}},"tagged_versions":["1.0.1","1.0.2","1.0.3"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3435456,"resolution":"1","location":"assets","locale":"","width":1364,"height":814},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3435456,"resolution":"2","location":"assets","locale":"","width":917,"height":756}},"screenshots":{"1":"Plugin settings page with all customization options","2":"Subscribe button bar displayed below a YouTube video","3":"Dark theme subscribe button example","4":"Mobile responsive design","5":"Gutenberg block in the block editor"}},"plugin_section":[],"plugin_tags":[485,174,2482,222,1610],"plugin_category":[41,50,56],"plugin_contributors":[237124],"plugin_business_model":[],"class_list":["post-268532","plugin","type-plugin","status-publish","hentry","plugin_tags-button","plugin_tags-social","plugin_tags-subscribe","plugin_tags-video","plugin_tags-youtube","plugin_category-communication","plugin_category-media","plugin_category-social-and-sharing","plugin_contributors-josevarghese","plugin_committers-josevarghese"],"banners":{"banner":"https:\/\/ps.w.org\/subscribe-button-bar\/assets\/banner-772x250.png?rev=3435453","banner_2x":"https:\/\/ps.w.org\/subscribe-button-bar\/assets\/banner-1544x500.png?rev=3435453","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/subscribe-button-bar\/assets\/icon-128x128.gif?rev=3577277","icon_2x":"https:\/\/ps.w.org\/subscribe-button-bar\/assets\/icon-256x256.gif?rev=3577277","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/subscribe-button-bar\/assets\/screenshot-1.png?rev=3435456","caption":"Plugin settings page with all customization options"},{"src":"https:\/\/ps.w.org\/subscribe-button-bar\/assets\/screenshot-2.png?rev=3435456","caption":"Subscribe button bar displayed below a YouTube video"}],"raw_content":"<!--section=description-->\n<p><strong>Subscribe Button Bar for YouTube Embed Videos<\/strong> 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 <strong>YouTube subscribe button bar<\/strong> directly beneath them.<\/p>\n\n<p>This plugin serves as an effective <strong>video marketing<\/strong> tool, creating a sleek, non-intrusive <strong>call to action<\/strong> that encourages viewers to subscribe to your channel immediately. Whether you aim to <strong>increase YouTube subscribers<\/strong>, 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.<\/p>\n\n<p><strong>Key Features:<\/strong><\/p>\n\n<ul>\n<li><strong>Intelligent Auto-Detection<\/strong>: Automatically identifies YouTube iframes within your posts and pages and injects the subscribe bar \u2014 no manual setup per post needed.<\/li>\n<li><strong>Shortcode Support<\/strong>: Place the subscribe bar anywhere \u2014 pages without videos, sidebars, landing pages \u2014 using a simple shortcode.<\/li>\n<li><strong>Gutenberg Block<\/strong>: A native block editor block lets you drop the subscribe bar exactly where you want it in the visual editor.<\/li>\n<li><strong>Flexible Channel Input<\/strong>: Enter your Channel ID, @handle, or paste any YouTube channel URL \u2014 the plugin figures out the rest.<\/li>\n<li><strong>Fully Customizable<\/strong>: Tailor colors, text, theme, and layout to match your brand.<\/li>\n<li><strong>Responsive Design<\/strong>: Looks great on desktops, tablets, and mobile phones.<\/li>\n<li><strong>Performance Optimized<\/strong>: Lightweight with no jQuery dependency on the frontend.<\/li>\n<li><strong>MutationObserver Support<\/strong>: Catches YouTube videos added dynamically (AJAX pagination, lazy loading).<\/li>\n<\/ul>\n\n<p><strong>Customization Options:<\/strong><\/p>\n\n<ol>\n<li><strong>Enable\/Disable Toggle<\/strong>: Master switch to turn the subscribe bar on or off globally.<\/li>\n<li><strong>YouTube Channel<\/strong>: Enter your Channel ID, @handle, or any YouTube channel URL.<\/li>\n<li><strong>Theme Selection<\/strong>: Choose between Default (light) and Dark themes.<\/li>\n<li><strong>Subscriber Count<\/strong>: Show or hide the subscriber count on the button.<\/li>\n<li><strong>Layout Options<\/strong>: Default (icon + \"Subscribe\" text) or Full (channel avatar + channel name).<\/li>\n<li><strong>Custom Text<\/strong>: Add personalized text that appears before the button.<\/li>\n<li><strong>Background Color<\/strong>: Customize the bar's background color.<\/li>\n<li><strong>Text Color<\/strong>: Customize the text color.<\/li>\n<li><strong>Post Type Control<\/strong>: Restrict the bar to specific post types (posts, pages, custom post types).<\/li>\n<li><strong>Per-Post Exclusion<\/strong>: Exclude specific posts or pages by ID.<\/li>\n<\/ol>\n\n\n\n<p><strong>Using the Shortcode<\/strong><\/p>\n\n<p>Place the subscribe bar anywhere on your site \u2014 pages without YouTube videos, sidebars, footers, or landing pages \u2014 using:<\/p>\n\n<pre><code>[subscribe_button_bar]\n<\/code><\/pre>\n\n<p>This uses your global plugin settings. You can override any setting per-use with optional attributes:<\/p>\n\n<pre><code>[subscribe_button_bar channel=\"@yourchannel\" text=\"Subscribe for weekly videos!\" theme=\"dark\" layout=\"full\" count=\"hidden\" bg_color=\"#1a1a1a\" text_color=\"#ffffff\"]\n<\/code><\/pre>\n\n<p><strong>Shortcode Attributes:<\/strong><\/p>\n\n\n\n\n  Attribute\n  Values\n  Default\n  Description\n\n\n\n\n  <code>url<\/code>\n  YouTube or Shorts video URL\n  <em>(none)<\/em>\n  Embed a YouTube video or Short and place the subscribe bar below it. Accepts <code>youtube.com\/watch?v=<\/code>, <code>youtu.be\/<\/code>, <code>youtube.com\/shorts\/<\/code>, or <code>youtube.com\/embed\/<\/code> URLs.\n\n\n  <code>channel<\/code>\n  Channel ID, @handle, or URL\n  Global setting\n  Override the YouTube channel for this bar only.\n\n\n  <code>text<\/code>\n  Any string\n  Global setting\n  Text displayed before the subscribe button.\n\n\n  <code>theme<\/code>\n  <code>default<\/code>, <code>dark<\/code>\n  Global setting\n  Button color scheme.\n\n\n  <code>layout<\/code>\n  <code>default<\/code>, <code>full<\/code>\n  Global setting\n  <code>default<\/code> shows the subscribe icon and text; <code>full<\/code> shows channel avatar and name.\n\n\n  <code>count<\/code>\n  <code>true<\/code>, <code>hidden<\/code>\n  Global setting\n  Show or hide the subscriber count.\n\n\n  <code>bg_color<\/code>\n  Hex color (e.g. <code>#ffffff<\/code>)\n  Global setting\n  Background color of the bar.\n\n\n  <code>text_color<\/code>\n  Hex color (e.g. <code>#000000<\/code>)\n  Global setting\n  Text color of the bar.\n\n\n\n\n<p><strong>Examples:<\/strong><\/p>\n\n<p>Minimal \u2014 uses all global settings:\n    [subscribe_button_bar]<\/p>\n\n<p>Embed a video with a subscribe bar below it:\n    [subscribe_button_bar url=\"https:\/\/www.youtube.com\/watch?v=dQw4w9WgXcQ\"]<\/p>\n\n<p>Embed a YouTube Short with a subscribe bar below it:\n    [subscribe_button_bar url=\"https:\/\/www.youtube.com\/shorts\/VIDEO_ID\"]<\/p>\n\n<p>Embed a video and override the channel and text:\n    [subscribe_button_bar url=\"https:\/\/youtu.be\/dQw4w9WgXcQ\" channel=\"@yourchannel\" text=\"Subscribe for more!\"]<\/p>\n\n<p>Bar only \u2014 custom channel with dark theme:\n    [subscribe_button_bar channel=\"@yourchannel\" theme=\"dark\" text=\"Subscribe for weekly videos\"]<\/p>\n\n<p>Full layout, no subscriber count:\n    [subscribe_button_bar layout=\"full\" count=\"hidden\"]<\/p>\n\n\n\n<p><strong>Using the Gutenberg Block<\/strong><\/p>\n\n<p>In the block editor, search for <strong>\"Subscribe Button Bar\"<\/strong> in the block inserter (or type <code>\/subscribe<\/code>). The block renders server-side so it always reflects your current settings.<\/p>\n\n<p>The block sidebar includes:<\/p>\n\n<ul>\n<li><strong>Video URL<\/strong> \u2014 paste a YouTube video URL or Shorts URL (e.g. <code>youtube.com\/watch?v=...<\/code> or <code>youtube.com\/shorts\/...<\/code>). The block will embed the video and place the subscribe bar directly below it. Leave empty to show only the subscribe bar.<\/li>\n<li><strong>Channel Override<\/strong> \u2014 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.<\/li>\n<li><strong>Custom Text Override<\/strong> \u2014 override the button label text for this block only. Leave empty to use your global custom text.<\/li>\n<\/ul>\n\n\n\n<p><strong>Entering Your YouTube Channel<\/strong><\/p>\n\n<p>The plugin accepts any of the following formats in the settings page and in the <code>channel<\/code> shortcode attribute:<\/p>\n\n<ul>\n<li>Channel ID: <code>UCxxxxxxxxxxxxxxxxxxxxxx<\/code><\/li>\n<li>@Handle: <code>@yourchannel<\/code><\/li>\n<li>Channel URL: <code>https:\/\/www.youtube.com\/channel\/UCxxxxxxxxxxxxxxxxxxxxxx<\/code><\/li>\n<li>Handle URL: <code>https:\/\/www.youtube.com\/@yourchannel<\/code><\/li>\n<li>Legacy user URL: <code>https:\/\/www.youtube.com\/user\/yourchannel<\/code><\/li>\n<li>Custom URL: <code>https:\/\/www.youtube.com\/c\/yourchannel<\/code><\/li>\n<\/ul>\n\n<p>The plugin parses the input automatically \u2014 no need to extract the channel ID manually.<\/p>\n\n<p><strong>Getting Started:<\/strong><\/p>\n\n<ol>\n<li>Install and activate the plugin via the WordPress dashboard.<\/li>\n<li>Navigate to <strong>Settings &gt; Subscribe Button Bar<\/strong>.<\/li>\n<li>Enter your YouTube channel \u2014 paste your Channel ID, @handle, or any YouTube channel URL.<\/li>\n<li>Configure your desired appearance settings and save.<\/li>\n<li>Embed any YouTube video in a post\/page and the subscribe bar will appear automatically. Or use <code>[subscribe_button_bar]<\/code> to place it anywhere.<\/li>\n<\/ol>\n\n<h3>External Services<\/h3>\n\n<p>This plugin uses the YouTube Subscribe Button API provided by Google's Platform Library (<code>https:\/\/apis.google.com\/js\/platform.js<\/code>). 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.<\/p>\n\n<p><strong>Policies<\/strong>: <a href=\"https:\/\/policies.google.com\/privacy\">Google Privacy Policy<\/a> | <a href=\"https:\/\/www.youtube.com\/t\/terms\">YouTube Terms of Service<\/a><\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/subscribe-button-bar<\/code> directory, or search for \"Subscribe Button Bar\" in your WordPress dashboard and install it.<\/li>\n<li>Activate it.<\/li>\n<li>Go to <strong>Settings &gt; Subscribe Button Bar<\/strong> to configure.<\/li>\n<li>Enter your YouTube channel (Channel ID, @handle, or URL), pick your colors, and save.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"how%20do%20i%20enter%20my%20youtube%20channel%3F\"><h3>How do I enter my YouTube channel?<\/h3><\/dt>\n<dd><p>Go to <strong>Settings &gt; Subscribe Button Bar<\/strong> and enter any of the following in the \"YouTube Channel\" field:<\/p>\n\n<ul>\n<li>Your channel ID (starts with <code>UC<\/code>) \u2014 find it at https:\/\/www.youtube.com\/account_advanced<\/li>\n<li>Your @handle (e.g. <code>@yourchannel<\/code>)<\/li>\n<li>Your full YouTube channel URL (e.g. <code>https:\/\/www.youtube.com\/@yourchannel<\/code>)<\/li>\n<\/ul>\n\n<p>The plugin parses whatever you enter and uses the correct format automatically.<\/p><\/dd>\n<dt id=\"can%20i%20place%20the%20subscribe%20bar%20on%20a%20page%20that%20doesn%27t%20have%20a%20youtube%20video%3F\"><h3>Can I place the subscribe bar on a page that doesn't have a YouTube video?<\/h3><\/dt>\n<dd><p>Yes \u2014 use the shortcode <code>[subscribe_button_bar]<\/code> or the Gutenberg block. Both work anywhere on your site regardless of whether there's an embedded video.<\/p><\/dd>\n<dt id=\"can%20i%20use%20a%20different%20youtube%20channel%20per%20page%20or%20post%3F\"><h3>Can I use a different YouTube channel per page or post?<\/h3><\/dt>\n<dd><p>Yes. Both the shortcode and the Gutenberg block support a <code>channel<\/code> override:<\/p>\n\n<pre><code>[subscribe_button_bar channel=\"@otherChannel\"]\n<\/code><\/pre>\n\n<p>In the block editor, use the Channel Override field in the block sidebar.<\/p><\/dd>\n<dt id=\"does%20it%20work%20with%20all%20youtube%20embed%20types%3F\"><h3>Does it work with all YouTube embed types?<\/h3><\/dt>\n<dd><p>It detects standard YouTube iframes (<code>youtube.com\/embed\/<\/code> and <code>youtu.be<\/code>). It also uses a MutationObserver to catch videos loaded dynamically via AJAX or lazy loading.<\/p><\/dd>\n<dt id=\"can%20i%20show%20the%20subscribe%20bar%20only%20on%20certain%20post%20types%3F\"><h3>Can I show the subscribe bar only on certain post types?<\/h3><\/dt>\n<dd><p>Yes \u2014 in the settings page under \"Show On Post Types\", check only the post types you want.<\/p><\/dd>\n<dt id=\"can%20i%20hide%20the%20subscribe%20bar%20on%20specific%20posts%20or%20pages%3F\"><h3>Can I hide the subscribe bar on specific posts or pages?<\/h3><\/dt>\n<dd><p>Yes \u2014 enter a comma-separated list of post\/page IDs under \"Exclude Post\/Page IDs\" in the settings.<\/p><\/dd>\n<dt id=\"is%20it%20mobile%20responsive%3F\"><h3>Is it mobile responsive?<\/h3><\/dt>\n<dd><p>Yes. The bar adapts its layout for smaller screens and the button scales to remain usable on mobile.<\/p><\/dd>\n<dt id=\"the%20bar%20isn%27t%20showing%20up.%20what%20should%20i%20do%3F\"><h3>The bar isn't showing up. What should I do?<\/h3><\/dt>\n<dd><ul>\n<li>Make sure the plugin is enabled in <strong>Settings &gt; Subscribe Button Bar<\/strong>.<\/li>\n<li>Confirm your YouTube channel is entered and saved.<\/li>\n<li>Check that the post type is not excluded in the settings.<\/li>\n<li>If something's still not working, create a support ticket: https:\/\/wordpress.org\/support\/plugin\/subscribe-button-bar\/#new-topic-0<\/li>\n<\/ul><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Added shortcode <code>[subscribe_button_bar]<\/code> with full attribute support (channel, text, theme, layout, count, bg_color, text_color)<\/li>\n<li>Added Gutenberg block \u2014 drag and drop the subscribe bar anywhere in the block editor<\/li>\n<li>Added flexible channel input \u2014 accepts Channel ID, @handle, or any YouTube channel URL; no need to look up your channel ID separately<\/li>\n<li>MutationObserver now catches YouTube videos added dynamically (lazy loading, AJAX pagination)<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>New settings page added<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<li>Automatic YouTube video detection<\/li>\n<li>9 customization options<\/li>\n<li>Responsive design<\/li>\n<li>Admin settings panel<\/li>\n<li>Plugin activation notice<\/li>\n<\/ul>","raw_excerpt":"A professional tool to add a YouTube subscribe button bar under your videos. Essential for channel growth and viewer conversion.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcm.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/268532","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcm.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcm.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcm.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=268532"}],"author":[{"embeddable":true,"href":"https:\/\/pcm.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/josevarghese"}],"wp:attachment":[{"href":"https:\/\/pcm.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=268532"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcm.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=268532"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcm.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=268532"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcm.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=268532"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcm.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=268532"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcm.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=268532"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}