• 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.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author TC.K

    (@wp_dummy)

    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

    (@dom01)

    Thanks. I use custom template. Where i modify the code? Thanks

    • This reply was modified 9 years, 6 months ago by dom01.
    Plugin Author TC.K

    (@wp_dummy)

    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.