I try to put 4 featured products above the search results so that these products can be viewed more, I tried to modify my theme's search.php and added php code <?php echo do_shortcode('[featured_products per_page="4" columns="4" orderby="date" order="desc"]');?> to the top of the search result div. But it just break the page. After a little research I found out that shortcode only can be executed in post/page content part. So now I have no idea what I can do to achieve my goal.
Is there any template tag that I can use in my theme's php file?
Any help will be appreciated! Thx in advance!