Title: custom search template
Last modified: October 17, 2016

---

# custom search template

 *  [dom01](https://wordpress.org/support/users/dom01/)
 * (@dom01)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/custom-search-template/)
 * Hi is possible to redirect the research with the structure of my template search?
   My theme have two research: general and custom of template. I want search with
   custom reserch of plugin. Thanks
    -  This topic was modified 9 years, 7 months ago by [dom01](https://wordpress.org/support/users/dom01/).

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [TC.K](https://wordpress.org/support/users/wp_dummy/)
 * (@wp_dummy)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/custom-search-template/#post-8320506)
 * Yes, you can use get template function or includes_once, require_one to get the
   template.
    The question here is how you identify the search result is come from
   the plugin. Since you not mentioned in your question, if you use default template,
   you can use : uformid to identify:
 *     ```
       if($_GET['uformid']){
       //include your template
       }
       ```
   
 * or if you use ajax template then you can just use the `uwpqsf_result_tempt` hook
   to customize the result and include the template there.
 *  Thread Starter [dom01](https://wordpress.org/support/users/dom01/)
 * (@dom01)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/custom-search-template/#post-8333570)
 * Thanks. I use custom template. Where i modify the code? Thanks
    -  This reply was modified 9 years, 6 months ago by [dom01](https://wordpress.org/support/users/dom01/).
 *  Plugin Author [TC.K](https://wordpress.org/support/users/wp_dummy/)
 * (@wp_dummy)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/custom-search-template/#post-8363982)
 * Like I said, you didn’t tell what result type you are using.
    If default result
   template, go for your theme’s search.php (probably, still depends on your theme
   structure)
 * If ajax, go for `uwpqsf_result_tempt` hook.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘custom search template’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/ultimate-wp-query-search-filter_fcfcfc.
   svg)
 * [Ultimate WP Query Search Filter](https://wordpress.org/plugins/ultimate-wp-query-search-filter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-wp-query-search-filter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-wp-query-search-filter/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-wp-query-search-filter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-wp-query-search-filter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-wp-query-search-filter/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [TC.K](https://wordpress.org/support/users/wp_dummy/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/custom-search-template/#post-8363982)
 * Status: not resolved