Add a Search Page to a WordPress Site Using Weaver II Theme

To create a search page for the Weaver II theme:

  1. Create a new page
  2. Set the title to Search or Search Website
  3. Set the Permalink to search
  4. Set the parent is set to (no parent) unless you want it to appear in a sub-menu. If you don't want the page to appear, you can use a custom menu or use the Exclude Pages WordPress plugin to add an Exclude Pages from Navigation checkbox to your page and then use it.
  5. Add the following HTML code on the text tab of your page:
<form style="background: transparent;" role="search" action="/" method="get">
<fieldset>
  <label for="s2">Search for:</label> <input id="s2" type="search" name="s" placeholder="Search Site" value=" " /> <input type="image" alt="Do search." src="/wp-content/themes/weaver-ii/images/search_button.gif" />
</fieldset>
</form>

Save your page. It should look something like the search page on this site.


Leave a Reply

Your email address will not be published. Required fields are marked *