I have the same issue as the question posted here :
I have created a custom-function.php file where I put the shortcode required. It works for the search box.
However, I would now like to do the same for the searchresults code
gcse:searchresults-only</gcse:searchresults-only>. I tried editing the shortcode above but that doesn't work.
What I want is have the search results appear in the same page as the search box, not in a separate one which the current shortcode does.
Any suggestions to make this work?