The ability to change results layout is included in the Experience add on.
The default format for the results string uses the numerical encoding for the various data elements that can be rendered. This default string format is present in the base Store Locator Plus plugin. You can reset to the default at any time by deleting the entry in the Results Layout field under Settings/Results/Appearance and saving the settings.
Results Layout ShortcodesThe 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.
The Default With Font Tweaks Style is one of the styles that highlights locations and is a good starting point for testing this functionality. You can adjust the layout and styling afterwards to meet your specific design requirements.
WPSLP – Select the Store Locator Plus entry in the side menu.
MYSLP – Select Store Locator Plus in the side menu.
Go to the Settings Tab and select the View subtab.
Click on the activate button on Default With Font Tweaks in the style gallery.
A. A shortcode is a WordPress-specific code that lets you do nifty things with very little effort. Shortcodes can embed files or create objects that would normally require lots of complicated, ugly code in just one line. In other words, a Shortcode = shortcut.
Additional Results Interaction features are available with the MySLP/Enterprise or WPSLP Premier Add On. The results interaction set of features provides a variety of visual cues on the location map to indicate the location a user has clicked when viewing a list of locations., providing a variety of additional options beyond the standard Info Bubble that Store Locator Plus displays when a location is clicked.
Use the Experience add-on to completely disable the Info Bubble under the map and only use these interactive result indicators. When a visitor to your site clicks on the results marker they will see additional information such as description you have entered for that location, in addition to the fields that are populated for the location.
Category ranking is a feature when you are using the Power Add-on (for the self managed WPSLP plugin) or the Professional or higher level subscription for MYSLP SaaS with the category manager. The rank is used to sort the categories which will affect the map marker that is used when a location has been assigned more than one category. Following the page ranking paradigm set by WordPress, the rank field is a simple numeric weighting for the categories. This extended data attribute for categories makes it easy to re-arrange the “weight” of categories for map marker selection without mangling category slugs. The lower the number, the higher the precedence for the map marker.
The option to set a category rank can be found under the Store Locator Plus Categories tab.
Store Locator Plus includes a default set of data fields that is included with every installation. Various add-on packs add extended data fields.
For ALL extended data fields you can output the data in ANY info bubble, results layout, etc.if you have an add-on pack that allows you to change the layouts by using the following shortcode within the results layout:
The text that displays when there are no locations to be displayed can be changed under Settings/Results in the section under Appearance. Type a message in the box to whatever you want the site visitor to see when there are no results found.
Example of the text added under the SLP Settings/results and how it appears to the site visitor front end when no locations or results found: