前言介紹
- 這款 WordPress 外掛「Server-Side Google Search」是 2015-01-05 上架。
- 目前有 10 個安裝啟用數。
- 上一次更新是 2015-08-17,距離現在已有 3547 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 3.7 以上版本才可以安裝。
- 尚未有人給過這款外掛評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
aptivate |
外掛標籤
SCE | google | google search | google custom search | Server-Side Google Search |
內容簡介
此外掛可在您的網站上加入 Google 自訂搜尋,但與其他外掛不同之處在於其運作於伺服器端,因此無須 JavaScript,
並能維持頁面尺寸小。
管理介面乃基於 [WP Google Search plugin] 的介面而建立
(https://wordpress.org/plugins/wp-google-search/)。
與 Google API 的接口基於 Montana State University 的 Jason Clark 所設計的 Digital Collection Search。
支援語言
英文
西班牙文 (未完成)
在 Github 上關注此專案
開發
此外掛使用wp-cli 和 PHPUnit進行測試。
進行測試需要runkit,以進行模擬功能。
從 Github 上抓取最新的原始碼:
$ git clone [email protected]:aptivate/server-side-google-search.git
安裝wp-cli
安裝PHPUnit
設置 runkit:
$ git clone https://github.com/zenovich/runkit.git
$ cd runkit
$ phpize
$ ./configure
$ sudo make install
將以下內容加入 /etc/php5/cli/php.ini 檔案:
extension=runkit.so
runkit.internal_override=1
安裝測試版本的 WordPress 環境:
cd server-side-google-search
bash bin/install-wp-tests.sh test_db_name db_user ‘db_password’ db_host version
其中:
** test_db_name 為您的一時性 WordPress 測試資料庫的名稱
** db_user 為資料庫使用者名稱
** db_password 為密碼
** db_host 為資料庫主機 (例如 localhost)
** version 為 WordPress 的版本(例如 4.2.2 或 latest)
執行測試
phpunit
原文外掛簡介
This plugin adds Google Custom Search to your website, but unlike other plugins
operates on the server side, thus eliminating the need for JavaScript and
keeping the page size small.
The admin interface is based on that used by the [WP Google Search plugin]
(https://wordpress.org/plugins/wp-google-search/)
The interface with the Google API is based on Digital Collection Search by Jason Clark for Montana
State University.
Available languages
English
Spanish (incomplete)
Follow this project on Github
Development
This plugin uses wp-cli and PHPUnit for testing.
The tests require runkit for mocking functions.
Grab the latest source from github:
$ git clone [email protected]:aptivate/server-side-google-search.git
Install wp-cli
Install PHPUnit
Set up runkit:
$ git clone https://github.com/zenovich/runkit.git
$ cd runkit
$ phpize
$ ./configure
$ sudo make install
Add the following lines to /etc/php5/cli/php.ini:
extension=runkit.so
runkit.internal_override=1
Install the test WordPress environment:
cd server-side-google-search
bash bin/install-wp-tests.sh test_db_name db_user ‘db_password’ db_host version
where:
** test_db_name is the name for your temporary test WordPress database
** db_user is the database user name
** db_password is the password
** db_host is the database host (eg localhost)
** version is the version of WordPress (eg 4.2.2 or latest)
Run the tests
phpunit
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Server-Side Google Search」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
1.0.0 | 1.0.1 | 1.0.2 | 1.0.3 | trunk |
延伸相關外掛(你可能也想知道)
Site Kit by Google – Analytics, Search Console, AdSense, Speed 》Site Kit是Google官方的WordPress外掛程式,提供有關人們如何尋找和使用您的網站的洞察。Site Kit是一站式解決方案,可部署、管理並獲取關鍵Google工具的見解...。
Google for WooCommerce 》, Google Listings & Ads可讓您輕鬆地向Google平台上的購物者展示您的產品。無論您是數位廣告的新手還是市場營銷專家,您都可以通過免費和廣告來擴大您的...。
GTM4WP – A Google Tag Manager (GTM) plugin for WordPress 》Google Tag Manager (GTM) 是 Google 免費工具,讓每個人都能使用直覺的網頁 UI 管理並部署分析和行銷標籤,以及其他程式碼片段。欲瞭解更多此工具信息,請前...。
Widgets for Google Reviews 》onal version of our review software, you can:, , , Display unlimited Google Reviews, Customize widget design and behavior, Respond to reviews direc...。
GA Google Analytics – Connect Google Analytics to WordPress 》t connects your WordPress website to Google Analytics. It supports Universal Analytics (analytics.js), Global Site Tag (gtag.js), and Google Analyt...。
OMGF | GDPR/DSGVO Compliant, Faster Google Fonts. Easy. 》, 使用 Google 的字型服務,怎麼可能與 GDPR 不符呢?事實上,當使用者的瀏覽器要求字型時,他們的 IP 會被 Google 記錄並用於分析。, — Lifehacker, , OMG...。
Nextend Social Login and Register 》ge and registration form, link the social accounts to the existing WordPress user accounts or create new users if necessary, enable users to link t...。
Widgets for Google Reviews 》iews plugins:, , Facebook Reviews Bundle - display Facebook business reviews on your website using official Facebook API, Yelp Reviews Bundle - dis...。
Local Google Fonts 》將使用的 Google 字體儲存在您的伺服器上,讓您的網站更符合 GDPR 條例 💯。, 約有 5,000 萬*個網站使用 Google Fonts,而在 2022 年一家德國法院裁定使...。
Web Stories 》Web Stories 是一種免費、開放網絡的視覺故事格式,讓您能夠輕鬆地創建具有引人入勝的動畫和可點擊互動的視覺敘事,並讓讀者沉浸在優美且快速加載的全屏體驗...。
AI Powered Marketing 》k a Google Merchant Center Account, With Kliken, you can easily create or link a Google Merchant Center Account and optimize your product feeds wit...。
Simple Google reCAPTCHA 》Simple Google reCAPTCHA將保護您的WordPress!您可以在默認的v2復選框和v3(如隱形reCAPTCHA)之間進行選擇。, 不再有垃圾評論和針對用戶帳戶的暴力攻擊。小...。
Login No Captcha reCAPTCHA 》此外掛新增了 Google 無人類驗證功能的勾選框,可應用於您的 WordPress 和 Woocommerce 登錄、忘記密碼及使用者註冊頁面,讓人類使用者輕鬆透過勾選框登入,...。
Analyticator 》檢查最新的 WordPress 優惠,適用於您的網站。, Google Analyticator 讓您輕鬆在 WordPress 儀表板中查看 Google Analytics 數據。這樣就不需要編輯您的佈景...。
Simple Calendar – Google Calendar Plugin 》Simple Calendar 是將 Google 日曆事件添加到 WordPress 網站上最簡單的方法。快速設置。細調到您的需求。適用於手機的響應式設計。, Simple Calendar 功能, ...。