Layout Shortcode Cheat Sheet

The Experience Add On allows you to custom tailor the look and feel of the Store Locator Plus plugin on your site.   To accomplish this the plugin uses a combination of HTML and special shortcodes.   These can be changed or checked off under the Settings* tab  the plugin.

* formerly referred to as Experience tab, if you do not see Settings in the UI you are not using the latest version of Store locator Plus

The Overall Layout

This is set via the View / Layout setting.    It determines the overall layout for the plugin based on 3 primary components: The Search Form, The Map, and The Results.
Continue reading “Layout Shortcode Cheat Sheet”

The [slp_search_element] Shortcode

The [slp_search_element] shortcode is only processed within the Search Layout setting.   It is used to display user input elements on the search form.

Attributes

Attributes are the keywords that appear after the opening [slp_search_element and before the closing ].

Default attributes include:

button=<slug>

Output a form button.  <slug> should be an input supported by the base plugin or an add on such as:

submit

Output the Find Locations button.

 

dropdown_with_label=<slug>

Output a dropdown selector with a preceding label for the specified input.  <slug> should be an input supported by the base plugin or an add on such as:

radius

Output a dropdown of radius selections based on the Experience / Search / Radii Options setting.

hard_coded_value=<value>

Outputs the specified value.  Used by some add ons to add a specific [slp_search_element] output.

input_with_label=<slug>

Output a input selector with a preceding label for the specified input.  <slug> should be an input supported by the base plugin or an add on such as:

address

Output a the address/zip-code input box.

Tech Geek Stuff

Processed by the SLP_UI class via add_shortcode in create string_SearchForm() which calls crease_SearchElement().

Filter shortcode_slp_searchelement is used to manipulate attributes.  Many add ons use this to render specific output using attribute ‘hard_coded_value’ => ‘xyz’ to output a specific value.

Directory City/State/Country Filters

The directory feature of the Power add on allows you to quickly build a directory-style listing on your pages to show a list of cities, states, or countries where you have locations.

The [slp_directory] shortcode used to build this listing can be combined with a landing_page attribute to quickly refer your site visitors to an interactive map showing your locations in the selected city, state, or country.
Continue reading “Directory City/State/Country Filters”

Appearance Layouts

Experience Add-On

The Experience Add-on allows you to customize the layouts, the map interface, and the search form to display in a certain manner on the front end of your locator page

Search Layout

Search Layout is found under the Settings tab on the Search panel.

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 and  your SLP style is used.   If Search Layout is modified the layout will take precedence over most of the Search Form settings  and the basic Store Locator Plus.
Continue reading “Appearance Layouts”

Search Layout Shortcodes and Attributes

You must have the Experience Add-on   to change the Search Layout appearance, and along with other add-ons,  also allow you to to use the shortcode on  SLP WP page.

These  shortcodes only apply to the Search Layout admin setting when you have the appropriate  Add-on installed and activated.

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.

Continue reading “Search Layout Shortcodes and Attributes”

Search Panel Settings

How SLP Search Works

Store Locator Plus searching can operate in radius or discrete search mode.  The default mode is radius based and is the premise behind much of the operational aspects of the Store Locator Plus plugin.  Additional search features and settings can be obtained through the  Experience Add-on suite and/or  the Premier Subscription (see below).
Continue reading “Search Panel Settings”