Haghs Preferred Source Button for Google
Adds a lightweight, customizable "Add as Preferred Source" button (Google's Preferred Sources feature) to your posts, pages, and custom post types.
Utiliser avec prudence
Haghs Preferred Source Button f… works, but test it on a staging site before relying on it in 2026. Was last updated 5 months ago, and scores 49/100 on our health check.
- Petite base d'utilisateurs (<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 Haghs Preferred Source Butt… stands todayWordPress.org Classements de recherche
Position en direct dans la recherche de plugins, Top 100| Mot-clé | Position |
|---|---|
| bouton | >100 |
| >100 | |
| preferred sources | #57 |
| référencement | >100 |
| shortcode | >100 |
About Haghs Preferred Source Button for Google
À partir du Lisezmoi officiel · v1.2.0Description
Haghs Preferred Source Button for Google lets your visitors add your site — or the exact post/page they’re reading — to their Google Preferred Sources with a single click, using Google’s official google.com/preferences/source link format. No API keys, no OAuth, no tracking scripts. Just a fast, simple button.
This plugin is developed independently by Benjamin Hagh Parast and is not affiliated with, endorsed by, or sponsored by Google. “Google” and “Preferred Sources” are referenced only to describe the feature this plugin links to.
Traits
- Fully customizable button text
- Choose where the button appears automatically: Header, Footer, Before Content, After Content, Navigation Menu, Floating Left, or Floating Right
- Show the button on any public post type – Posts, Pages, or any custom post type registered by your theme or other plugins – defaults to Posts only, since blog content usually carries the repeat-visit value
- Uses the exact permalink of the post/page being viewed, so visitors prefer the specific content they found, not just your homepage
[hpsbg_button]shortcode for manual placement anywhere, with optionaltextandurloverrides- Open link in a new tab (optional)
- Built-in guidance in the settings screen on Google’s Preferred Sources eligibility requirements, with links to check your own domain and to Google’s official documentation
- Clean uninstall — removes its single settings option, no leftover data
- No external libraries, no database tables, minimal CSS footprint
About Google Preferred Sources
Preferred Sources is a feature from Google that lets people choose the sites they want to see more of in Top Stories, AI Overviews, and other personalized search surfaces. There is no submission or application process — Google determines eligibility automatically by crawling and evaluating a site. Only domain-level or subdomain-level sites are eligible (a subdirectory such as example.com/blog never qualifies on its own), and eligibility is generally tied to publishing fresh, regular content that Google would also consider for Top Stories.
You can check whether your own domain is currently eligible at google.com/preferences/source, and read Google’s own guidance at Google Search Central’s Preferred Sources documentation. This plugin’s settings screen links to both, since the button itself is only useful once your site already qualifies — it cannot make an ineligible site eligible.
Installation
- Téléchargez les fichiers du plug-in dans le répertoire
/wp-content/plugins/haghs-preferred-source-button-for-googleou installez directement le plugin via l'écran des plugins WordPress. - Activez le plugin via l'écran "Plugins" dans WordPress.
- Go to Settings → Preferred Source Button to configure the button text and placement, and to check your Google eligibility.
- Optionally use the
[hpsbg_button]shortcode anywhere you want manual placement.
Journal de modifications
Plugin renamed. If upgrading manually from an older unpublished build, re-check your settings after updating, as the shortcode tag also changed from [add_as_preferred_google] to [hpsbg_button].
1.2.0
- Renamed plugin and slug to avoid trademark/naming confusion
- Prefixed all functions, classes, options, constants, and the shortcode tag with
hpsbg/HPSBGto avoid collisions - Added an eligibility information section to the settings screen, with links to check your domain and to Google’s official documentation
1.1.0
- “Show On” now lists every public post type (not just Posts/Pages), including custom post types
- Default changed to Posts only, since blog content is usually where repeat-visit value lives
1.0.0
- Initial release: customizable button text, placement options, post type targeting, per-post permalink targeting, and shortcode support.
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 Haghs Preferred Source Button… alternatives
All button plugins →FAQ
Haghs Preferred Source Button for G…: quick answers
Réponses directes, extraites des données en direct WordPress.org.
Source : WordPress.org
Is Haghs Preferred Source Button f… free?
Yes. Haghs Preferred Source Button f… is free to download and use from the official WordPress.org plugin directory.
Is Haghs Preferred Source Button f… safe to use in 2026?
Haghs Preferred Source Button f… works, but test it on a staging site before relying on it in 2026. Was last updated 5 months ago, and scores 49/100 on our health check.
How many websites use Haghs Preferred Source Button f…?
Haghs Preferred Source Button f… is active on <10 WordPress websites and has been downloaded 304 times since it launched in July 2026. It was downloaded 60 times in the last 30 days.
Does Haghs Preferred Source Button f… work with WordPress 7.1?
Haghs Preferred Source Button f… is officially tested up to WordPress 7.0.9, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
What PHP version does Haghs Preferred Source Button f… need?
Haghs Preferred Source Button f… requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Haghs Preferred Source Button f… last updated?
The latest version, 1.2.0, was released on July 16, 2026 (5 months ago).
Who makes Haghs Preferred Source Button f…?
Haghs Preferred Source Button f… is developed and maintained by Benjamin Hagh Parast.
What are the best alternatives to Haghs Preferred Source Button f…?
The most popular alternatives to Haghs Preferred Source Button f… are AddQuicktag (100K+ installs), WP Edit (40K+ installs) and Forget About Shortcode Butt… (20K+ 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
