create a search box inside page in WordPress

<form method="get" id="searchform" action="http://outcomess.com/?s="/> <input type="text" size="40" name="s" id="s" value="Search Linux …" onfocus="if(this.value==this.defaultValue)this.value=";" onblur="if(this.value==")this.value=this.defaultValue;"/> <button type="submit" id="searchsubmit" value="Blog" /> </form>
Step 1: Create new page . At left hand side click on page >> Add New

Step 2 : Give the title of page “Search”

Step 3: Click on text tab at right hand side top corner . Write down the given below code
Note: Replace http://sharadchhetri.com/?s= with your website link like this http://yourwebsite.com/?s=

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.