Reply To: Search specific pages

Ernest Marcinko
Ernest Marcinko

1. I think you need to change the filter statement as well, to pass the second parameter, like so:

add_filter( 'asp_query_args', 'asp_include_only_ids', 2, 2 );

2. It works on my end, tried on 2 devices. Maybe it’s just the browser/site cache?

Ernest Marcinko

If you like my products, don't forget to rate them on codecanyon :)