Google has rolled out a new Map ID feature allowing customers to tie an ID with specific styling and features. This includes the new advanced marker feature, which will eventually replace the current marker functionality. For example, you may have noticed the following browser console warning that provides a deprecation date of at least 12… Continue reading »
Category: Tutorials
Reviewing Publicly Accessible Google API Key alert emails
Google has potentially been stepping up notifications about Google API keys that are unrestricted in recent months. Cardinal support has received a few tickets about this and it made sense to add a post about these email notifications and what to do if and when you receive one. Do pay attention to these emails, which… Continue reading »
WooCommerce integration details
The release of Cardinal Store Locator version 1.6.0 introduced WooCommerce integration functionality. Additional e-commerce platform support may be added in the future but it made the most sense to start with WooCommerce, which has a healthy market share and has been owned by Automattic since 2015. The primary initial integration features include: Connecting products to… Continue reading »
Using the new WP-CLI command to import location data from a CSV file
In version 1.5.0 of Cardinal Store Locator new import functionality is available via a custom WP-CLI command. At this point the import functionality is somewhat basic but additional features will be added in the future to support more file types and options. Two new filters are available specific to importing: bh_sl_import_file_args: Allows you to change… Continue reading »
Setting up front-end filters with alternate location data sources
One scenario that comes up on occasion in support is the request to set up front-end filters when using an alternative location data source such as local or remote JSON, XML, or KML instead of using the default custom post type to manage location data. When using the default locations custom post type a Filter… Continue reading »
Styling the CardinalWP demo page locator
Since launching the Cardinal Store Locator plugin over a year ago several support requests have been submitted asking how to achieve a look similar to the one at the top of the CardinalWP.com demo page. The default color scheme of the locator makes use of blue colors and the location form fields display above the… Continue reading »
Using location data from one site with a Multisite install
If you’re wanting to use location data from one site on a WordPress Multisite install on other sites within the network you can make use of the before and after location query hooks. This scenario also only requires a single site license of the plugin. The following code example could be placed in you’re theme’s… Continue reading »
Sorting initial location results alphabetically
There have been a few support requests related to sorting the initial locations that display within the locator alphabetically so it makes sense to have a tutorial post about it. When using the full map start or default location setting along with the default or other custom post type, the initial display of locations on… Continue reading »