[CoursePress Pro] Creating a Course Search Box on a Wordpress Page

Hello,
I'm interested in creating a search box that will only return courses with the entered keywords on my home page, similar to that found on Udemy's.

Is there code that can be added to the function.php so I can simply add a shortcode to the home page? Look forward to your advice/help. Thanks.