Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
624 views
in Q2A Core by
I have created a new page (via Admin -> pages -> Add page) and would like to embed the search field into this page similar to how StacOverflow has done it here: http://stackoverflow.com/questions/how-to-ask

Is it possible to embed the search tool into and html field using the admin -> pages UI or will I have to go through the php files and build this out?
Q2A version: 1.6.3

1 Answer

+4 votes
by
selected by
 
Best answer

Input static HTML form in your page.

<div class="qa-search">
<form method="get" action="http://url_of_your_site/search">
<input type="text" name="q" value="" class="qa-search-field"/>
<input type="submit" value="Search" class="qa-search-button"/>
</form>
</div>
by
Great, thanks! It's been too long since I've worked in html. I appreciate the crash-course!
...