Google API Key Changes for WordPress Plugins

Updates to the Store Locator Plus WordPress plugin version 4.9.15, released today, includes patches to the Google API Key management.

Let’s start by letting users of our fully managed MySLP SaaS service know that you don’t have to worry about any of this.  You can skip this entire article.

Google API Keys

For our SLP WordPress plugin users there has been a notable change in the management of Google API Keys.

We now support a Geocoding Key and a Browser Key.    The Browser key is used to display the map and handle user-input addresses during a location search.  The Geocoding key is used on your WordPress server to geocoding locations you’ve entered via the Google API.

Location Page Listings Enhanced

One of the few features that is not currently available for our MySLP SaaS users is the dynamic location details pages that are hosted on WordPress sites.  Users that employ the Pages feature of the Power add on can link the web links for locations shown in the locator to a SEO friendly details page hosted on the website for every location in the database.

Another important feature of the Pages interface is the ability to list all pages that have been generated in a directory format via the [slp_pages] shortcode.   This list provides an easy way to show locations without requiring site visitors interact with the map interface.

More Page Listing Controls

With the 4.9.14 release of the WordPress plugins, the Power add on now provides even more control over the page listings.    When using the default “full listing” style, which shows the entire page template one-after-another, there are some new options available.

Hide The Map

Hide the map, is one such option.  Most users opt to show a map showing where the business is when a user looks at the details page.    However, loading a dozen maps stack one on top of another on a page listing slows down page rendering.    The new no_map attribute allows you to turn the map on or off as needed.

Custom CSS Classes

In prior releases web designers could style the layouts for the page listings by adding custom CSS to their WordPress theme and reference the Store Locator Plus specific classes that wrap the page list as well as the SLP classes that wrap each individual page entry.

New Pages CSS Class Overrides

In the Power 4.9.14 release users can now replace the previously “hard-coded” Store Locator Plus classes used with these HTML elements with their own class names.   This can be especially useful when using WordPress themes that are built on a standard library such as the common 12-column Grid Layouts in Foundation, Vuetify, and Bootstrap.    That means you can let the theme’s default row and column controls manage the layout for the page listings instead of writing tedious responsive CSS rule stacks just for Store Locator Plus.

Even better – you can set these CSS classes with [slp_pages] attributes.

Like our recent location editor update, this is one more step on our journey toward moving Store Locator Plus toward modern web design standards.

We’re already using this on a couple of projects and think you’ll like the new implementation.

 

Map attributes have been extended in 4.9.7

map attributes - a global map with markers

Store Locator Plus 4.9.7 “map attributes” update was released today for our WordPress users. The update is still in testing for MySLP users — some of the patches in this release are a direct result of the testing before integrating into our managed service. The updated release will be on the MySLP platform soon but will have limited impact on those users.

More shortcode map attributes for WordPress users

The [slplus] processor in the core plugin has been updated to allow more map attributes to be set.  This update allows ALL options that have been migrated to the new Smart Options architecture (80% of all SLP settings at this point) to be used as an attribute. This greatly improves the ability to create custom maps on a per-page basis with settings that vary from the general “system wide” settings that come from the Store Locator Plus > Settings tab.

You can find the current list of supported attributes here:
https://docs.storelocatorplus.com/blog/slplus-shortcode-options/