A sitelinks search box will show in results as you search for certain companies or if you add ‘website’ to a company name. When the search box appears, you’re able to search throughout the website. Adding a sitelinks search box increases a visit to your website because you have more possible results that are all from your website. Because of this, there won’t be any paid or organic results from your rival companies.
If you’re unable to add it with the WordPress plugin, Sitelinks Search Box, you can use Schema markup. Add the following Schema code to the HTML of your homepage:
< script type=”application/ld+json”>
“query-input”: “required name=search_term_string”
You’ll want to make sure that you change out the “url” and “target” examples to your website’s URLs. You can check if the Schema code worked by submitting your website to structured data testing tool.