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 is only processed within the Search Layout setting. It is used to display user input elements on the search form.
Attributes are the keywords that appear after the opening [slp_search_element and before the closing ].
Default attributes include:
Output a form button. <slug> should be an input supported by the base plugin or an add on such as:
Output the Find Locations button.
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:
Output a dropdown of radius selections based on the Experience / Search / Radii Options setting.
Outputs the specified value. Used by some add ons to add a specific [slp_search_element] output.
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:
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.
With the Experience Add-on you have multiple search tool options to display on the front page when a site visitor lands on your locator page. Search by Name is a checkbox that is found under the Store Locator Plus “Settings/Search” menu on your admin ui when you have the Experience add-on.
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”
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 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”
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.
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.
Places a search form button on the search form.
Continue reading “Search Layout Shortcodes and Attributes”