A. Category ranking is a feature when you are using the Power Add-on and 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.
There are components of the Power Add-on that use the built-in WordPress category system involving several tables. The Legacy add-on , Tagalong used this system. 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.
Under a Current site , there may have been an assigned (Tagalong) 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 (Tagalong) Category “A” it may be assigned ID #19.
In order to “just move tagalong 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 Tagalong 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 / maintaining a (Tagalong) 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.
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. You will see a tab “Categories” in your Store Locator Plus User Interface.
Note: if you do not have Power add-on activated, the basic set up and tab/ panel is seen as Tagalong. Tagalong is a Legacy add-on that has now been included in Power Add-on for future Store Locator Plus versions published after June 2016
You can choose to show the categories that you have created in a drop down menu as part of the search form. 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 hat will appear in front of the category drop down on the user interface.
Hide Empty Categories Setting
Do NOT turn this on unless you have Pages enabled.
The ability to categorize your locations using the WordPress category (taxonomy) system. The Categories Manager (Formerly known as Tagalong) is now part of the Power Add-on and it builds on the Store Locator Plus store_page taxonomy that is also used with the Pages portion of the Power Add-on. Build a “simple flat list” of categories or a hierarchical (parent/child) category structure. Once you’ve categorized locations you will find other added benefits on the user interface.