*Search Layout

Search Layout is found under the Experience tab on the Search panel when you have Enhanced Search(Legacy)  or the Experience add-on installed.

What Is It?

This setting allows the search form layout to be modified via a text setting.  If the Search Layout field is left blank the default search form layout is used.  If Search Layout is set the layout will take precedence over most of the Search Form settings in Enhanced Search (Legacy) and Store Locator Plus.

You can put in page content formatting, including HTML in the Search Layout entry. Search Layout also processes the Search Layout specific slp_search shortcode.

Search Layout Shortcodes

These search codes only apply to the Search Layout admin setting.

slp_search_element

This shortcode provides a simple mechanism to place standard search form elements on a custom search form layout, including the wrapping divs and classes around labels and input fields.

button Attribute

Places a search form button on the search form.

  • submit – place the submit button on the form

Example

<span class="search_header">LOCATE Places Near You</span>;
[[slp_search_element input_with_label="address"]]
[[slp_search_element dropdown_with_label="radius"]]
[[slp_search_element button="submit"]]

dropdown_with_label Attribute

This is used to create drop down menus on the search with a preceding label. The following values are accepted:

  • category – place the Tagalong category drop down on the form, this works in tandem with the “Show Categories on search” setting, it must be set to on for this entry field to appear on the search form.
  • city– place the city drop down on the form. This works in tandem with the Show City Selector setting; which must be on for the drop down to appear.
  • country– place the country drop down on the form. This works in tandem with the Show Country Selector setting; which must be on for the drop down to appear.
  • radius – place the radius drop down on the form.
  • state – place the state drop down on the form. This works in tandem with the Show State Selector setting; which must be on for the drop down to appear.
  • tag – place the Pro Pack tag drop down on the form, this works in tandem with the “Tag Input”, “Tags Label”, and Preselected Tag Selections settings. (Pro Pack 4.0.014+)

input_with_label Attribute

This is used to create search inputs with a preceding label. The following values are accepted:

  • address – place the address search field on the form
  • name – place the name entry box on the form, this works in tandem with the “Show Search By Name” setting, it must be checked for this entry field to appear on the search form.

selector_with_label Attribute

This is used to create various input selection types on the search with a preceding label. The following values are accepted:

  • tag – place the Pro Pack tag text input or drop down menu on the form depending what input style is selected on the admin panel settings. Works in tandem with the “Tag Input”, “Tags Label”, and Preselected Tag Selections settings. (Pro Pack 4.0.014+)