Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
–1 vote
in Q2A Core by

i got so many related answer ! but that are so ambiguous ! please reply with detail ! step by step

Q2A version: latest

1 Answer

+1 vote

It's fairly easy to do this. You can use a widget anywhere plugin then move the search code to it. Done!

  1. Install Widget Anywhere. (If you don't have it already. I've found it extremely useful in many ways.)
  2. Go to admin > plugins > widget anywhere > add new widget
  3. Set it to main area - top.
  4. Copy your search bar code by inspecting the search element in your browser and copying the entire <div> that contains it. For instance, the search for this site is:

<div class="qa-search">

<form method="GET" action="../search">

<input type="text" name="q" value="" class="qa-search-field">

<input type="submit" value="Search" class="qa-search-button">
Yours will likely be the same, unless you changed some stuff. That's it! You can specify where you'd like this to show up in Widget Anywhere. This will populate the search bar and submit button.


Search Datalist ( http://store.q2amarket.com/q2a-free-plugins/search-datalist ) plugin doesnt work with it.

Is there a way to run it?