该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

WP Google Search

描述

If you would like a Google search feature on your WordPress site, you only need to register to Google Custom Search, get your Google Search Engine ID, and enter it in the plugin settings page.
Then your custom search engine is ready for use, just put the new Google search box widget on the sidebar, and enjoy it!

In this way the plugin enables you to insert Google search into your website, or a collection of websites easily. You can search both web pages and images.
You can define if you want to search only on your site (or given sites), or the entire web.
It is possible to customize your search features, the look and feel (layout, themes, custom colors and fonts, thumbnails), and much more.
All these settings can be specified on the Google Custom Search Engine admin site: https://www.google.com/cse/
Your changes will appear instantly on your site automatically.

After you registered to Google Custom Search Engine and get your Google Search Engine ID, you need to enter the ID in the plugin settings page: Settings -> WP Google Search
Use WP Google Search widget or [wp_google_searchbox] shortcode to place search box on your site.

Search results can be displayed on a normal page or in a popup window. Use Full Width layout or Overlay (popup) layout on Google Custom Search Admin site to setup it.

It does not require any coding or other complicated operation.

Please find more information in the product documentation:
WP Google Search Documentation

Available languages

屏幕截图

  • Google Custom Search

  • Basic Setup, get your search engine ID

  • Enter search engine ID into plugin admin panel

  • Place WP Google Search widget on sidebar

  • Customization example (select layout)

  • Customization example (look and feel - colors)

安装

  1. Upload the plugin to the ‘/wp-content/plugins/’ directory.
  2. Activate it through the ‘Plugins’ menu in WordPress.
  3. Register to Google Custom Search Engine and get your Google Search Engine ID here: https://www.google.com/cse/
  4. Enable the plugin and enter Google Search Engine ID: Settings -> WP Google Search (See screenshots for more information.)

常见问题

You can find FAQ here:

Documentation / FAQ

评价

2023 年 9 月 20 日
Hello, I noticed that the plugin hasn't been updated in a while, but I installed it and it worked fine. I would like to know if this plugin still has updates, and if I can use it without problems
2022 年 10 月 21 日
Here, it works... Thank you.
2021 年 9 月 17 日
An easy to use plugin that just does its job. No constant (needless) updates, etc - the developers seem to have just built it right from the start. Writing this because I saw a warning when looking at its page here: "This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress." Well, I've tested it, it works. And the developers seem quite active on the plugin's support page - answering and resolving the support questions. Looks fine to me. Doesn't slow things down. Works as it should.
2021 年 3 月 11 日
This plugin does what I expected (although it hasn’t been tested with the current WordPress 5.7 release) and it was pretty easy to setup. I recommend it to everyone! I only had a little hard time when adjusting the look of the search box but there was a conflict between my WordPress theme and Google Custom Search Engine itself.
阅读所有30条评价

贡献者及开发者

“WP Google Search” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

「WP Google Search」插件已被翻译至 6 种本地化语言。 感谢所有译者为本插件所做的贡献。

将“WP Google Search”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.1.0

New version for the latest WP version

1.0.9

  • Modify: Change Text Domain from wgs to wp-google-search

1.0.8

  • Minor adjustments

1.0.7

  • Fix Notice: Undefined index: use_default_correction_css2, css3 in wp-google-search.php on line 69 and 72

1.0.6

  • Eliminate old style constructor call in WGS_Widget
  • Add css correction v2 and v3 (v1 is deprecated)

1.0.5

  • Add Russian translation
  • Add target link blank option

1.0.4

  • Add Swedish translation
  • Add Danish translation

1.0.3

  • Add “Support Overlay Display” option, for display search results in overlay window, without loading another page.

1.0.2

  • Portuguese (BR) translation
  • Re-create search page during re-activation if it does not exist

1.0.1

  • Use new HTML5-valid div tags according to Google documentation: You can use HTML5-valid div tags as long as you observe these guidelines: The class attribute must be set to gcse-XXX, Any attributes must be prefixed with data-.
  • Eliminate Enable plugin checkbox in settings page
  • Eliminate donation button inside settings page
  • Descriptions are added to settings page
  • Spanish and Serbian translations

1.0.0

  • First version