YT Sub Counter
YT Sub Counter displays a YouTube “Subscribe” button with your channel’s live subscriber count, powered by the official YouTube subscribe button embed.
Utiliser avec prudence
YT Sub Counter works, but test it on a staging site before relying on it in 2026. It runs on 10+ sites and was last updated 3 months ago, and scores 56/100 on our health check.
- Testé avec le dernier WordPress (7.1)
- Petite base d'utilisateurs (plus de 10 installations actives)
- Très peu de critiques jusqu'à présent
Comment s'accumule-t-il ?
Côte à côte sur les installations, les mises à jour, les évaluations et le supportTéléchargements quotidiens
Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.
Classements
Where YT Sub Counter stands todayWordPress.org Classements de recherche
Position en direct dans la recherche de plugins, Top 100| Mot-clé | Position |
|---|---|
| bloc | >100 |
| social | >100 |
| Subscribe Button | >100 |
| subscriber count | #67 |
| youtube | >100 |
Adoption de version
Part de sites actifs par version.
About YT Sub Counter
From the official readme · v3.4.0Description
YT Sub Counter displays a YouTube “Subscribe” button with your channel’s live subscriber count, powered by the official YouTube subscribe button embed.
Add the button with the “YouTube Subscribe” block in the editor, or with the [ytsub] shortcode. The block works in posts, pages and the Site Editor, so you can drop it into a header, footer or sidebar template, or sit it in a Row next to core’s Social Icons block as one more social button.
Site-wide defaults are configured under Settings > YT Sub Counter:
- Channel ID
- Layout (default or full)
- Theme (default or dark)
- Subscriber count visibility (shown or hidden)
Every option on the block starts at “Use site default” and can be overridden on an individual block, or per shortcode: [ytsub theme="dark" count="hidden"].
The “Youtube Subscribers” widget is still included and existing widgets keep working, but it is legacy. Block themes have no widget areas at all, so the block is the way to place the button there.
Services externes
This plugin relies on Google’s YouTube subscribe button embed to render the live subscriber count and “Subscribe” button. This is a third-party/external service provided by Google.
On front-end pages that display a subscribe button, the plugin enqueues Google’s platform.js script from https://apis.google.com/js/platform.js. Pages with no block, shortcode or widget on them do not load it. Once loaded, that script (running in the visitor’s browser, not on your server) connects to YouTube/Google servers to render the subscribe button and fetch the channel’s live subscriber count. As with any embedded third-party script, this transmits the visitor’s IP address and standard browser/request data (such as the user agent and referring page) to Google, and may set Google cookies, in accordance with Google’s own policies.
No data is sent to Google from your server, and the plugin itself does not collect, store or transmit any personal data.
This service is provided by Google LLC:
* Terms of Service: https://policies.google.com/terms
* Privacy Policy: https://policies.google.com/privacy
* YouTube Terms of Service: https://www.youtube.com/t/terms
The script is required for the subscribe button to work, so there is no setting to disable it. Removing the block, shortcode and widget, or deactivating the plugin, stops it from loading.
Installation
- Téléchargez les fichiers du plug-in dans le répertoire
/wp-content/plugins/show-youtube-subscribers-countou installez directement le plugin via l'écran des plugins WordPress. - Activez le plugin via l'écran "Plugins" dans WordPress.
- Go to Settings > YT Sub Counter and enter your YouTube Channel ID. You can find your Channel ID at https://www.youtube.com/account_advanced
- Edit any post, page or template and add the “YouTube Subscribe” block, or use the
[ytsub]shortcode.
Journal de modifications
Adds a settings screen, a "YouTube Subscribe" block and a [ytsub] shortcode, so the button works on block themes, which have no widget areas. Existing widgets keep working.
3.4.0
- Improve: the settings screen is laid out in cards, with the channel and appearance options separated and instructions for the block, shortcode and widget alongside them.
- New: a preview of the subscribe button on the settings screen that updates as you change layout, theme and count.
- New: the block shows that same preview on the canvas, instead of a grey placeholder box, so it looks like what visitors will see.
- New: the block uses the YouTube mark as its icon in the inserter and list view.
- New: copy button for the [ytsub] shortcode, and help tabs on the settings screen.
- Improve: a warning on the settings screen, and in the block, when no channel ID is set and nothing will be displayed.
- Assets: plugin icon and header image for the plugin directory.
3.3.0
- New: settings screen under Settings > YT Sub Counter for site-wide defaults.
- New: “YouTube Subscribe” block, for posts, pages and the Site Editor. This replaces the widget on block themes, which have no widget areas, and can sit in a Row alongside the Social Icons block.
- New: [ytsub] shortcode, for templates and other places blocks are not available.
- New: Settings link on the plugins screen.
- Improve: widget options left empty now fall back to the site-wide settings.
- Fix: option values (default, full, dark, hidden) were passed through translation functions, which could break the button on non-English sites.
- Harden: channel IDs and select values are validated against an allow list on save and on output.
- Privacy: Google’s platform.js is now loaded only on pages that actually display a subscribe button, instead of on every front-end page.
- Remove: an empty stylesheet and a placeholder script that were enqueued on every front-end page.
- Docs: describe when platform.js is loaded, and correct the screenshot list.
- Update: requires WordPress 6.3, for the block’s apiVersion 3 and iframe editor compatibility.
- Update: tested up to WordPress 7.1.
3.1.1
- Fix: “Tested up to” now correctly lists only the major WordPress version.
- Docs: disclose the external YouTube/Google platform.js service in this readme.
- I18n: text domain corrected to match the plugin slug (show-youtube-subscribers-count).
- Security: escape the filtered widget title with esc_html() before output.
- Fix: renamed the generic “google” script handle to the prefixed “ytsub-youtube-platform”.
3.1.0
- Security: escape widget output (channel, layout, theme, count) with esc_attr() to prevent stored XSS via widget settings.
- Fix: enqueue js/main.js as a script instead of a stylesheet.
- Fix: correct asset URL resolution so css/js load from the plugin root.
- Update: tested up to WordPress 7.0.2.
2.0.0
- Add theme options dark and default.
- Correct error when using a non custom YouTube URL.
1.0.0
- Version initiale.
Captures d'écran
Pour les développeurs
Est-ce votre plugin ? Montrez les chiffres.
Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.
Best YT Sub Counter alternatives
Tous les plugins de blocs →FAQ
YT Sub Counter: quick answers
Réponses directes, extraites des données en direct WordPress.org.
Source : WordPress.org
Is YT Sub Counter free?
Yes. YT Sub Counter is free to download and use from the official WordPress.org plugin directory.
Is YT Sub Counter safe to use in 2026?
YT Sub Counter works, but test it on a staging site before relying on it in 2026. It runs on 10+ sites and was last updated 3 months ago, and scores 56/100 on our health check.
How many websites use YT Sub Counter?
YT Sub Counter is active on 10+ WordPress websites and has been downloaded 3,405 times since it launched in October 2018. It was downloaded 71 times in the last 30 days.
Does YT Sub Counter work with WordPress 7.1?
Yes. The developer has tested YT Sub Counter up to WordPress 7.1.5, the latest release. It requires WordPress 6.3 or newer.
What PHP version does YT Sub Counter need?
YT Sub Counter requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was YT Sub Counter last updated?
The latest version, 3.4.0, was released on August 27, 2026 (3 months ago).
Who makes YT Sub Counter?
YT Sub Counter is developed and maintained by PinoyITSolution.
What are the best alternatives to YT Sub Counter?
The most popular alternatives to YT Sub Counter are Spectra Legacy (1M+ installs), Breadcrumb NavXT (700K+ installs) and PDF Embedder (300K+ installs).
Propulsé par PageForge
Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.
PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.
- CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
- Son propre titre, URL, SEO champs et schéma pour chaque page
- Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
- Gratuit sur WordPress.org, pas de carte de crédit
