By adding the scroll_to_map class on any of the Results Layout HTML elements, WordPress Premier or MySLP Enterprise subscribers can enable the scroll to map functionality on any Store Locator Plus plugin style. When the class has been added to an element in the results layout that element becomes clickable. Clicking that element will scroll the map back into view and open the map marker and info bubble for the location that was clicked.
We have used this feature in the new Bennett plugin style.
To add the feature to other styles you will need to have the Premier plugin installed for WordPress. For MySLP Enterprise users the feature is already enabled.
Go to Advanced Options (MySLP) or Store Locator Plus (WPSLP) | Settings | Results | Results Layout.
Edit the layout and add scroll_to_map to an existing class on an html element you want to trigger the scrolling feature or add class=”scroll_to_map” if the HTML element does not have a class assigned.
The category button bar is a new category selection interface available to WordPress Premier and MySLP Enterprise subscribers. This new feature is enabled under the Store Locator Plus (WPSLP) or Advanced Options menu then select Settings | Search | Appearance | Category Selector.
The button bar will show clickable links that display the icon and category name for the category which will filter locations that match. The styling for the display will vary based on which plugin style you select. Currently the Bennett style from our Plugin Style Gallery is configured to appear as a button bar. Other styles make show checkboxes or other styles depending on how the CSS is designed.
Functionality is based on a single-category selection. Clicking a new category will turn off all other categories.
The map center, either the Center Map for initial map loading or the address a user entered, is retained as is the initial or current radius. The map will zoom in-and-out to show all locations that match within the radius of the center point.
Here is the button bar using the Bennet plugins style on a modified version of the Exists theme that is deployed on the Bennet Trim Tabs site. This video is on our development servers.
To speed up imports you should NOT include columns that have no data.
For imports that did NOT start out as a CSV export from the SAME SITE you should NOT have an sl_id column.
For geocoding, assigning a latitude and longitude, to work during import you need to have at least one of the address fields in your file and preferably these main fields:
All field names can drop the leading “sl_” for readability. For example sl_address can become address.
Add ons for Store Locator Plus can extend the fields that can be imported. The field names usually match the field label, for example the Experience add on can have “Featured” and “Rank” as import columns.
Go to Advanced Options in MySLP (Store Locator Plus in WordPress).
Select Settings | View from the menu.
Scroll down the page and paste the copied rule in the Custom CSS box.
You can now add to the rule using standard CSS notation.
View The Changes
Reload your web page.
Keep in mind many web hosts cache CSS. Make sure you have cleared any proxy cache you have running as well as your browser cache.
A simple way to force your browser cache to reload (most of the time) is to hold down the shift key while clicking the “page reload” in your browser’s address bar. Some browsers are overly-aggressive with caching (Safari!) and you may need to clear your history.
An example for our Weebly South Carolina Ice Cream site on how to tweak the CSS.
Note: In order to enable these settings you must enter your Premier Subscription user ID and Subscription ID under the General / Admin tab. When entered correctly the notice under “Add On Packs , Subscription Accounts” will tell you your subscription is validated. This feature is only functional while your subscription is active.
When your subscription has been validated you will see new options available to you under several Store Locator Plus tabs. The new Security settings will appear under the General tab, Server subtab as shown below.
Block Requests Limit
This is the maximum number of location searches a user can perform within the Block Requests Time Span before their IP address is blocked from all locator requests.
This should be set to an integer value greater than 0.
The first page load request from an IP address is always allowed, even if this setting is 0.
If this is set to “2” and the Block Request Time Span is set to “Hour” the system will allow 2 location searches before the IP address is blocked.
The initial loading of the locator page will count as a “search” if you have the default “show locations at startup” enabled.
Changing this parameter will not release already-blocked IP addresses.
Block Requests Time Span
This setting determines over which period of time the locator request limit is checked. A user that has more than the Block Requests Limit number of locator searches performed in this time period will cause their IP address to be blocked from future location searches until their IP is “released” from the block list.
Setting this value to Never will disable the IP blocking system.
Changing this parameter will not release already-blocked IP addresses.
Release IP After
This is the maximum amount of time a request is “remembered” for a given IP address. Once this amount of time has passed since the most recent location request that triggered the block the IP address is “released” and once again free to perform location searches.
A list of IP addresses that will not be tracked by the blocker. This allows unlimited location lookups from these IP addresses.
Keep in mind that an IP address is not a unique “user” or “computer”. Many locations share an IP address such as a hotel or your local Starbucks. The limitations will apply to the entire group of users from the same shared IP address.
Once an IP address has been blocked, subsequent location requests are not tracked until the block has been released. This design lessens the server load in both volume of data stored and data I/O requests. It helps alleviate issues from possible denial-of-service type attacks where a bot loading requests in rapid succession could overwhelm the data storage and/or database I/O processing.
Blocking Locator Requests was added in the Premier Plugin version 4.7.11.
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.
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.
Select Settings from the tab list. Search will be the default sub-tab.
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 Advanced Options 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.
WordPress blog posts likes to use curly quotes instead of straight quotes whenever you write an article. Our documentation site is built on WordPress which means many of our articles are replaced any quotes we type in an article with curly quotes.
The problem is that the WordPress shortcode processor does NOT like curly quotes. If you use curly quotes in a shortcode attribute such as [slp_directory by=”city”] and those quotes are “curly”, WordPress treats the quotes as a plain-old alphabetic character just like the C-I-T or Y in “city”. In other words WordPress things you mean “by quote-city-quote” not “by city”.
Why is that an issue?
If you copy-and-paste most examples from this documentation site WordPress will copy the “pretty curly quotes” into your shortcode. If you paste that into your WordPress page it breaks.
An example of how this can impact Store Locator Plus can be seen from my example where I pasted the slp_directory shortcode directly from the docs site into my test site. I get an invalid data query because WordPress added curly-quotes to my data field name. The SLP database does not have a field name quotesl_storequote but does have a field named sl_store.
Make sure you re-type each quote manually. Typing the ” in your blog instead of copy-and-paste will ensure you are getting “straight quotes” in your shortcode attributes not curly quotes.
This is how the example looks now that the curly quotes have been replaced with straight quotes.
Version 4.7.9 of the Store Locator Plus application includes changes to the admin interface user experience. Premier members who have current subscriptions for WordPress or are Enterprise level subscribers for MySLP have a new module that adds URL control functionality.
“Experience” Tab has been renamed “Settings”
Formerly the tab was referenced as “Experience ” (back end) where you had options to change how the search,map,and results interfaced. These options are now under the Settings tab, the functionality of the tab remains the same. The change was made so the nomenclature is now in line with the application interface standards.
The application separates functionality into different application modules. This will ensure that extra overhead is not incurred for features not being deployed in your environment. The interface for turning modules on and off is found under the General | Server tab in the Web App Settings section.
The WordPress plugin includes a module for building SEO friendly web pages based on location data. The option is a checkbox to enable the Pages module . This can be found under the General | Server | Web App Settings section.
Enterprise / Premier Users
Enabling the Territory Bounds module has been moved from the General | Data tab to the General | Server | Web App Settings section.
A new URL Control module has been added to the application. Enabling this module will turn on the interface to allow additional data to be presented in a web page URL to impact how the locator behaves.
URL Control : Allow Location In URL
The first URL Control option is to pass a location ID in via a URL. Adding ?location=<id> to the end of a web page address that hosts the locator will cause the page to load with the specified location being highlighted as if the map marker was clicked. The default behavior is to show the info bubble for that location.
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
Click on an upgrade or downgrade button for the new level you wish to use.
If you subscribed using PayPal you will be asked to login to your PayPal account and approve the new monthly payment amount.
Once you have agreed to the new payment you will be brought back to the My Profile page and the new subscription level will be active.
Note: PayPal can take up to 72 hours to process a subscription change. You may see your subscription details showing a status of Pending with a resubscribe button during this period. You do not need to resubscribe.
Note: PayPal does not support direct subscription upgrades or downgrades. The subscription details will show the total paid for the newest level of service only. It will show $0.00 during the pending process and the accrued monthly amount once PayPal has activated your new subscription level on their end.