Your Search Page at /opensolr-search

A real WordPress page, wrapped by your theme

Your search page is a normal WordPress page named Search, at https://your-site/opensolr-search/. The plugin creates it when you activate it, with the shortcode [opensolr_search] as its content, so your theme's header, menu and footer wrap it like any other page.

Good to know

  • Rename or move it as you like: every link of the search page follows its address. The theme's page title is left out on this page, so the search box sits right under your header.
  • If the page is deleted, the plugin still answers at /opensolr-search/ with a page of its own, and creates a new Search page the next time you open your WordPress admin.
  • Your theme's search box is not taken over. To send it to this page, point the form at /opensolr-search/ and name its text field q. Every search has its own address, such as /opensolr-search/?q=solar+panel, that can be shared.
  • Only your site: results are limited to the pages of your site's domain, even when your index holds other sites.
  • Your own look: copy templates/opensolr-search-page.php from the plugin into your theme folder as opensolr-search-page.php, and the plugin uses your copy.
  • When you are signed in as an administrator, every result gets PIN, EXCLUDE, EXCLUDE ALL and REMOVE buttons: Pin and exclude results.

Two ways to show it

What visitors can do

Each result shows its title, the path of its address, a snippet with the searched words marked, and, when there is one, a picture, a date and a price. The number of results and the time the search took appear at the right of the row above them.