Categories is available in the Power WordPress plugin or Professional level or higher in the (My)SLP Software as a service (SaaS) service.
Tables and Category Data System
Table
There are components of the Power Add-on that use the built-in WordPress category system involving several tables. When moving sites over or combining sites, whether it be from a staging site, or an older site to a live site , getting the data in wp_slp_tagalong to match up with a pre-existing site that has pre-existing category data (taxonomies) will be a chore.
For example,
Under a Current site , there may have been an assigned Category “A” ID # 3 at the time the category was created in the taxonomy table but Live may already be using that ID, therefore when you create a Category “A” it may be assigned ID #19.
In order to “just move tagalong /categories over” you would need to edit every entry in the “wp_slp_tagalong” table and change ID # 3 to ID #19. To do so, you need to first let WordPress create all of the categories (you could do this with a category-only import) second look up all the ID numbers of the assigned categories, third edit the wp_slp_tagalong exported data from Current to change all of the ID numbers from the “old” WordPress site to be the ID# assigned on the “new (Live)” WordPress site. If you only have 2 or 3 categories it may not be a chore but it can get out-of-hand very quickly. If you make any editing mistakes you will have various issues.
WordPress table descriptions can be found under the WordPress Codex page Database Descriptions
The two tables that would be employed by WordPress when creating or maintaining a category:
wp_terms = the category information itself
wp_term_taxonomy = the metadata that tells WordPress about different category groupings, in other words “this category is for posts”, “this category is for Store Locator Plus locations”, “this category is for videos”, etc. You will not need to export/import this but you WILL need to know what the old (Current) system assigned as the SLP Locations taxonomy ID and what it is on the new WP system. When you export wp_terms from the old system you will need to edit that export and change the taxonomy ID from what it was on Current to what it is on Live.
Data fields to display in results
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 (Experience add-on) or if you are using the SLP SaaS Professional level Plan.
Q. How do I change this heading “Dealers and Contractors” in the template of the Above & Beyond NyloBoard Rev 04 style?
Tags and/or Categories
With the Power add-on or the SLP SaaS professional level plan or higher, there are options to tag a location or assign a category to a location or do both.
Tagging Locations
“Tagging” locations can be done one of two ways. The informal method is to use free-form tags that are setup via the Word Press Store Locator Plus Plug-in with the Power add on. Or the (My)SLP SaaS Professional level plan or higher The structured method is to use the Store Category Manager under the Categories tab (not available with the basic plug-in or Advance level plan)
Q: How can I make the location name clickable and redirect to the web-site?
You can change the results Layout with the Experience Add-on by using a combination of shortcodes and html. i.e. Example see Results Layout :
<a href=”[slp_location url]”[slp_location name]</a>
Use text
Force the data to be passed trough the HTML parser
Geocoding Errors
Google will return various error codes depending on the data format or request timing. The following table of errors and their meanings will help you determine what is going on when Google tries to lookup up your location coordinates. The most common issue is reaching your quota limits or missing your Google API Key.
Map Marker Tooltip
Map Marker Tooltip is a feature available to SLP Saas Enterprise level or WPSLP Premier Subscribers. The tooltip turns the map marker tool tips on and off. When on, the short name of the location appears when the the user hovers over the location marker.
The default setting is on.
Uncheck the box to turn off map marker tool tips.
Set map view
You can change the built-in Google map view to any that Google has to offer “hybrid, road map, satellite (aerial), terrain” The settings are under Store Locator Plus/ Settings/Map ,scroll down to the section under Appearance and use the drop down under Map Type to change and then save changes.
If you are on MYSLP you will see the StoreLocatorPlus panel in the left admin panel, select settings/map.
Google Map Style
The WPSLP Experience Add On and MySLP Professional support the Google Map Style rules. These rules let you control the “inner style” of the map itself. Pre-defined map rules allow you to set a variety of styles via the map settings on the SLP admin panel.
For MySLP go to Store Locator Plus > Settings > Map > Map Style
For WPSLP go to Store Locator Plus > Settings > Map > Map Style
The value of this entry is a Google Maps JSON style string. Some of our Plugin Styles in the Style Gallery will set this for you. You can also build your own with services like Map Style With Google.