Linux 软件免费装
Banner图

Preferable: AI Summary & Preferred Source Buttons

开发者 wpformation
更新时间 2026年10月11日 16:57
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

google ai share buttons summary preferred sources

下载

0.2.2

详情介绍:

🇫🇷 Fully translated into French. Interface intégralement traduite en français. AI summary buttons and the Google preferred source button, in one free plugin, with no third-party script before a click. https://www.youtube.com/watch?v=0mAGYMJagb4 Make your site the source your readers prefer, in their AI assistant and on Google. Preferable adds two kinds of buttons under your posts. Summarize with AI. Readers open the post in ChatGPT, Claude, Perplexity, Mistral or Google AI Mode, with a short question that asks for a faithful summary. Busy readers get the gist in the assistant they already use, and your page is the source of the answer. Gemini, Copilot and Grok are available too. Add as a preferred source on Google. Readers who pick your site as a preferred source see its articles more often in their Top Stories, marked as preferred, also in AI Mode and AI Overviews. One click opens Google's own window. In the card layout, the button comes with an invitation, an explanation, a note and a drawing of the result, all editable. Built to be trusted Beautiful by default Placed where you want The settings also give the Google link and its QR code (SVG, PNG) for newsletters, social posts or print. The QR code is drawn in your browser. The [preferable] shortcode [preferable] shows the buttons with your settings. Options override them: In a theme template, <?php do_action( 'preferable_render', array( 'show' => 'google' ) ); ?> does nothing when Preferable is deactivated. For developers Translations Preferable ships with a complete French translation: settings, editor, block, widget and buttons. Translations into other languages are welcome on translate.wordpress.org. Credits Made by Fabrice Ducarme of WPFormation. An optional credit link under the buttons is off unless you turn it on. Bundled resources, licenses in assets/licenses/ and assets/fonts/: assistant and Google icons from Simple Icons (CC0 1.0) and LobeHub Icons (MIT), the uqr QR code library (MIT), the Inter and JetBrains Mono fonts (SIL Open Font License 1.1). Preferable is not affiliated with OpenAI, Anthropic, Perplexity, Mistral AI, Google, Microsoft or SpaceXAI (formerly xAI). Their names and logos belong to them and only identify each service.

安装:

  1. Install and activate Preferable from Plugins > Add New.
  2. The buttons appear under your posts at once.
  3. Adjust assistants, Google button and appearance in Settings > Preferable.

屏幕截图:

  • The Graphic style with a custom palette, the Google button first.
  • The Editorial style in a compact row.
  • The card on a phone.
  • Settings: the AI buttons, next to a live preview rendered by your site.
  • Settings: the Google button, with a check that Google accepts your domain.
  • Settings: four styles to pick from; layout, order, alignment, icons and colors follow.
  • The Preferable block in the editor.

升级注意事项:

0.2.2 New name and prefix: use the [preferable] shortcode, preferable_render() and the preferable_* filters.

常见问题:

Does Preferable send anything to the AI services or to Google?

Not while the page loads. A service is contacted only when a reader clicks its button, by the reader's browser.

Why do Gemini and Copilot copy the question?

They cannot receive a question in a link. Preferable copies it to the clipboard as the assistant opens, and tells the reader to paste it.

Is my site eligible as a Google preferred source?

Domains and subdomains are, sites in a subdirectory are not: the settings tell you. For AI Mode and AI Overviews, your site must stay included in Search generative AI features, in Search Console.

The Google window reloads my article instead of closing

Your server probably sends a Cross-Origin-Opener-Policy: same-origin header. Use same-origin-allow-popups instead, or remove the header.

I also use OGEEAT: why do my visitors see no Preferable buttons?

OGEEAT, a free plugin by the same author, can show its own AI and Google buttons. While they are on, Preferable shows nothing to your visitors, to avoid two sets of buttons. Turn them off in OGEEAT > Settings > AI, GEO & Firewall.

Does it work with page builders and SEO plugins?

Tested with Elementor, Yoast SEO, Rank Math, All in One SEO, SEOPress and The SEO Framework: their descriptions and social tags never contain the buttons' text.

Where is the source code of the JavaScript files?

In the plugin: build/ is compiled from src/ with @wordpress/scripts. Run npm install, then npm run build, in the plugin folder to rebuild it.

Can I put the Google button in my sidebar or footer?

Yes, with the "Preferred source button for Google" block in Appearance > Widgets or in a template part, or with the classic Preferable widget. Outside single posts, it shows the Google button for your whole site.

更新日志:

0.2.2