Hi tokegameart
Thanks for reaching out ??
There isn’t front-end functionality for this built into WordPress or Ultra. You can implement this with a bit of custom development:
1. Go to Plugins > Add New and install a plugin called Code Snippets.
2. Go to Snippets > Add New and add a snippet, name it yourself and add the following in the snippet body:
/**
* Search the products post type only.
*/
function ultra_products_search( $query ) {
if ( $query->is_search && ! is_admin() ) {
$query->set( 'post_type', array( 'products' ) );
}
return $query;
}
add_filter( 'pre_get_posts', 'ultra_products_search' );
3. NB. Select the option: Only run on site front end.
4. Save changes and activate.
For future queries on premium, please, contact us via email on [email protected], you can also make use of the forum at https://purothemes.com/support/forum/ultra-theme/.