Search

Description

  • Type name: search
  • Optional widget
  • Placement type: none

Enables search sidebar.

Properties

Side [required]

  • Affects Search icon and search sidebar position.
  • Supported values: left, right.

Url [required]

Url of your search script, which gets the query string via any GET-parameter.

For example, if your search results are shown at http://yoursite.com/search/?s=query, you should set the Url property to http://yoursite.com/search/

QueryStringParam [required]

GET parameter which sends a query string to your search script.

For example, if your search results are shown at http://yoursite.com/search/?s=query, you should set QueryStringParam property to s.

JSON example

[{
    "Type": "search",
    "Id": "abcABC123",
    "Side": "right",
    "Url": "http://yoursite.com/search/",
    "QueryStringParam": "s"
}]

Demo

preview_large preview_large