v1.4.0
This shortcode is built to be a zero-configuration way of adding Google site search to our WordPress theme. The short code [site-search]
is replaced with the script tag and properly configured DOM element for displaying search results from Google. It changes Google's expected URL query parameter from q
to s
, which is the WordPress default. When added to the search page template, Google site search results replace default WordPress search results.