跳到内容

Search with Google

v1.2.3

rtCamp · 2020年10月19日 上架

Replace WordPress default search with server-side rendered Google Custom Search results.

正在使用
60+
评分
3.0 / 5
累计下载
6,732
最近更新
2025年4月29日
4 条评价需要 WordPress 4.8+已测试到 6.8.13PHP 7.4+

This plugin will replace the WordPress default search query with server-side results from either the Custom Search Site Restricted JSON API or the Custom Search JSON API. You can make your selection within the settings > Reading > Search type. This replacement is done on the WordPress back-end, so results appear as normal within WordPress search.

Requirements

  1. Google API Key
  2. Programmable Search engine ID

Setup

  1. Get Google API key. An API key is a way to identify your client to Google.
  2. Get Programmable Search engine ID. In Google settings, restrict the Search engine to only search for your one site.
  3. On WordPress dashboard, set API Key and Custom Search Engine ID in the plugin settings. Dashboard > Settings > Reading > Search with Google Settings.
  4. Select the search type from Custom Search Site Restricted JSON API or Custom Search API. (Refer Notes section for more details)

Notes

  1. Custom Search Site Restricted JSON API can show only 100 search results for the query.
  2. A result page can have maximum of 10 results.
  3. Assistance for Custom Site Restricted Search JSON API is scheduled to cease as of December 18, 2024. Read more. Due to this modification, we are introducing an opt-in feature that enables the use of solely the Custom Search API, as opposed to the Custom Site-restricted Search API. This will allow you to continue using the Custom Search API after December 18, 2024.

BTW, We’re Hiring!

Join us at rtCamp, we specialize in providing high performance enterprise WordPress solutions

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums