The Experience add-on for WordPress SLP or theProfessional level Plan forMySLPSaaS provides a “search by city”, “search by state”, and “search by country” feature. This search form element, when enabled, will build a drop down list based on the locations in your database. This is meant to provide a hint to the user where your locations are.
The Advance level or basic SLP search button looks for locations closest based on your other search form settings. If your default radius is 100 miles and the user selects the state of Texas, the base plug-in will search for all locations within 100 miles of Google’s estimated “center of Texas”. With the Professional level plan you can select certain settings to redirect the search selector and provide other options to direct or assist your site visitor.
Search Form Style sets the styling for the interactive locator elements on your site. It uses pre-built jQuery Theme Roller style CSS designs to create a simple way to style interactive elements such as the autocomplete feature (available in WPSLP Experience or with MySLP Professional) on the address box. with Experience or Professional level plan additional search elements are available, including a one click checkbox to “Hide the search form” altogether.
The default styling is set to “None” which provides not special styling rules from interactive JavaScript elements in the locator interface. This allows the site designer to create their own styles for the website in which the locator will be placed.
The base service also includes the Base jQuery theme.
Setting A New Style
For WordPress plugin users go to the Store Locator Plus selection on the sidebar menu.
For MySLP users go to Store Locator Plus sidebar menu.
Select Settings/Search from the tab list.
Scroll down to the Appearance section and expand it by clicking the word “Appearance” if necessary.
Select a new style from the Search Form Style drop-down menu.
Available For WPSLP and MySLP
Search Form Style is a feature that is included in the base plugin of Store Locator Plus for WordPress and is available under Store Locator Plus for all levels of the MySLP service. Premier members on WPSLP and Enterprise Level users for MySLP will have multiple options for the Search Form Style.
[slplus] is the primary shortcode used within WordPress sites to display the Store Locator Plus map and location search interface. Many other attributes can be found within the plugin and add-ons.
A shortcode is a special label inside of square brackets that is used within WordPress pages and posts to display the output from a plugin. You place a shortcode within the text of your page or post and the plugin will “do it’s magic”.
Note: Shortcode attributes WILL NOT WORK if Force Load JavaScript is turned on under Store Locator Plus General Settings. Try turning it off before using attributes. If Store Locator Plus won’t load when you turn Force Load JavaScript off, get a different WordPress Theme that fully implements WordPress code standards.
Note: As of WordPress Plugin API update 4.2.3 effects shortcodes with filtered styles which will not be recognized when stored between quotes.