Wordpress: How to create a custom search form only to a specific page

admin

Administrator
Staff member
How do you create a custom search form that should appear only on a particular page?

<ol>
<li>Using this
Code:
&lt;?php get_search_form(); ?&gt;
inserts wordpress's default search form to the page.</li>
<li>Adding this </li>
</ol>

<blockquote>
searchform.php
</blockquote>

to my theme folder overwrites search functionality of the whole site

I want to add a search form which display posts from only a specific type of custom post type

and

the form should appear only in a specific page.(So the search forms in other pages should not be affected by this)

How to achieve this please. Any help is much appreciated.