WordPress plugin intelligence profile

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.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 7.0
Current version1.2.0
WordPress coverageTested up to WordPress 7.0
Minimum stackWP 5.9 · PHP 7.4
Directory statusactive
Last directory update16 Jul 20263mo ago
Active installationsNewAdoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Haghs Preferred Source Button for Google version 1.2.0 as active, updated 3mo ago and tested up to WordPress 7.0.

Overview

About this plugin

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.

Features

  • 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 optional text and url overrides
  • 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. 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.

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.

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • preferred sources
  • button
  • google
  • seo
  • shortcode
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 7.0

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 7.0.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to7.0
Minimum requirementsWordPress 5.9 · PHP 7.4
Update activity16 Jul 20263mo ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.