How to add a search form
You can add a search form in two ways:
- 1
-
In an "HTML module", paste the code of a WordPress search form. For instance:
<form role="search" action="/" class="searchform" id="searchform" method="get"> <label class="screen-reader-text" for="s">Search</label> <input type="text" placeholder="Search …" id="s" value="" name="s" class="field" size="50"> <input type="submit" value="Search" id="searchsubmit" class="submit button"> </form><br>
- 2
-
Using a "Widget module" where you can call the "Search form" widget from WP Admin > Appearance > Widgets.
To learn how to create a custom sidebar, check this article: Creating Sidebars and Widget Areas in Live Composer.
-
Important
In order to have a proper searching list layout, you need to create a custom template. Check this article: Can I create Template for archive listing pages (category, tags, search)?