Do you have a question about WordPress or BoldGrid? You’ve come to the right place. Feel free to post your questions or browse other visitors questions and comments as well.
How can I have a page with a search widget, but not in the header?
Thank you for contacting us about using a page with a search widget. You should create a page first. Then, add a search widget to the page by going to: Customize->Widgets->Select the area->Click Add a Widget->Search
You can Add the Page to the Menu, but there is no “built-in” way to replace the link with a graphic. This means you would have to custom-code/develop a solution.
This issue falls under the category of general WordPress development. It’s possible that BoldGrid may address this issue directly in the future, but at the moment there is no built-in procedure for this particular use case, but it can be accomplished easily by adding a template file to the theme.
There are likely plugins that allow the user to generate the search form via a shortcode on any page they prefer, but, in general, in order to complete the task of creating a search form page, it is necessary to create a page template for the active theme. The steps would look something like this:
- Create the page template
- Delete the WordPress loop
- Add the WordPress search form function
- Add any other HTML content needed
- Assign this template to the “Search” page created in WordPress
All of these steps, in greater detail, and the needed functions, are provided in the WordPress Codex page regarding creating a search page. This would create a page with a search form, and the search form would only be present on this page.