By default in WordPress, the search results shows for pages & defualt post types. So if you create any custom…