Below code helps you to display Google Custom Search results if no posts/results found in WordPress site.
Add this code in theme’s search.php file where you want to display search results from Google.
Have you any alternative or better solution? Feel free to comment below.Display Google Custom Search results in #WordPress. #WordPressTips Click To Tweet