Add search to a page
-
How to add a search box to the content area:
I found another post on this subject with some code which did not quite work but the following seems OK for me in case useful:
Go to ‘code view’ on your page or post and add the following –
<form id="searchform" action="?php bloginfo('url'); ?" method="get"> <div><input id="s" class="text" type="text" name="s" value="" /> <input class="submit button" type="submit" name="submit" value="Search" /></div> </form>
- The topic ‘Add search to a page’ is closed to new replies.