
前言介紹
- 這款 WordPress 外掛「Add as Preferred Source on Google」是 2025-09-08 上架。
- 目前有 40 個安裝啟用數。
- 上一次更新是 2026-01-23,距離現在已有 33 天。
- 外掛最低要求 WordPress 5.0 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 7.2 以上。
- 尚未有人給過這款外掛評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
mathewt |
外掛標籤
google search | add as trusted source | google trusted source | preferred news source | google preferred source |
內容簡介
<html>
<body>
<h3>外掛摘要:</h3>
<p>這款外掛在您的網站上顯示一個橫幅廣告,將訪客引導至 Google 的首選來源功能。點擊後,橫幅將帶用戶進入 Google 的偏好設置頁面,他們可以將您的網站設為其個性化搜索結果的首選來源。</p>
<h3>問題與答案:</h3>
<ul>
<li>
<strong>這款外掛的功能有哪些?</strong>
<ul>
<li>在您的網站上顯示可自訂橫幅廣告</li>
<li>連接至 Google 的首選來源功能</li>
<li>允許用戶將您的網站設置為其 Google 搜索設置的首選來源</li>
<li>提供橫幅自訂選項(顏色、文字、位置)</li>
<li>包含設備特定的顯示控制</li>
</ul>
</li>
<li>
<strong>Google 首選來源的相關資訊?</strong>
<ul>
<li>Google 的首選來源是一項功能,使用戶可以指定他們希望在搜索結果中看到更多的來源。這是 Google 的功能,與這個外掛無關。將您的網站設為首選來源的用戶可能會在其個性化搜索結果中更頻繁地看到您的內容。</li>
</ul>
</li>
<li>
<strong>這款外掛的特點?</strong>
<ul>
<li>可自訂橫幅文本,包括網站名稱變量</li>
<li>可自訂背景和文字顏色</li>
<li>位置控制(在頁面頂部或底部)</li>
<li>設備特定的顯示(手機、桌面或兩者)</li>
<li>基於 cookie 的關閉(用戶關閉後橫幅將在 7 天內隱藏)</li>
<li>響應式設計</li>
<li>可翻譯</li>
</ul>
</li>
<li>
<strong>技術要求?</strong>
<ul>
<li>WordPress 5.0 或更高版本</li>
<li>PHP 7.2 或更高版本</li>
<li>啟用 JavaScript 的現代網頁瀏覽器</li>
</ul>
</li>
</ul>
</body>
</html>
原文外掛簡介
Add as Preferred Source on Google plugin displays a banner and inline button on your website that directs visitors to Google’s preferred sources feature. When clicked, the banner takes users to Google’s preferences page where they can add your site as a preferred source for their personalized search results.
What it does:
Displays a customizable banner on your website
Links to Google’s preferred sources feature
Allows users to set your site as a preferred source in their Google Search settings
Provides banner customization options (colors, text, position)
Includes device-specific display controls
About Google Preferred Sources:
Google’s preferred sources is a feature that allows users to indicate which sources they want to see more of in their search results. This is a Google feature, not affiliated with this plugin. Users who add your site as a preferred source may see your content more frequently in their personalized search results.
DISCLAIMER: This plugin is not associated with Google and was created to help website owners make a banner and inline card for adding their sites to Google’s Preferred Source. The term “Google” is used solely to convey the plugin’s function, and we are not related to Google in any way.
Plugin Features:
Customizable banner text with website name variable
Color customization for background and text
Position control (top or bottom of page)
Device-specific display (mobile, desktop, or both)
Cookie-based dismissal (banner stays hidden for 7 days after user closes it)
Responsive design
Translation ready
Technical Requirements:
WordPress 5.0 or higher
PHP 7.2 or higher
Modern web browser with JavaScript enabled
Configuration
After installation, go to Settings > Add as Preferred Source in your WordPress admin to configure the plugin.
Step 1: Basic Settings
Enable Banner: Check this box to activate the banner on your website. The banner will not appear until this is enabled.
Website Name: Enter your website or publication name. This defaults to your WordPress site title but can be customized. This name will replace the {website_name} placeholder in your banner text.
Banner Text: Customize the message displayed to visitors. Default text is “Add as a preferred source on Google”. You can use the placeholder {website_name} anywhere in your text, and it will be automatically replaced with the website name you specified above.
Example: “Add {website_name} as your preferred source on Google”
Example: “Get more content from {website_name} – add us as a preferred source”
Banner Position: Choose where the banner appears on your website:
Top: Banner appears at the top of the page, above all content
Bottom: Banner appears at the bottom of the page (recommended for better user experience)
Step 2: Appearance Customization
Banner Background Color: Click the color picker to choose a background color that matches your website design. Default is dark gray (#1a1a1a).
Text Color: Select the color for the banner text and close button. Ensure good contrast with your background color for readability. Default is white (#ffffff).
Step 3: Display Options
Show on Mobile: Check this box to display the banner on mobile devices (phones and tablets).
Show on Desktop: Check this box to display the banner on desktop computers and laptops.
You can enable both, or choose to show the banner only on specific device types based on your audience preferences.
Step 4: Save and Test
Click Save Changes to apply your settings
Visit your website to see the banner in action
Click the banner to test the Google redirect functionality
Use the close (×) button to test the dismissal feature
Testing Tips:
* Clear your browser cache and any server/plugin caches after making changes
* Test in incognito/private browsing mode to see the banner fresh
* Add a parameter to your URL (e.g., ?test=1) to bypass cache
* Check on different devices based on your display settings
* The banner will stay hidden for 7 days after a user closes it
Preview Feature:
The settings page includes a live preview that updates as you modify colors, text, and position. This helps you see how the banner will look before saving changes.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Add as Preferred Source on Google」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
暫無相關外掛推薦。
