This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Reply To: Add tag/category/taxonomy to results page

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Add tag/category/taxonomy to results page Reply To: Add tag/category/taxonomy to results page

#21055
Ernest MarcinkoErnest Marcinko
Keymaster

Hi!

Sorry for the late response, we were on a short family vacation.

Okay, I see how it looks now. I think the best idea in this case is to use a custom code in the search results page to recognize which search instance are the results coming from. I am not sure if there are any widget plugins or anything else available that makes this possible without coding though.

I would use something like this in the search.php file in the theme directory:


if ( $_GET['p_asid'] == 5 ) {
   // The results coming from the car search, put any custom code here
} else {
   // The results coming from the motorcycle search or somewhere else, put any custom code here
}

This way you can differenciate between where the results are originating from.