The category button bar is a category selection interface available to WordPress Premier and MySLP Enterprise subscribers. This feature is enabled under the Store Locator Plus menu 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 Settings/View /Gallery CSS is configured to appear when you have an active Premier or Enterprise subscription.
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.
Shown is the button bar using the Bennet Gallery plugin style on a modified version of Exists theme deployed on the Bennet Trim Tabs site. This video is on our development servers.
We need to filter our locations by brand. Does your plugin or an extension to your plugin have this feature?
Assigning Brands To Locations
Power add-on for WPSLP (DIY) or the Professional level plan (or higher) for MySLP is the right choice for doing that. Either allows for simple categories or parent/child relationships between categories. Locations can be assigned to one or more categories. Your users can then search for locations based on those categories.
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.
If you have the Poweradd on for WordPress or the Power / Professional / Enterprise level for MySLP you will see a header tab in your Store Locator Plus menu labeled Categories. This is where you can establish and manage settings and determine the categories you want to add within the form section of the user interface.
With the Power add-on there are options to tag a location or assign a category to a location or do both.
“Tagging” locations can be done one of two ways. The informal method is to use free-form tags that are setup via the Power add on. The structured method is to use the Category Manager under the Categories tab which you will see when you have the Power Add-on Installed.
Can the stores be categorized by more than one taxonomy? Not multiple tags in a single taxonomy, but multiple tags from multiple taxonomies?
A: Stores only have one categorization class – the store page taxonomy. However, WordPress Taxonomies are hierarchical. Therefore, you are able to assign all the attributes you need to your locations and use the parents of the branches to drive the user experience. The Power add-on has several UX components such as “drill down” menus that allow users to select a specific category by selecting a parent first then a child.
Store and Category Manager interface is available if you have the Power Add-on installed (for WPSLP users) or have the MYSLP Professional level or higher. You will see a tab “Categories” in your Store Locator Plus User Interface.
Once you open the Category Tab you can begin to add categories and slugs. Set Markers and Icons per category (optional) if you want those to appear in place of map markers. A Bulk action drop down to delete some or all categories is also available.
You can choose to show the categories that you have created in a drop down menu as part of the search form. There are additional category selector options available for WPSLP premier subscribers or MYSLP Enterprise subscribers (example see Checkbox selector). You can add text as a label that will display at the top of the categories drop down menu, or you can leave blank. You can also add text for the category select box that will appear in front of the category drop down on the user interface.
Hide Empty Categories Setting
For WPSLP Power add-on users . Do NOT turn this on unless you have Pages enabled.