• Hello,

    I want a search bar on a specific page on my blog. My search bar template is as follows:

    <form method=”get” id=”searchform” action=”<?php bloginfo(‘url’); ?>/”>
    <input type=”text” onfocus=”if(this.value==’Search here’) this.value=”;” onblur=”if(this.value==”) this.value=’Search here’;” value=”Search here” name=”s” id=”s” />
    </form>

    If I put this on my ‘page’ template, it shows up on all pages. But I just want it on a specific one. I presume there is a simple piece of css I can use to to do this I just cant figure out how.

    Help would be amazing

    Thanks so much.

  • The topic ‘Search bar on a singe page.’ is closed to new replies.