I found a very cool way to embed a search box in Google Results for my blog and it will work with your site should Google find it useful to your visitors.
<script type=”application/ld+json”>
{
“@context”: “http://schema.org”,
“@type”: “WebSite”,
“url”: “/”,
“potentialAction”: {
“@type”: “SearchAction”,
“target”: “/?s={search_term_string}”,
“query-input”: “required name=search_term_string”
}
}
</script>