I am actually looking for similar functionality, which I can’t seem to figure out how to do. I’ve managed to restrict the live search results to a single post_type by editing DavesWordPressLiveSearchResults.php line 69:
$wpQueryParams['post_type'] = 'any';
If you change ‘any’ to your desired post_type, it’ll work.
My problem is with getting 2 post_types to work, for example ‘post’ AND ‘custom’, and I had no success with defining that properly (my knowledge in PHP is very limited). Would anyone be kind enough to provide a fix for this (even though it’s hard code and prone to get messed up with future updates)?
Thanks!!