# Search option not working

**URL:** <https://forum.ghost.org/t/search-option-not-working/10581>\
**Category:** Installation\
**Created:** [December 1, 2019, 8:22pm UTC](https://forum.ghost.org/t/search-option-not-working/10581 "2019-12-01T20:22:46Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Happyfeet01](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/happyfeet01/32/5283_2.png) [@Happyfeet01](https://forum.ghost.org/u/Happyfeet01)\
**Post date:** [December 1, 2019, 8:22pm UTC](https://forum.ghost.org/t/search-option-not-working/10581/1 "2019-12-01T20:22:46Z")

</div>

Hello,

I would get the search working on my Blog. Recently switch from Wordpress to Ghost. I followed this Guide on [GitHub](https://github.com/HauntedThemes/ghost-search), also tried an HountedTheme in my Blog [https://dasnetzundich.de](https://dasnetzundich.de) but get no search results. What is wrong and can anyone help me?

Best regards

Lars

---

<div class="post-metadata">

**Author:** ![ahmadajmi](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/ahmadajmi/32/23173_2.png) [@ahmadajmi](https://forum.ghost.org/u/ahmadajmi)\
**Post date:** [December 1, 2019, 8:57pm UTC](https://forum.ghost.org/t/search-option-not-working/10581/2 "2019-12-01T20:57:01Z")

</div>

Looks like a configuration is missing. I would recommend checking the theme docs for theme configs.

 ![11%20PM](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/2X/8/81f4bfbad98cd37b4d534ae82f4ba0abfdfb48cc.png)

---

<div class="post-metadata">

**Author:** ![Happyfeet01](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/happyfeet01/32/5283_2.png) [@Happyfeet01](https://forum.ghost.org/u/Happyfeet01)\
**Post date:** [December 1, 2019, 9:12pm UTC](https://forum.ghost.org/t/search-option-not-working/10581/3 "2019-12-01T21:12:53Z")

</div>

Okay i look tomorrow what is Missing.

---

<div class="post-metadata">

**Author:** ![mskian](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/mskian/32/4973_2.png) [@mskian](https://forum.ghost.org/u/mskian)\
**Post date:** [December 2, 2019, 3:33am UTC](https://forum.ghost.org/t/search-option-not-working/10581/4 "2019-12-02T03:33:29Z")

</div>

Check this

> [@Ghost-search: Our First Open Source Library for Ghost](https://forum.ghost.org/t/ghost-search-our-first-open-source-library-for-ghost/3145/19):
>
> How to Install and use the Ghost search on your Ghost site? login to your Ghost site Create a New Page for Search Next in the Post Editor Sidebar, you can find the Code injection in Page Footer box Add the ghost-search library and initialize it \<script src="https://unpkg.com/@tryghost/content-api@1.3.4/umd/content-api.min.js"\>\</script\> \<script src="https://cdn.jsdelivr.net/npm/ghost-search@1.1.0/dist/ghost-search.min.js" integrity="sha256-yNPbNNfIwEJkDLzw2jUIQwqvwqjDIgc9rupcm4uqFqI=" crossor…

---

<div class="post-metadata">

**Author:** ![Happyfeet01](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/happyfeet01/32/5283_2.png) [@Happyfeet01](https://forum.ghost.org/u/Happyfeet01)\
**Post date:** [December 2, 2019, 8:55am UTC](https://forum.ghost.org/t/search-option-not-working/10581/5 "2019-12-02T08:55:56Z")

</div>

Okay, I have added this to the footer of a new Page. But nothing is showing when i open the Page.

---

<div class="post-metadata">

**Author:** ![mskian](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/mskian/32/4973_2.png) [@mskian](https://forum.ghost.org/u/mskian)\
**Post date:** [December 2, 2019, 11:51am UTC](https://forum.ghost.org/t/search-option-not-working/10581/6 "2019-12-02T11:51:04Z")

</div>

- Create a New page Named as Search
- add this Below code on HTML Block

```auto
<input id="my-custom-input" type="text">
<div id="my-custom-results"></div>

```

---

<div class="post-metadata">

**Author:** ![Happyfeet01](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/happyfeet01/32/5283_2.png) [@Happyfeet01](https://forum.ghost.org/u/Happyfeet01)\
**Post date:** [December 3, 2019, 9:42pm UTC](https://forum.ghost.org/t/search-option-not-working/10581/7 "2019-12-03T21:42:08Z")

</div>

Okay. I made it in this Site. But no search result.

[https://dasnetzundich.de/suche/](https://dasnetzundich.de/suche/)

---

<div class="post-metadata">

**Author:** ![mskian](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/mskian/32/4973_2.png) [@mskian](https://forum.ghost.org/u/mskian)\
**Post date:** [December 4, 2019, 3:31am UTC](https://forum.ghost.org/t/search-option-not-working/10581/8 "2019-12-04T03:31:07Z")

</div>

> [@Happyfeet01](#):
>
> [suche » dasnetzundich.de](https://dasnetzundich.de/suche/)

seems you are adding the search SDK two times  
remove it and check it will work

---

<div class="post-metadata">

**Author:** ![Happyfeet01](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/happyfeet01/32/5283_2.png) [@Happyfeet01](https://forum.ghost.org/u/Happyfeet01)\
**Post date:** [December 4, 2019, 6:03am UTC](https://forum.ghost.org/t/search-option-not-working/10581/9 "2019-12-04T06:03:44Z")

</div>

Okay, I removed the Code from the Theme. Used this tutorial before. [https://github.com/HauntedThemes/ghost-search](https://github.com/HauntedThemes/ghost-search) now the code is only at the Search Site.

> Error: GhostContentAPI Config Invalid: @tryghost/content-api does not support the supplied version [index.js:23:14](https://unpkg.com/@tryghost/content-api@1.2.7/lib/index.js)
> 
> t index.js:23
> 
> t index.js:16
> 
> value ghost-search.min.js:9
> 
> value ghost-search.min.js:9
