Title: Server-Side Google Search
Author: Aptivate
Published: <strong>2015년 1월 6일</strong>
Last modified: 2015년 8월 17일

---

플러그인 검색

이 플러그인은 **최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다**. 워드프레스의
좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 
있을 수 있습니다.

![](https://s.w.org/plugins/geopattern-icon/server-side-google-search.svg)

# Server-Side Google Search

 작성자: [Aptivate](https://profiles.wordpress.org/aptivate/)

[다운로드](https://downloads.wordpress.org/plugin/server-side-google-search.1.0.3.zip)

 * [세부사항](https://ko.wordpress.org/plugins/server-side-google-search/#description)
 * [평가](https://ko.wordpress.org/plugins/server-side-google-search/#reviews)
 *  [설치](https://ko.wordpress.org/plugins/server-side-google-search/#installation)
 * [개발](https://ko.wordpress.org/plugins/server-side-google-search/#developers)

 [지원](https://wordpress.org/support/plugin/server-side-google-search/)

## 설명

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](https://github.com/jasonclark/digital-collections-custom-search-api)
by Jason Clark for Montana
 State University.

#### Available languages

 * English
 * Spanish (incomplete)

[Follow this project on Github](https://github.com/aptivate/server-side-google-search)

### Development

This plugin uses [wp-cli](http://wp-cli.org/) and [PHPUnit](https://phpunit.de/)
for testing.
 The tests require [runkit](https://github.com/zenovich/runkit) for
mocking functions.

 * Grab the latest source from github:
 * $ git clone git@github.com:aptivate/server-side-google-search.git
 * Install [wp-cli](http://wp-cli.org/#install)
 * Install [PHPUnit](https://phpunit.de/)
 * 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

## 설치

 1. Upload the plugin to the `/wp-content/plugins/` directory.
 2. Activate it through the **Plugins** menu in WordPress.
 3. Register your Google Custom Search Engine and get your Google Search Engine ID 
    and API key here: https://www.google.com/cse/
 4. Enable the plugin and enter the Google Search Engine ID and API key (**Settings**-
    > **Server-Side Google Search**)
 5. If necessary, add the default search widget to the sidebar where you want to see
    it
 6. Put the Server-Side Google Search widget on the sidebar where you want to see the
    results
 7. Your theme will need to override the page that displays the “Nothing Found”
     message
    when the search results are displayed.

#### Example of how to add custom metadata to search results

In your header.php:

    ```
    <!--
    <PageMap>
        <DataObject type="post_metadata">
            <Attribute name="modified_date" value="<?php the_modified_date( "M d, Y", '', '', true ); ?>" />
        </DataObject>
    </PageMap>
    -->
    ```

In your functions.php:

    ```
    function add_modified_date( $metadata, $item_data ) {
        return $metadata . sprintf(
            'Last modified on: %s',
            $item_data['pagemap']['post_metadata'][0]['modified_date']
        );
    }

    add_filter( 'ssgs-add-post-search-metadata',
                'add_modified_date', 10, 2 );
    ```

## 후기

이 플러그인에 대한 평가가 없습니다.

## 기여자 & 개발자

“Server-Side Google Search”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이
플러그인에 기여하였습니다.

기여자

 *   [ Aptivate ](https://profiles.wordpress.org/aptivate/)

[자국어로 “Server-Side Google Search”(을)를 번역하세요.](https://translate.wordpress.org/projects/wp-plugins/server-side-google-search)

### 개발에 관심이 있으십니까?

[코드 탐색하기](https://plugins.trac.wordpress.org/browser/server-side-google-search/)
는, [SVN 저장소](https://plugins.svn.wordpress.org/server-side-google-search/)를
확인하시거나, [개발 기록](https://plugins.trac.wordpress.org/log/server-side-google-search/)
을 [RSS](https://plugins.trac.wordpress.org/log/server-side-google-search/?limit=100&mode=stop_on_copy&format=rss)
로 구독하세요.

## 변경이력

#### 1.0.3

 * Removed deprecation warnings for WordPress 4.3
 * Fixed potential bug where sort argument wasn’t being preserved in links
 * Updated test infrastructure to use wp-cli
 * Documentation updates

#### 1.0.2

 * Added filter to allow custom metadata in search results

#### 1.0.1

 * Made display of URLs in search results optional (displayed by default)
 * Right aligned sort options in search results

#### 1.0.0

 * First version

## 기초

 *  버전 **1.0.3**
 *  최근 업데이트: **11년 전**
 *  활성화된 설치 **10+**
 *  워드프레스 버전 ** 3.7 또는 그 이상 **
 *  다음까지 시험됨: **4.3.34**
 *  언어
 * [English (US)](https://wordpress.org/plugins/server-side-google-search/)
 * 태그:
 * [google](https://ko.wordpress.org/plugins/tags/google/)[google custom search](https://ko.wordpress.org/plugins/tags/google-custom-search/)
   [google search](https://ko.wordpress.org/plugins/tags/google-search/)[SCE](https://ko.wordpress.org/plugins/tags/sce/)
 *  [고급 보기](https://ko.wordpress.org/plugins/server-side-google-search/advanced/)

## 평점

아직 제출된 리뷰가 없습니다.

[Your review](https://wordpress.org/support/plugin/server-side-google-search/reviews/#new-post)

[모든  리뷰 보기](https://wordpress.org/support/plugin/server-side-google-search/reviews/)

## 기여자

 *   [ Aptivate ](https://profiles.wordpress.org/aptivate/)

## 지원

할 말 있으신가요? 도움이 필요하신가요?

 [지원 포럼 보기](https://wordpress.org/support/plugin/server-side-google-search/)