• Hi,

    I am trying to create a search which will just return images from the nextgen gallery and no posts from the blog. I can achieve the results using the wordpress search but it’s either blogs posts or images so I’m thinking I can create an addition search on the blog which just searches the image database. Is this possible? and is it possible to adjust this code to do the job?

    <form method=”get” id=”searchform” action=”<?php include (TEMPLATEPATH . ‘/search.php’); ?>/”>
    <div><input type=”text” size=”put_a_size_here” name=”s” id=”s” value=”Swatch Search” onfocus=”if(this.value==this.defaultValue)this.value=”;” onblur=”if(this.value==”)this.value=this.defaultValue;”/>
    <input type=”submit” id=”searchsubmit” value=”Search” class=”btn” />
    </div>
    </form>

    Thanks

    Dan

  • The topic ‘Custom Search’ is closed to new replies.