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.
Mit Vorsicht verwenden
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.
- Kleine Benutzerbasis (<10 aktive Installationen)
- Bisher sehr wenige Bewertungen
Wie stapelt es sich?
Side-by-side bei Installationen, Updates, Bewertungen und SupportTägliche Downloads
Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.
Ranglisten
Where Haghs Preferred Source Butt… stands todayWordPress.org Ranglisten suchen
Live-Position in der Plugin-Suche, Top 100| Stichwort | Position |
|---|---|
| button | >100 |
| >100 | |
| preferred sources | #57 |
| SEO | >100 |
| Shortcode | >100 |
About Haghs Preferred Source Button for Google
Aus der offiziellen Readme · V1.2.0Beschreibung
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.
Merkmale
- 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
- Upload the plugin files to the
/wp-content/plugins/haghs-preferred-source-button-for-googledirectory, or install the plugin through the WordPress Plugins screen directly. - Aktivieren Sie das Plugin über den Bildschirm „Plugins“ in 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.
Änderungsprotokoll
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.
Für Entwickler
Ist das dein Plugin? Zeigen Sie die Zahlen.
Fügen Sie Ihrer Website, Docs oder GitHub Readme ein Live-Badge hinzu. Es wird von selbst aktualisiert - kein Konto erforderlich.
Best Haghs Preferred Source Button… alternatives
All button plugins →Fragen und Antworten
Haghs Preferred Source Button for G…: quick answers
Gerade Antworten, gezogen von Live WordPress.org Daten.
Quelle: 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).
Angetrieben von PageForge
Eine Vorlage und eine Tabelle. Eine echte Seite für jede Suche.
PageForge Verwandelt jede Zeile eines CSV in eine WordPress-Seite mit eigenem Titel, URL, SEO Felder und Schema entworfen. Kostenlos auf WordPress.org.
- CSV und XLSX, plus Google Sheets auf Beruf und Unternehmen
- seinen eigenen Titel, URL, SEO Felder und Schema für jede Seite
- Arbeitet mit dem Blockeditor, Elementor, Divi und Avada
- Kostenlos auf WordPress.org, keine Kreditkarte
