Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Requesting some information for plugin template modification › Reply To: Requesting some information for plugin template modification
Hi!
First, to target multiple IDs you can indeed use an array, like so:
if ( isset($_POST['asid']) && in_array($_POST['asid'], array(3, 4, 5, 6)) ) {
On results pages these filters won’t work, these are only invoked when using the ajax search.
To add content to the results page, you will probably have to use the the_content filter to attach the handler, but it depends on your theme as well. Some themes do not execute this filter on archive/search pages.
An example use of the_content filter, targeting only search archive page:
This one I’m not sure if works, but I think the search ID is passed on to the results page as well:
The taxonomy-term exclusion seems to be a bug indeed, I’m surprised nobody noticed it before. I will look into that. A new release is coming out today, I will try to fix this issue as well with that.
Best,Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
![](https://wp-dreams.com/assets/envato/comment-button-knowledgebase.png)
![](https://wp-dreams.com/assets/envato/comment-button-support.png)
![](https://wp-dreams.com/assets/envato/comment-button-facebook.png)
![](https://wp-dreams.com/assets/envato/comment-button-twitter.png)