# Discourse に Google Custom Search Engine を追加する方法

**URL:** https://meta.discourse.org/t/how-to-add-google-custom-search-engine-to-discourse/157159
**Category:** Support
**Created:** [2020 年 7 月 8 日午後 3:21 UTC](https://meta.discourse.org/t/how-to-add-google-custom-search-engine-to-discourse/157159 "2020-07-08T15:21:20Z")
**Posts on this page:** 1
**Showing post:** 14

<div class="post-metadata">

### Author: ![neounix](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neounix/32/215617_2.png) [@neounix](https://meta.discourse.org/u/neounix)
#### Post date: [2020 年 7 月 9 日午後 1:02 UTC](https://meta.discourse.org/t/how-to-add-google-custom-search-engine-to-discourse/157159/14 "2020-07-09T13:02:28Z")

</div>

> [@KranthiKiranGude](#):
>
> 提案1のサンプルコードスニペットについてお手伝いいただけますか？テーマのセクションにGCSEコードを貼り付けてみましたが、プレビューしても表示されません。

@KranthiKiranGude さん、こんにちは

以下のリンクが良い出発点となります。「theme component」というキーワードでメタを検索してみるのもおすすめです。

> [@Beginner's guide to using Discourse Themes](https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966):
>
> This is a crash course in Discourse theme basics. The target audience is everyone who is not familiar with Discourse themes. If you’ve already used Discourse theme / theme components, this guide is probably not something you need to read. What are themes and theme components? A theme or theme component is a set of files packaged together designed to either modify Discourse visually or to add new features. Let’s start with themes. Themes In general, themes are not supposed to be compatible …

こちらもご覧ください：

> [@Developing Discourse Themes & Theme Components](https://meta.discourse.org/t/developer-s-guide-to-discourse-themes/93648):
>
> Discourse Themes and Theme Components can be used to customize the look, feel and functionality of Discourse’s frontend. This section of the developer guides aims to provide all the reference materials you need to develop simple themes for a single site, right up to complex open-source theme components. This introduction aims to provide a map of all the tools and APIs for theme development. If you prefer a step-by-step tutorial for theme development, jump straight to: Themes vs. Theme Compon…

さらに、サンプルコードとして以下のリンクも参照してください：

`https://github.com/topics/discourse-theme-component`

[https://github.com/topics/discourse-theme-component](https://github.com/topics/discourse-theme-component)

お楽しみください！

---

_[View the full topic](https://meta.discourse.org/t/how-to-add-google-custom-search-engine-to-discourse/157159)._
