Please read our student and staff community guidance on COVID-19
Skip to main content Skip to navigation

Add a search box to your site

You can add a search box to the centre or right-hand content to enable visitors to search your website or a section of it. For example, there is a Search help box at the right-hand side of all pages in SiteBuilder help, which returns results from any page under:

/services/its/servicessupport/web/sitebuilder2/faqs

Search queries do not return results from the rest of the IT Services website or SiteBuilder section. You see matching results as you enter your query – we refer to this as ‘live search’.

To add a live search box to your page:

  1. Browse to the page where you want to add the search box.
  2. Go to Edit > Edit centre content or Edit right content, as appropriate.
  3. Position your cursor where you want to insert the search box.
  4. Go to Insert a > Search box.
  5. In the Insert search box pop-up window, enter the URL of the uppermost page of the section you want to make searchable. Omit https://warwick.ac.uk. For example, for the whole of the IT Services site, enter:

    /services/its
  6. Optionally, enter a label to appear in the search box – for example, Search IT Services. If you do not specify a label, the default label is Search for.

    Insert search box

  7. Select Insert. The following code is added to your page:

    [livesearch label='Search IT Services']/services/its[/livesearch]
  8. When you have finished editing your page, select Publish.

Related articles

Improve a SiteBuilder page's rank in search engines

Support

Email webteam at warwick dot ac dot uk
How to report a problem