Hi,
Got reply from Plugin developer to add following code in functions.php of theme
function wpurp_search_results( $query ) {
if ( $query->is_search && !is_admin() ) {
$query->set( ‘post_type’, array( ‘post’, ‘recipe’, ‘product’ ) );
};
return $query;
};
add_filter( ‘pre_get_posts’, ‘wpurp_search_results’ );
Search is working as expected with link after this code addition.
For example this link shows all the results
https://mydhaba.in/?s=moringa
But, ajax search on website shows no results.