[WordPress] 外掛分享: Sitelinks Search Box

WordPress 外掛 Sitelinks Search Box 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Sitelinks Search Box」是 2014-09-09 上架。
  • 目前有 3000 個安裝啟用數。
  • 上一次更新是 2025-03-22,距離現在已有 43 天。
  • 外掛最低要求 WordPress 3.0.1 以上版本才可以安裝。
  • 有 6 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

apasionados | netconsulting |

外掛標籤

google sitelinks | Sitelinks Search Box | google sitelinks search box |

內容簡介

此外掛在首頁加入一個「Google站內搜尋框」的JSON-LD schema.org標記。該功能是 Google 搜尋引擎的新功能,於2014年9月5日早上7:44在 Google 網站管理員中心官方部落格中介紹。您可以在 Google 開發者網站上找到更多信息。

使用 Google站內搜尋框,搜尋用戶可以更快地從搜索結果中找到您的內容。搜尋用戶有時會使用導航查詢-只輸入已知網站的品牌名稱或 URL-以便在該站點上進行更詳細的查詢。例如,假設有人想在 YouTube 上找到有關那隻有罪的狗的視頻。他們輸入 YouTube、you-tube 或 youtube.com 到 Google 搜尋中,進入YouTube,然後實際搜索有罪的狗視頻。

站內搜尋框刪除了多餘的步驟:搜尋 YouTube 會在站內搜尋區域中顯示一個站內搜索框,讓用戶可以直接搜索有罪的狗視頻,而不必點擊站點。

如果您使用 WordPress SEO by Yoast 版本 1.6 或更高版本,您就不需要使用此外掛,因為此功能已包含在1.6更新版本中。有關問題的更多信息可在該外掛的「常見問題」部分找到。

此外掛的功能包括在首頁加入「Google站內搜尋框」的 schema.org JSON-JD 標記。啟用外掛後,您只需「等待 Google 搜尋演算法將您的站點識別為新的站內搜尋框候選人即可。」

此外掛已翻譯為英語和西班牙語,如果您想在其他語言使用此外掛並擅於翻譯,請聯繫外掛作者協助翻譯。外掛的語言文件可在 languages 文件夾中找到。

有關該外掛的進一步閱讀材料,您可以在作者部落格中找到不同語言的描述。如果您需要進一步的信息,請發送電子郵件給作者聯繫。翻譯 WordPress 外掛的步驟包括運行一個工具編輯所有可本地化的文件生成一個 POT 文件,而該外掛已在 languages 文件夾中包含了 POT 文件。然後,使用純文本編輯器或特殊工具翻譯並保存翻譯文件即可。

原文外掛簡介

PLEASE NOTE: Since November 2024 Google doesn’t support the schema for the Sitelinks Search Box anymore. After more than ten years Search Advocate John Mueller confirmed that the feature will be retired and the searchbox will not appear in the SERPs anymore.
Since November 2024 there is no need to install this plugin.
Quoting the post from Google Developers: While you can remove sitelinks search box structured data from your site, there’s no need to do so. Unsupported structured data like this won’t cause issues in Search, and won’t trigger errors in Search Console reports.
If you are using tis plugin and reading this readme.txt file, you can uninstall it.

xxx PLUGIN DESCRIPTION (until November 2024) xxx
This plugin adds the JSON-LD schema.org markup for the “Google Sitelinks Search Box” on the homepage.
This new feature of the Google Search Engine was presented on the Official Google Webmaster Central Blog (05 Sep 2014 07:44 AM PDT). There is more info on the Google Developers Website.
With Google sitelinks search box, people can reach your content more quickly from search results. Search users sometimes use navigational queries -typing in the brand name or URL of a known site- only to do a more detailed query once on that site. For example, suppose someone wants to find that video about the guilty dog on YouTube. They type YouTube, or you-tube, or youtube.com into Google Search, follow the link to YouTube, and then actually search for the dog video.
The sitelinks search box removes that extra step: a query for youtube displays a site search box in the sitelinks section, letting the user immediately search for that guilty dog video without having to click through to the site first.

If you use WordPress SEO by Yoast version 1.6 or newer, you don’t need to use this plugin, as this feature has been included in the version 1.6 update. There is more information in the FAQ section of the plugin.

What can I do with this plugin?
This plugin adds the schema.org JSON-JD markup for the “Google Sitelinks Search Box” on the homepage.
After activating the plugin you only have to “Wait for Google Search algorithms to identify your site as a candidate for the new sitelinks search box”.
SITELINK SEARCH BOX in your Language!
The plugin was released first in English and Spanish (es_ES). In the “languages” folder we have included the necessary files to translate this plugin. Translation to ar_SA, tr_TR, de_DE, fr_FR and ru_RU was added in further versions.
If you would like the plugin in your language and you’re good at translating, please use the native WordPress Translation functionality.
New to Translating a plugin? First read through the Translator Handbook, then select your locale at Translating WordPress and finally go to the translation page for this plugin to translate it.
Further Reading
You can access the description of the plugin in Spanish at: Sitelinks Search Box en castellano.
Contact
For further information please send us an email.
Translating WordPress Plugins
The steps involved in translating a plugin are:

Run a tool over the code to produce a POT file (Portable Object Template), simply a list of all localizable text. Our plugins allready havae this POT file in the /languages/ folder.
Use a plain text editor or a special localization tool to generate a translation for each piece of text. This produces a PO file (Portable Object). The only difference between a POT and PO file is that the PO file contains translations.
Compile the PO file to produce a MO file (Machine Object), which can then be used in the theme or plugin.

In order to translate a plugin you will need a special software tool like poEdit, which is a cross-platform graphical tool that is available for Windows, Linux, and Mac OS X.
The naming of your PO and MO files is very important and must match the desired locale. The naming convention is: language_COUNTRY.po and plugins have an additional naming convention whereby the plugin name is added to the filename: pluginname-fr_FR.po
That is, the plugin name name must be the language code followed by an underscore, followed by a code for the country (in uppercase). If the encoding of the file is not UTF-8 then the encoding must be specified.
For example:

en_US – US English
en_UK – UK English
es_ES – Spanish from Spain
fr_FR – French from France
zh_CN – Simplified Chinese

A list of language codes can be found here, and country codes can be found here. A full list of encoding names can also be found at IANA.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Sitelinks Search Box」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.3 | trunk |

延伸相關外掛(你可能也想知道)

暫無相關外掛推薦。

文章
Filter
Apply Filters
Mastodon