Show search bar on each article and FAQ
This support request was posted in Flatbase by pakhibagai
- pakhibagai January 30, 2016 at 2:12 pm
Hi,
We installed Flatbase and added documentation for our support primarily as:
Articles – which contain guides
FAQs – which contain …FAQs, of course!Just like the search bar shows up on the main home page for http://www.nudgespot.com/help/, we’d like users to be able to directly use the same search bar even when they are on any article or FAQ.
How can we enable this?
Juanfra Aldasoro January 30, 2016 at 6:54 pmHello,
Thank you for writing. I hope you are doing well.
Unfortunately that can’t be done through the theme options.
The conditional that checks if the live search bar should be displayed or not is in the file header.php, and the scripts are registered in the file /includes/scripts.php, are you proficient with doing custom php coding? Perhaps if you are, I can give you a hint on how to achieve that.
Best,
Juan.pakhibagai February 1, 2016 at 2:41 amYes, I am and hope you are too Juanfra!
My colleague helped me add a search bar on the RHS. I found an older post with a link: https://developer.wordpress.org/reference/functions/get_search_form/ that helped do this.
Thank you ever so much for your prompt help!
Juanfra Aldasoro February 1, 2016 at 4:49 pmHi,
Thank you for the follow up.
That’s great, have a nice day,
Juan.
You must be logged in to reply to this topic.