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
February 11, 2019 at 1:53 pm
#21055
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.