Display long search bar on home page above the categories buttons


(Aislinn Chen) #1

I would like to display the search box in this place at my home page, could I know how to do it?


(Aislinn Chen) #2

anyone could help with this question? Thanks


(cpradio) #3

There isn’t a straight answer for that, other than, build it.

One thing you could do is build a textbox and when enough characters are entered, submit an ajax call to https://meta.discourse.org/search.json?q=test replacing “test” with the characters the user entered.

Then parse the json response to show it on your site.


(Sam Saffron) #4

I also saw this,

But not sure if it is working or not.